-
Notifications
You must be signed in to change notification settings - Fork 21
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
Example code in vignette gives short_group warning that appears incorrect #224
Comments
The code that generates the warning is in ptd_add_short_group_warnings.R:
As 12 < 13, the warning is being triggered by groups where n = 12. Either the fallback value here needs to be set to 12, or the warning needs to say that:
or (more accurately, given the code above):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As seen in
deviations.Rmd
.Each group has 12 points as can be seen in the output from
summary()
below.However the warning message still appears, suggesting that "some groups have... < 12 observations".
reprex:
Created on 2024-08-08 with reprex v2.1.1
Should the warning say
<= 12
or is it being incorrectly triggered?The text was updated successfully, but these errors were encountered: