return_longitudinal_summary: Function to get the longitudinal summary mean and sd

Description Usage Arguments Value Examples

View source: R/IPDFileCheck.R

Description

Function to get the longitudinal summary mean and sd

Usage

1
return_longitudinal_summary(thedata, columnnames, nrcode = NA)

Arguments

thedata

a data frame

columnnames

column names of the data that are some observations at some time points

nrcode

the non response code in the data

Value

returns the effect sizes

Examples

1
2
3
4
5
test_data <- as.data.frame(cbind(c(1,2,3,4,5), c(20,40,60,80,100),
c("F", "F", "M", "M", "F")))
colnames(test_data) <- c("no", "marks", "gender")
test_data$marks <- as.numeric(test_data$marks)
results <- return_longitudinal_summary(test_data, "marks", NA)

IPDFileCheck documentation built on Feb. 1, 2022, 9:07 a.m.