reformat: This function changes the format of the longitudinal data...

View source: R/reformat.R

reformatR Documentation

This function changes the format of the longitudinal data from wide format to long format

Description

This function changes the format of the longitudinal data from wide format to long format

Usage

reformat(k, y, x)

Arguments

k

the number of repeated measurement.

y

the longitudinal response.

x

a matrix of predictors, consisting of omics and environment factors, as well as their interactions. In the case study, the omics measurements are lipidomics data.


interep documentation built on Sept. 8, 2023, 6:21 p.m.