Skip to content

Commit

Permalink
Merge pull request #75 from TDJorgensen/master
Browse files Browse the repository at this point in the history
deprecate summary(std.nox=) argument
  • Loading branch information
ecmerkle authored Apr 4, 2024
2 parents 5ee7510 + 9abbc03 commit c0bf3a9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions R/blav_object_methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function(object, header = TRUE,
ci = TRUE,
standardized = FALSE,
rsquare = FALSE,
std.nox = FALSE,
std.nox = FALSE, #TODO: remove deprecated argument in early 2025
psrf = TRUE,
neff = FALSE,
postmedian = FALSE,
Expand All @@ -79,7 +79,7 @@ function(object, header = TRUE,
bf = FALSE,
nd = 3L) {

if(std.nox) standardized <- TRUE
#TODO: remove (deprecated): if(std.nox) standardized <- TRUE

# print the 'short' summary
if(header) {
Expand Down Expand Up @@ -122,9 +122,10 @@ function(object, header = TRUE,

if(!("group" %in% names(PE))) PE$group <- 1
if(!("level" %in% names(PE))) PE$level <- "within"
if(standardized && std.nox) {
PE$std.all <- PE$std.nox
}
#TODO: remove deprecated argument in early 2025
# if(standardized && std.nox) {
# PE$std.all <- PE$std.nox
# }
PE$group[PE$group == 0] <- 1

if("target" %in% names(object@call)){
Expand Down

0 comments on commit c0bf3a9

Please sign in to comment.