| inner_perc_table_R | R Documentation |
inner_perc_table_R() Calculates the inner group percentage for each fixed
effect variable.
inner_perc_table_R(X, grps, p = NULL, Q = NULL)
X |
Matrix or data frame from lme object |
grps |
Matrix or data frame where each column is a grouping variable |
p |
If |
Q |
If |
Translated inner_perc_table() from nlme's nlmefit.c file (https://github.com/cran/nlme/blob/master/src/nlmefit.c)
Code translation assistance provided by Anthropic's Claude 3.5 Sonnet (2024 version) on December 17, 2024.
A matrix of inner group proportions.
library(lme4)
data(sleepstudy)
# When used in model_diagram() group labels ("grps") should be unique
inner_perc_table_R(sleepstudy[,c("Reaction","Days")],
as.data.frame(sleepstudy[,"Subject"]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.