cocoreg_by_path: Compute D_joint for dataset i separately for all paths Can be...

Description Usage Arguments Value Examples

View source: R/cocoreg.R

Description

Compute D_joint for dataset i separately for all paths Can be used to study path variability

Usage

1
cocoreg_by_path(data_orig, ccr, ds_ind)

Arguments

data_orig

list of data.frames, Original data collection

ccr

list, output of cocoreg(data_orig)

ds_ind

integer, index of the dataset to process

Value

A list of data.frames, D_joint corresponding to each path that ends at 'ds_ind' i.e. paths defined by ccr$paths[,ds_ind]. Dimensions of the matrices are the same as for the data.frames in data_orig.

Examples

1
2
3
4
5
## Not run: 
ccr <- cocoreg(data_list)
jibp <- cocoreg_by_path(ccr, 1)

## End(Not run)

cocoreg documentation built on May 2, 2019, 6:48 a.m.