Learn R Programming

⚠️There's a newer version (0.12.1) of this package.Take me there.

cfda (version 0.11.0)

Categorical Functional Data Analysis

Description

Package for the analysis of categorical functional data. The main purpose is to compute an encoding (real functional variable) for each state . It also provides functions to perform basic statistical analysis on categorical functional data.

Copy Link

Version

Install

install.packages('cfda')

Monthly Downloads

284

Version

0.11.0

License

AGPL-3

Maintainer

Quentin Grimonprez

Last Published

October 7th, 2023

Functions in cfda (0.11.0)

get_state

Extract the state of each individual at a given time
hist.njump

Plot the number of jumps
matrixToCfd

Convert a matrix to a cfda data.frame
get_encoding

Extract the computed encoding
plot.Markov

Plot the transition graph
plot.fmca

Plot the optimal encoding
predict.fmca

Predict the principal components for new trajectories
print.fmca

Print a fmca object
plot.pt

Plot probabilities
plotComponent

Plot Components
plotEigenvalues

Plot Eigenvalues
plotData

Plot categorical functional data
summary_cfd

Summary
statetable

Table of transitions
summary.fmca

Object Summaries
remove_duplicated_states

Remove duplicated states
care

Care trajectories
compute_optimal_encoding

Compute the optimal encoding for each state
compute_time_spent

Compute time spent in each state
compute_number_jumps

Compute the number of jumps
boxplot.timeSpent

Boxplot of time spent in each state
compute_duration

Compute duration of individuals
convertToCfd

Convert data to categorical functional data
cut_data

Cut data to a maximal given time
estimate_Markov

Estimate transition matrix and spent time
estimate_pt

Estimate probabilities to be in each state
generate_2State

Generate data following a 2 states model
flours

Flours dataset
cfda-package

Categorical Functional Data Analysis
biofam2

Family life states from the Swiss Household Panel biographical survey
generate_Markov

Generate Markov Trajectories
hist.duration

Plot the duration