chooseBreaks {deltaGseg} | R Documentation |
This function automatically chooses a subset of breakpoints from all the estimated breakpoints of function splitTraj
chooseBreaks(breakpoints, numbreaks)
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. |
None.
Returns a numeric list of breakpoints, one list per trajectory.
Diana H.P. Low, Efthimios Motakis
data(deltaGseg) all_breakpoints<-splitTraj(traj1) #default splits=15 (i.e. 16 segments). all_breakpoints chooseBreaks(all_breakpoints,numbreaks=3)