stretchPhd: Convert data frame from phd sample to long format.

Description Usage Arguments Examples

Description

Convert data frame from phd sample to long format.

Usage

1

Arguments

x

Data frame from phd sample.

demo

Matching demographics data frame from phd sample. If NULL, no demographics will be added.

Examples

1
2
3
4
5
6
x <- phd[[1]]$EA
head(stretchPhd(x))
x <- compute(x)
head(stretchPhd(x))
d <- phd[[1]]$demo
head(stretchPhd(x, d))

drsimonj/jacksonphd documentation built on May 15, 2019, 2:52 p.m.