stratifiedSeqSample: Creates a stratified sample of sequences.

Description Usage Arguments Details

Description

Whenever there are too many sequences, difficulties may arise when the distance matrix is being calculated. The problem is described in more detail: http://stackoverflow.com/questions/15929936/problem-with-big-data-during-computation-of-sequence-distances-using-tramine

Usage

1
stratifiedSeqSample(data.rshp, factor = 0.1)

Arguments

data.rshp
factor

The relative sample size (defaults to 0.1).

Details

Here, a stratified sub-sampling approach is follows. This ensures that sequence distribution is maintained.


cschieberle/lifeCourseExposureTrajectories documentation built on May 30, 2019, 4:02 p.m.