prcr

R package for person-centered analysis

https://github.com/jrosen48/prcr

Science Score: 33.0%

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

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: wiley.com
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

R package for person-centered analysis

Basic Info
Statistics
  • Stars: 5
  • Watchers: 1
  • Forks: 2
  • Open Issues: 11
  • Releases: 0
Created about 10 years ago · Last pushed over 3 years ago
Metadata Files
Readme License

README.Rmd

---
output: github_document
---



```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)
```

# prcr

`prcr` is an `R` package for person-centered analysis. Person-centered analyses focus on clusters, or profiles, of observations, and their change over time or differences across factors. See [Bergman and El-Khouri (1999)](http://onlinelibrary.wiley.com/doi/10.1002/(SICI)1521-4036(199910)41:6%3C753::AID-BIMJ753%3E3.0.CO;2-K/abstract) for a description of the analytic approach. See [Corpus and Wormington (2014)](http://www.tandfonline.com/doi/abs/10.1080/00220973.2013.876225) for an example of person-centered analysis in psychology and education.

## Installation

You can install the development version of `prcr` (v. `0.2.0`) from Github with:

```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("jrosen48/prcr")
```

You can install `prcr` from CRAN (v. `0.1.5`) with:

```{r, eval = F}
install.packages("prcr")
```



## Example

This is a basic example using the built-in dataset `pisaUSA15`:

```{r, echo = F, eval = F}
devtools::load_all(".")
```

```{r, eval = T}
library(prcr)
```

```{r example}
df <- pisaUSA15
m3 <- create_profiles_cluster(df, broad_interest, enjoyment, instrumental_mot, self_efficacy, n_profiles = 3)
plot_profiles(m3, to_center = T)
```

Other functions include those for carrying out comparing r-squared values and perfomring cross-validation. These are documented in both the manual and vignette for the CRAN release and their versions in the in-development version will be documented prior to the CRAN release.

## Vignettes

See examples of use of `prcr` in the [vignettes](https://jrosen48.github.io/prcr/articles/index.html).

## Code of Conduct

Please note that this project is released with a Contributor Code of Conduct available [here](http://contributor-covenant.org/version/1/0/0/)

## Latent Profile Analyis (LPA)?

This package is being developed along with its sister project, `tidyLPA`, which makes it easy to carry out Latent Profile Analysis by providing an interface to the MCLUST package. More information about `tidyLPA` is available [here](https://github.com/jrosen48/tidyLPA).

Owner

  • Name: Joshua Rosenberg
  • Login: jrosen48
  • Kind: user
  • Location: United States
  • Company: Joshua Rosenberg

Assistant Professor of STEM Education at the University of Tennessee, Knoxville

GitHub Events

Total
Last Year

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 202
  • Total Committers: 2
  • Avg Commits per committer: 101.0
  • Development Distribution Score (DDS): 0.005
Top Committers
Name Email Commits
Joshua Rosenberg j****n@m****u 201
Joshua Rosenberg j****8@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 30
  • Total pull requests: 5
  • Average time to close issues: 5 months
  • Average time to close pull requests: 9 days
  • Total issue authors: 5
  • Total pull request authors: 3
  • Average comments per issue: 0.37
  • Average comments per pull request: 0.2
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jrosen48 (16)
  • SimoneAm (1)
  • amalia-perez (1)
  • robertprince (1)
  • gsalfourn (1)
Pull Request Authors
  • jrosen48 (1)
  • marta7kowal (1)
  • ghost (1)
Top Labels
Issue Labels
enhancement (9) bug (3) help wanted (3)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 562 last-month
  • Total docker downloads: 23,032
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 7
  • Total maintainers: 1
cran.r-project.org: prcr

Person-Centered Analysis

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 562 Last month
  • Docker Downloads: 23,032
Rankings
Forks count: 17.8%
Stargazers count: 24.2%
Average: 27.6%
Dependent packages count: 29.8%
Downloads: 30.6%
Dependent repos count: 35.5%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • class * imports
  • dplyr * imports
  • forcats * imports
  • ggplot2 * imports
  • irr * imports
  • lpSolve * imports
  • magrittr * imports
  • purrr * imports
  • tibble * imports
  • tidyr * imports
  • devtools * suggests
  • knitr * suggests
  • rmarkdown * suggests