pamlgzlm.RdPower analysis for generalized linear models using eta-squared or R-squared effect-size parameterizations.
pamlgzlm(
aim = "n",
mode = "eta",
es = 0.2,
df_model = 1,
power = 0.9,
n = 20,
sig.level = 0.05,
alternative = "two.sided",
plot_contour = FALSE,
plot_escurve = FALSE,
plot_ncurve = FALSE,
plot_log = FALSE,
plot_palette = "viridis",
covs = 0,
factors = 0,
factors_list = list(list(var = "factor 1", levels = 0)),
covs_order = "main",
factors_order = "main",
mixed_order = "none",
plot_x = "none",
plot_y = "none",
plot_custom_labels = FALSE,
plot_z = "none",
plot_x_from = 0,
plot_x_to = 0,
plot_z_lines = 0,
plot_z_value = list(),
plot_to_table = FALSE,
data = NULL
)The aim of the analysis: n, power, or es.
Effect size parameterization: "eta" or "r2".
Expected effect size.
Model degrees of freedom.
Minimal desired power.
Sample size.
Type I error rate.
Test direction: "two.sided" or "one.sided".
Logical plot toggles.
Logical; use a log scale where supported.
Color palette used for plots.
Model-definition inputs used to compute model degrees of freedom.
Custom power plot options.
Optional data frame. Present for interface consistency.
A results object.