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) 


Search within the deltaGseg package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.