Skip to content

julia-wrobel/fastGFPCA

Repository files navigation

fastGFPCA

fast generalized functional principal components analysis

  • Authors: Julia Wrobel, Ciprian Crainiceanu, Andrew Leroux
  • License: MIT. See the LICENSE file for details
  • Version: 0.9

Installation

You can install the development version of fastGFPCA from GitHub with:

# install.packages("devtools")
devtools::install_github("julia-wrobel/fastGFPCA")


# build vignette with installation
devtools::install_github("julia-wrobel/fastGFPCA", build_vignettes = TRUE)

Example

This example performs GFPCA on simulated binary data. More details on the use of the package can be found in the vignette.

library(fastGFPCA)

# simulate data
set.seed(10001)
df_gfpca <- sim_gfpca(N = 50, J = 500, case = 1)$df_gfpca

# run gfpca
bin_mod <- fast_gfpca(Y = df_gfpca, overlap = TRUE, binwidth = 20, npc = 4, family = "binomial")

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages