calcDist: Calculate distribution of patterns in data.

Description Usage Arguments Examples

View source: R/calcDist.R

Description

This function calculates the distribution of patterns given in seqVec in the data, made to be used with (mc)lapply in findDist.

Usage

1
calcDist(i, x, freq, depth, seqVec, nmin = 1, lik = F)

Arguments

i

Index, to choose right period.

x

Data, 3d array

freq

Length of the periods

depth

depth argument supplied to pstree-function

seqVec

Vector of sequences to look for

nmin

Argument passed to pstree

lik

Argument passed to pstree

Examples

1

NorskRegnesentral/climModelEval documentation built on Jan. 16, 2020, 12:49 a.m.