50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

cfda (version 0.12.1)

summary_cfd: Summary

Description

Get a summary of the data.frame containing categorical functional data

Usage

summary_cfd(data, max.print = 10)

Value

a list containing:

  • nRow number of rows

  • nInd number of individuals

  • timeRange minimal and maximal time value

  • uniqueStart TRUE, if all individuals have the same time start value

  • uniqueEnd TRUE, if all individuals have the same time start value

  • states vector containing the different states

  • visit number of individuals visiting each state

Arguments

data

data.frame containing id, id of the trajectory, time, time at which a change occurs and state, associated state.

max.print

maximal number of states to display

Author

Quentin Grimonprez

See Also

Other Descriptive statistics: boxplot.timeSpent(), compute_duration(), compute_number_jumps(), compute_time_spent(), estimate_pt(), hist.duration(), hist.njump(), plot.pt(), plotData(), statetable()

Examples

Run this code
data(biofam2)
summary_cfd(biofam2)

Run the code above in your browser using DataLab