glca

An R Package for Multiple-Group Latent Class Analysis

https://github.com/kim0sun/glca

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.6%) to scientific vocabulary

Keywords

cran latent-class-analysis multilevel-models r r-package
Last synced: 9 months ago · JSON representation

Repository

An R Package for Multiple-Group Latent Class Analysis

Basic Info
Statistics
  • Stars: 10
  • Watchers: 2
  • Forks: 2
  • Open Issues: 4
  • Releases: 0
Topics
cran latent-class-analysis multilevel-models r r-package
Created over 6 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>", 
  fig.path = "figures/README-",
  out.width = "49%"
)
```

# `glca`: An **R** Package for Multiple-Group Latent Class Analysis 

[![CRAN status](https://www.r-pkg.org/badges/version/glca)](https://CRAN.R-project.org/package=glca)
[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/glca?color=blue)](https://r-pkg.org/pkg/glca)
[![R-CMD-check](https://github.com/kim0sun/glca/workflows/R-CMD-check/badge.svg)](https://github.com/kim0sun/glca/actions)


Fits multiple-group latent class analysis (LCA) for exploring differences between populations in the data with a multilevel structure. There are two approaches to reflect group differences in glca: fixed-effect LCA (Bandeen-Roche et al, 1997 ; Clogg and Goodman, 1985 ) and nonparametric random-effect LCA (Vermunt, 2003 ).
   
## Introduction

Latent class analysis (LCA) is one of the most popular discrete mixture models for classifying individuals based on their responses to multiple manifest items. When there are existing subgroups in the data representing different populations, researchers are often interested in comparing certain aspects of latent class structure across these groups in LCA approach. In multiple-group LCA models, individuals are dependent owing to multilevel data structure, where observation units (i.e., individuals) are nested within a higher-level unit (i.e., group). This paper describes the implementation of multiple-group LCA in the **R** package `glca` for exploring differences in latent class structure between populations, taking multilevel data structure into account. The package `glca` deals with the fixed effect LCA and the random effect LCA; the former can be applied in the situation where populations are segmented by the observed group variable itself, whereas the latter can be used when there are too many levels in the group variable to make a meaningful group comparisons. 


## Installation
You can install the released version of glca from [CRAN](https://CRAN.R-project.org) with:

``` {r, eval = FALSE}
install.packages("glca")
```

And the development version from [GitHub](https://github.com/) with:

``` {r, eval = FALSE}
# install.packages("devtools")
devtools::install_github("kim0sun/glca")
```


Owner

  • Name: Youngsun Kim
  • Login: kim0sun
  • Kind: user
  • Location: Seoul, Korea

latent variable, finite mixture, topic models

GitHub Events

Total
  • Issues event: 4
  • Issue comment event: 5
Last Year
  • Issues event: 4
  • Issue comment event: 5

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 297
  • Total Committers: 3
  • Avg Commits per committer: 99.0
  • Development Distribution Score (DDS): 0.017
Past Year
  • Commits: 12
  • Committers: 1
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
kim0sun k****n@k****r 292
kim0sun 3****n 3
Youngsun Kim y****m@H****l 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: over 2 years ago

All Time
  • Total issues: 15
  • Total pull requests: 0
  • Average time to close issues: 3 months
  • Average time to close pull requests: N/A
  • Total issue authors: 12
  • Total pull request authors: 0
  • Average comments per issue: 2.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 5
  • Pull requests: 0
  • Average time to close issues: 3 months
  • Average time to close pull requests: N/A
  • Issue authors: 4
  • Pull request authors: 0
  • Average comments per issue: 1.2
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ghost (3)
  • tbmpereira (2)
  • thorpej21 (1)
  • Crismoc (1)
  • Wentemi (1)
  • ruser1234 (1)
  • mikgoo (1)
  • AGSCL (1)
  • Barryacoughlan (1)
  • VLounek (1)
  • Chuyueying (1)
  • andersbacklund (1)
  • theoharisk18 (1)
  • sam-crawley (1)
  • AlexGareau (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 390 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 2
  • Total versions: 12
  • Total maintainers: 1
cran.r-project.org: glca

An R Package for Multiple-Group Latent Class Analysis

  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 390 Last month
Rankings
Stargazers count: 18.3%
Dependent repos count: 19.3%
Forks count: 21.0%
Average: 23.7%
Dependent packages count: 28.8%
Downloads: 31.2%
Maintainers (1)
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • MASS * imports
  • Rcpp * imports
  • grDevices * imports
  • graphics * imports
  • bookdown * suggests
  • knitr * suggests
  • rmarkdown * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/check-r-package v1 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite