powered by
Provide the data.frame for group data.
data.frame.map.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.
t <- c(1,1,1,1,1) n <- c(1,3,0,0,1) dat <- data.frame.map.group(counts=n, intervals=t) mean(dat) print(dat)
Run the code above in your browser using DataLab