{
  "_id": "6a10389bacfb0bcc41c9ab26",
  "Package": "cfda",
  "Type": "Package",
  "Title": "Categorical Functional Data Analysis",
  "Version": "0.12.1",
  "Date": "2025-01-24",
  "Authors@R": "c(person(\"Cristian\", \"Preda\", role = \"aut\", email = \"cristian.preda@inria.fr\"),\nperson(\"Quentin\", \"Grimonprez\", role = c(\"aut\", \"cre\"), email = \"quentingrim@yahoo.fr\"),\nperson(\"Vincent\", \"Vandewalle\", role = \"ctb\", email = \"vincent.vandewalle@inria.fr\"))",
  "Copyright": "Inria - Université de Lille",
  "Description": "Package for the analysis of categorical functional data.\nThe main purpose is to compute an encoding (real functional\nvariable) for each state <doi:10.3390/math9233074>. It also\nprovides functions to perform basic statistical analysis on\ncategorical functional data.",
  "BugReports": "https://github.com/modal-inria/cfda/issues",
  "License": "AGPL-3",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "URL": "https://modal-inria.github.io/cfda/",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://modal-inria.r-universe.dev",
  "Date/Publication": "2025-01-28 09:05:32 UTC",
  "RemoteUrl": "https://github.com/modal-inria/cfda",
  "RemoteRef": "HEAD",
  "RemoteSha": "1583317f3593e51b4d07bc1ca3ac06c1e3a8506b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 05:55:31 UTC",
    "User": "root"
  },
  "Author": "Cristian Preda [aut],\nQuentin Grimonprez [aut, cre],\nVincent Vandewalle [ctb]",
  "Maintainer": "Quentin Grimonprez <quentingrim@yahoo.fr>",
  "MD5sum": "c5042c105834d8dd88c0c8e2b6cef37a",
  "_user": "modal-inria",
  "_type": "src",
  "_file": "cfda_0.12.1.tar.gz",
  "_fileid": "f5fba48bacba1374b79e7a9276b049f9822feae6aef65176fd4bc775e09c0638",
  "_filesize": 1278365,
  "_sha256": "f5fba48bacba1374b79e7a9276b049f9822feae6aef65176fd4bc775e09c0638",
  "_created": "2026-05-12T05:55:31.000Z",
  "_published": "2026-05-22T11:06:03.654Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77367152261,
      "time": 237,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6936775901"
    },
    {
      "job": 77367151825,
      "time": 221,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936772808"
    },
    {
      "job": 77367151662,
      "time": 218,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6936766066"
    },
    {
      "job": 77367151958,
      "time": 267,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936774056"
    },
    {
      "job": 77367151629,
      "time": 260,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936724682"
    },
    {
      "job": 77367151419,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158992264"
    },
    {
      "job": 77367151740,
      "time": 158,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6936759099"
    },
    {
      "job": 77367151781,
      "time": 240,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6936776781"
    },
    {
      "job": 77367151922,
      "time": 233,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936775177"
    }
  ],
  "_buildurl": "https://github.com/r-universe/modal-inria/actions/runs/25716151066",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/modal-inria/cfda",
  "_commit": {
    "id": "1583317f3593e51b4d07bc1ca3ac06c1e3a8506b",
    "author": "Quentin Grimonprez <qgrimonprez@diagrams-technologies.com>",
    "committer": "Quentin Grimonprez <quentingrim@yahoo.fr>",
    "message": "chores: v0.12.1\n",
    "time": 1738055132
  },
  "_maintainer": {
    "name": "Quentin Grimonprez",
    "email": "quentingrim@yahoo.fr",
    "login": "quentin62",
    "linkedin": "in/quentin-grimonprez-b7b84b121",
    "uuid": 19777553
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "fda",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "msm",
      "role": "Imports"
    },
    {
      "package": "diagram",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "modal-inria",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "categorical-data",
    "functional-data-analysis",
    "hacktoberfest"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "quentin62",
      "count": 390,
      "uuid": 19777553
    }
  ],
  "_userbio": {
    "uuid": 53075272,
    "type": "organization",
    "name": "Modal team - Inria Lille-Nord Europe"
  },
  "_downloads": {
    "count": 319,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cfda"
  },
  "_devurl": "https://github.com/modal-inria/cfda",
  "_pkgdown": "https://modal-inria.github.io/cfda/",
  "_searchresults": 26,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/cfda.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/modal-inria/cfda",
  "_realowner": "modal-inria",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.9.9",
      "date": "2021-02-12"
    },
    {
      "version": "0.9.10",
      "date": "2021-12-06"
    },
    {
      "version": "0.9.11",
      "date": "2021-12-07"
    },
    {
      "version": "0.9.12",
      "date": "2022-03-07"
    },
    {
      "version": "0.10.0",
      "date": "2022-07-19"
    },
    {
      "version": "0.10.1",
      "date": "2022-08-16"
    },
    {
      "version": "0.11.0",
      "date": "2023-10-07"
    },
    {
      "version": "0.12.0",
      "date": "2024-11-20"
    },
    {
      "version": "0.12.1",
      "date": "2025-01-24"
    }
  ],
  "_exports": [
    "compute_duration",
    "compute_number_jumps",
    "compute_optimal_encoding",
    "compute_time_spent",
    "convertToCfd",
    "cut_data",
    "estimate_Markov",
    "estimate_pt",
    "generate_2State",
    "generate_Markov",
    "get_encoding",
    "get_state",
    "matrixToCfd",
    "plotComponent",
    "plotData",
    "plotEigenvalues",
    "plotIndicatorsReconstruction",
    "reconstructIndicators",
    "remove_duplicated_states",
    "statetable",
    "summary_cfd"
  ],
  "_datasets": [
    {
      "name": "biofam2",
      "title": "Family life states from the Swiss Household Panel biographical survey",
      "object": "biofam2",
      "file": "biofam2.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "time",
        "state"
      ],
      "rows": 6965,
      "table": true,
      "tojson": true
    },
    {
      "name": "care",
      "title": "Care trajectories",
      "object": "care",
      "file": "care.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "time",
        "state"
      ],
      "rows": 10017,
      "table": true,
      "tojson": true
    },
    {
      "name": "flours",
      "title": "Flours dataset",
      "object": "flours",
      "file": "flours.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "biofam2",
      "title": "Family life states from the Swiss Household Panel biographical survey",
      "concept": [
        "datasets"
      ],
      "topics": [
        "biofam2"
      ]
    },
    {
      "page": "boxplot.timeSpent",
      "title": "Boxplot of time spent in each state",
      "concept": [
        "Descriptive statistics"
      ],
      "topics": [
        "boxplot.timeSpent"
      ]
    },
    {
      "page": "care",
      "title": "Care trajectories",
      "concept": [
        "datasets"
      ],
      "topics": [
        "care"
      ]
    },
    {
      "page": "compute_duration",
      "title": "Compute duration of individuals",
      "concept": [
        "Descriptive statistics"
      ],
      "topics": [
        "compute_duration"
      ]
    },
    {
      "page": "compute_number_jumps",
      "title": "Compute the number of jumps",
      "concept": [
        "Descriptive statistics"
      ],
      "topics": [
        "compute_number_jumps"
      ]
    },
    {
      "page": "compute_optimal_encoding",
      "title": "Compute the optimal encoding for each state",
      "concept": [
        "encoding functions"
      ],
      "topics": [
        "compute_optimal_encoding"
      ]
    },
    {
      "page": "compute_time_spent",
      "title": "Compute time spent in each state",
      "concept": [
        "Descriptive statistics"
      ],
      "topics": [
        "compute_time_spent"
      ]
    },
    {
      "page": "convertToCfd",
      "title": "Convert data to categorical functional data",
      "concept": [
        "format"
      ],
      "topics": [
        "convertToCfd"
      ]
    },
    {
      "page": "cut_data",
      "title": "Cut data to a maximal given time",
      "concept": [
        "format"
      ],
      "topics": [
        "cut_data"
      ]
    },
    {
      "page": "estimate_Markov",
      "title": "Estimate transition matrix and spent time",
      "topics": [
        "estimate_Markov"
      ]
    },
    {
      "page": "estimate_pt",
      "title": "Estimate probabilities to be in each state",
      "concept": [
        "Descriptive statistics"
      ],
      "topics": [
        "estimate_pt"
      ]
    },
    {
      "page": "flours",
      "title": "Flours dataset",
      "concept": [
        "datasets"
      ],
      "topics": [
        "flours"
      ]
    },
    {
      "page": "generate_2State",
      "title": "Generate data following a 2 states model",
      "topics": [
        "generate_2State"
      ]
    },
    {
      "page": "generate_Markov",
      "title": "Generate Markov Trajectories",
      "topics": [
        "generate_Markov"
      ]
    },
    {
      "page": "get_encoding",
      "title": "Extract the computed encoding",
      "concept": [
        "encoding functions"
      ],
      "topics": [
        "get_encoding"
      ]
    },
    {
      "page": "get_state",
      "title": "Extract the state of each individual at a given time",
      "topics": [
        "get_state"
      ]
    },
    {
      "page": "hist.duration",
      "title": "Plot the duration",
      "concept": [
        "Descriptive statistics"
      ],
      "topics": [
        "hist.duration"
      ]
    },
    {
      "page": "hist.njump",
      "title": "Plot the number of jumps",
      "concept": [
        "Descriptive statistics"
      ],
      "topics": [
        "hist.njump"
      ]
    },
    {
      "page": "matrixToCfd",
      "title": "Convert a matrix to a cfda data.frame",
      "concept": [
        "format"
      ],
      "topics": [
        "matrixToCfd"
      ]
    },
    {
      "page": "plot.fmca",
      "title": "Plot the optimal encoding",
      "concept": [
        "encoding functions"
      ],
      "topics": [
        "plot.fmca"
      ]
    },
    {
      "page": "plot.Markov",
      "title": "Plot the transition graph",
      "topics": [
        "plot.Markov"
      ]
    },
    {
      "page": "plot.pt",
      "title": "Plot probabilities",
      "concept": [
        "Descriptive statistics"
      ],
      "topics": [
        "plot.pt"
      ]
    },
    {
      "page": "plotComponent",
      "title": "Plot Components",
      "concept": [
        "encoding functions"
      ],
      "topics": [
        "plotComponent"
      ]
    },
    {
      "page": "plotData",
      "title": "Plot categorical functional data",
      "concept": [
        "Descriptive statistics"
      ],
      "topics": [
        "plotData"
      ]
    },
    {
      "page": "plotEigenvalues",
      "title": "Plot Eigenvalues",
      "concept": [
        "encoding functions"
      ],
      "topics": [
        "plotEigenvalues"
      ]
    },
    {
      "page": "plotIndicatorsReconstruction",
      "title": "Plot reconstructed indicators",
      "topics": [
        "plotIndicatorsReconstruction"
      ]
    },
    {
      "page": "predict.fmca",
      "title": "Predict the principal components for new trajectories",
      "concept": [
        "encoding functions"
      ],
      "topics": [
        "predict.fmca"
      ]
    },
    {
      "page": "print.fmca",
      "title": "Print a 'fmca' object",
      "concept": [
        "encoding functions"
      ],
      "topics": [
        "print.fmca"
      ]
    },
    {
      "page": "reconstructIndicators",
      "title": "Reconstruct the indicators using encoding",
      "topics": [
        "reconstructIndicators"
      ]
    },
    {
      "page": "remove_duplicated_states",
      "title": "Remove duplicated states",
      "concept": [
        "format"
      ],
      "topics": [
        "remove_duplicated_states"
      ]
    },
    {
      "page": "statetable",
      "title": "Table of transitions",
      "concept": [
        "Descriptive statistics"
      ],
      "topics": [
        "statetable"
      ]
    },
    {
      "page": "summary_cfd",
      "title": "Summary",
      "concept": [
        "Descriptive statistics"
      ],
      "topics": [
        "summary_cfd"
      ]
    },
    {
      "page": "summary.fmca",
      "title": "Object Summaries",
      "concept": [
        "encoding functions"
      ],
      "topics": [
        "summary.fmca"
      ]
    }
  ],
  "_readme": "https://github.com/modal-inria/cfda/raw/HEAD/README.md",
  "_rundeps": [
    "ash",
    "bitops",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "deSolve",
    "diagram",
    "dplyr",
    "expm",
    "farver",
    "fda",
    "fds",
    "FNN",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hdrcde",
    "isoband",
    "kernlab",
    "KernSmooth",
    "ks",
    "labeling",
    "lattice",
    "lifecycle",
    "locfit",
    "magrittr",
    "MASS",
    "Matrix",
    "mclust",
    "mgcv",
    "msm",
    "multicool",
    "mvtnorm",
    "nlme",
    "pbapply",
    "pcaPP",
    "pillar",
    "pkgconfig",
    "pracma",
    "purrr",
    "R6",
    "rainbow",
    "RColorBrewer",
    "Rcpp",
    "RCurl",
    "rlang",
    "S7",
    "scales",
    "shape",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "cfda.Rmd",
      "filename": "cfda.html",
      "title": "Categorical Functional Data Analysis",
      "author": "Cristian Preda, Quentin Grimonprez",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Dataset Simulation",
        "Basic statistics",
        "Time spent in each state over a period of length $T_{\\max}$:",
        "Number of jumps in $[0,T_{\\max}]$:",
        "Probabilities to be in some state $x$ at time $t$, $p_{x}(t)$:",
        "Transitions in $[0,T_{\\max}]$:",
        "Encoding",
        "Concept",
        "Mathematical Background",
        "Application",
        "Reconstruct indicators"
      ],
      "created": "2019-11-05 13:44:45",
      "modified": "2024-11-22 08:04:18",
      "commits": 26
    }
  ],
  "_score": 5.193124598354462,
  "_indexed": true,
  "_nocasepkg": "cfda",
  "_universes": [
    "modal-inria",
    "quentin62"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.12.1",
      "date": "2026-05-12T05:58:04.000Z",
      "distro": "noble",
      "commit": "1583317f3593e51b4d07bc1ca3ac06c1e3a8506b",
      "fileid": "abc7496860ff3fd3655f8eb0b395189be7bba9c6c11c1f03e9fcde140b7c77f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modal-inria/actions/runs/25716151066"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.12.1",
      "date": "2026-05-12T05:57:54.000Z",
      "distro": "noble",
      "commit": "1583317f3593e51b4d07bc1ca3ac06c1e3a8506b",
      "fileid": "5edfa439d618ef5c2811721df5512fe57750f8f914bd0329036b73199ef7f10f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modal-inria/actions/runs/25716151066"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.12.1",
      "date": "2026-05-12T05:57:54.000Z",
      "commit": "1583317f3593e51b4d07bc1ca3ac06c1e3a8506b",
      "fileid": "5775493dc2103abb0b04c736ea4b5c7e89110be28c724c9851878595e0e9d28f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modal-inria/actions/runs/25716151066"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.12.1",
      "date": "2026-05-12T05:58:06.000Z",
      "commit": "1583317f3593e51b4d07bc1ca3ac06c1e3a8506b",
      "fileid": "0cebc01a4595bfa6dc39b6da32a69588091618e78c1d6792df0f4a5ff8d0b2dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modal-inria/actions/runs/25716151066"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.12.1",
      "date": "2026-05-12T05:56:57.000Z",
      "commit": "1583317f3593e51b4d07bc1ca3ac06c1e3a8506b",
      "fileid": "0a510e448f3c9a1e85f359549313d75401bb2db85ed24feb9b593247a5205a88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modal-inria/actions/runs/25716151066"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.12.1",
      "date": "2026-05-12T05:58:20.000Z",
      "commit": "1583317f3593e51b4d07bc1ca3ac06c1e3a8506b",
      "fileid": "043dcdb7245df5e9934606a70e528610a9bc55bbf30805fdab087f23e0bf9192",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modal-inria/actions/runs/25716151066"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.12.1",
      "date": "2026-05-12T05:56:51.000Z",
      "commit": "1583317f3593e51b4d07bc1ca3ac06c1e3a8506b",
      "fileid": "dd668a1b17dff23eb573eb211cae5bfe6557ec4b8efb032111b516324e66b49a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modal-inria/actions/runs/25716151066"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.12.1",
      "date": "2026-05-22T11:05:33.000Z",
      "commit": "1583317f3593e51b4d07bc1ca3ac06c1e3a8506b",
      "fileid": "8f8e6755f9e20f2ba7e22c7c74f8f4c3370a6deb40dcedda6c3f5b688a40a284",
      "status": "success",
      "buildurl": "https://github.com/r-universe/modal-inria/actions/runs/25716151066"
    }
  ]
}