chooseBreaks: Choose a given number of breakpoints in a set of...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

This function automatically chooses a subset of breakpoints from all the estimated breakpoints of function splitTraj

Usage

1
chooseBreaks(breakpoints, numbreaks)

Arguments

breakpoints

Numeric list, output from splitTraj.

numbreaks

Integer. Number of breakpoints to be returned per trajectory. Breakpoints chosen will be evenly spaced from those defined by splitTraj.

Details

None.

Value

Returns a numeric list of breakpoints, one list per trajectory.

Author(s)

Diana H.P. Low, Efthimios Motakis

See Also

splitTraj

Examples

1
2
3
4
data(deltaGseg)
all_breakpoints<-splitTraj(traj1) #default splits=15 (i.e. 16 segments).
all_breakpoints
chooseBreaks(all_breakpoints,numbreaks=3) 

deltaGseg documentation built on Nov. 8, 2020, 8:06 p.m.