Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An issue with powerlmm - error message Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, : invalid value 0 for 'digits' argument #22

Open
yangyangpsi opened this issue Jul 18, 2022 · 1 comment

Comments

@yangyangpsi
Copy link

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!

@rpsychologist rpsychologist transferred this issue from rpsychologist/rpsychologist-com Oct 29, 2022
@chrislalk
Copy link

Got that same problem unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants