full_sample_size_function: Title: Convert MDC to standardised effects size and extract...

Description Usage Arguments Value

View source: R/full_sample_size_function.R

Description

NOTES: In the case of sudomotor, the one level will be designated via NHS Use the plot_and_sizes function to generate the sample sizes required and the plots for those data (i.e., power curves)

Usage

1
2
3
4
5
6
7
8
full_sample_size_function(
  df,
  NHS,
  LHS,
  MHS,
  HHS,
  SESOI = c(1, 3, 5, 10, 20, 25, 30)
)

Arguments

df

dataframe

NHS

string input taking form of "Y" or "N"

LHS

string input taking form of "Y" or "N"

MHS

string input taking form of "Y" or "N"

HHS

string input taking form of "Y" or "N"

SESOI

vector of numeric values defining the smallest effect size of interest (as %). Default is: 1, 3, 5, 10, 20, 25, 30%

Value

list of figures (1st minor index) followed by sample size requirements (2nd and 3rd index)


AshleyAkerman/mmReliability documentation built on Dec. 31, 2020, 9:51 a.m.