data.frame.phase.group: Create group data for phase

View source: R/data_phase.R

data.frame.phase.groupR Documentation

Create group data for phase

Description

Provide the data.frame for group data.

Usage

data.frame.phase.group(counts, breaks, intervals, instants)

Arguments

counts

A vector of the number of samples

breaks

A vector of break points

intervals

A vector of differences of time

instants

A vector meaning whether a sample is observed at the end of break.

Value

A dataframe

Examples

dat <- data.frame.phase.group(counts=c(1,2,1,1,0,0,1,4))
print(dat)
mean(dat)


mapfit documentation built on Nov. 22, 2022, 5:05 p.m.