jmvpower: ANOVA power

Description Usage Arguments Value

View source: R/jmvpower.h.R

Description

ANOVA power

Usage

1
2
3
4
5
jmvpower(design = "2b*2w",
  labelnames = "AGE,old,young,SPEED,fast,slow", n = 80, sd = 1.03,
  r = 0.87, mu = "1.03, 1.21, 0.98, 1.01", plot = TRUE,
  simulate = FALSE, alpha_level = 0.05, nsims = 100,
  p_adjust = "holm")

Arguments

design

a string describing the design

labelnames

a comma separated string describing the factor and level labels

n

an integer specifying the sample size in each condition

sd

a number specifying the group standard deviations

r

a number specifying the correlation between dependent variables

mu

a comma separated string specifying the group means

plot

TRUE (default) or FALSE specifying whether to provide a means plot

simulate

TRUE or FALSE (default); perform the simulation

alpha_level

a number specifying the alpha level

nsims

an integer specifying the number of simulations to perform

p_adjust

the p-adjustment method to use

Value

A results object containing:

results$design$summary a table
results$design$matrix a table
results$design$plot an image
results$sims$results a table
results$sims$multi a table

Lakens/ANOVApower documentation built on Jan. 9, 2020, 5:32 p.m.