powerlmm R package for power calculations for two- and three-level longitudinal multilevel/linear mixed models.
100
stars
12
forks
source link
An issue with powerlmm - error message Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, : invalid value 0 for 'digits' argument #22
Hello,
I am new to the Powerlmm package and haven't used R for a while. I have tried to update all relevant packages. But when I tested the Powerlmm package with the example provided online, it kept giving me this error message
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, :
invalid value 0 for 'digits' argument
Here was what I tested:
library(powerlmm)
p <- study_parameters(n1 = 11,
n2 = 20,
icc_pre_subject = 0.5,
var_ratio = 0)
get_power(p)
Any feedback or guidance would be much appreciated!
Hello, I am new to the Powerlmm package and haven't used R for a while. I have tried to update all relevant packages. But when I tested the Powerlmm package with the example provided online, it kept giving me this error message Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, : invalid value 0 for 'digits' argument
Here was what I tested:
Any feedback or guidance would be much appreciated!