return_longitudinal_summary {IPDFileCheck}R Documentation

Function to get the longitudinal summary mean and sd

Description

Function to get the longitudinal summary mean and sd

Usage

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

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)

[Package IPDFileCheck version 0.8.1 Index]