make_long: Make up SES (household income) relationship with final height...

Description Usage Arguments Examples

Description

Takes wide format with individual covariates and makes it long while redoing the ids (original, oversampled ids retained as 'id', 'new.id' is unique) for a sensical melt. Names are hard coded, so stick to script in the examples.

Usage

1
make_long(data_in = NULL)

Arguments

data_in

an object returned from calculate_ses()

Examples

1
2
3
4
5
6
d<-prep_data()
head(d)
over_samp_mat<-sample_data(d,1000)
with_ses <- calculate_ses(over_samp_mat)
long <-make_long(with_ses)
head(long)

swihart/wfpca documentation built on May 30, 2019, 10:38 p.m.