I am using Jamovi to work on some variables of a data set from a excel file.
jmv::descriptives(
formula = country ~ `voted`,
data = bd,
bar = TRUE,
missing = FALSE,
mean = FALSE,
median = FALSE,
sd = FALSE,
min = FALSE,
max = FALSE)
When I import the code and try to execute the code to obtain the graphics, I have the following errors:
Warning messages:
1: In FUN(X[[i]], ...) : no non-missing arguments to max; returning -Inf
2: In mean.default(x, na.rm = TRUE) :
argument is not numeric or logical: returning NA
3: In mean.default(x, na.rm = TRUE) :
argument is not numeric or logical: returning NA
4: In mean.default(x, na.rm = TRUE) :
argument is not numeric or logical: returning NA
5: In var(if (is.vector(x) || is.factor(x)) x else as.double(x), na.rm = na.rm) :
NAs introduced by coercion
6: In var(if (is.vector(x) || is.factor(x)) x else as.double(x), na.rm = na.rm) :
NAs introduced by coercion
7: In var(if (is.vector(x) || is.factor(x)) x else as.double(x), na.rm = na.rm) :
NAs introduced by coercion
I am missing something?