powered by
Provide the data.frame for group data.
data.frame.phase.group(counts, breaks, intervals, instants)
A dataframe
A vector of the number of samples
A vector of break points
A vector of differences of time
A vector meaning whether a sample is observed at the end of break.
dat <- data.frame.phase.group(counts=c(1,2,1,1,0,0,1,4)) print(dat) mean(dat)
Run the code above in your browser using DataLab