check_sample_size {fixr} | R Documentation |
Check if sample size is adequate
Description
This function checks if the sample size of a data frame is adequate for statistical analysis.
Usage
check_sample_size(df)
Arguments
df |
A data frame to be checked |
Value
A message indicating if the sample size is adequate or too small
Examples
df <- data.frame(w = c(7, 8, 180, 7), x = c("a", "b", "c", "a"),
y = c(4, 5, -6, 4), z = c(7, 8, 18, 7))
check_sample_size(df)
[Package fixr version 0.1.0 Index]