circumplex

R Package for the Analysis and Visualization of Circumplex Data

https://github.com/jmgirard/circumplex

Science Score: 36.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
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 4 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.0%) to scientific vocabulary

Keywords

circular circumplex data-analysis ggplot2 interpersonal psychology r r-package rcpparmadillo rstats tidyverse

Keywords from Contributors

dynamic
Last synced: 6 months ago · JSON representation

Repository

R Package for the Analysis and Visualization of Circumplex Data

Basic Info
Statistics
  • Stars: 11
  • Watchers: 2
  • Forks: 6
  • Open Issues: 1
  • Releases: 22
Topics
circular circumplex data-analysis ggplot2 interpersonal psychology r r-package rcpparmadillo rstats tidyverse
Created about 8 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Support

README.Rmd

---
output: github_document
always_allow_html: yes
---



```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-"
)
library(circumplex)
library(kableExtra)
set.seed(12345)
```

# circumplex 


[![CRAN status](https://www.r-pkg.org/badges/version/circumplex)](https://CRAN.R-project.org/package=circumplex)
[![R-CMD-check](https://github.com/jmgirard/circumplex/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jmgirard/circumplex/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/jmgirard/circumplex/graph/badge.svg)](https://app.codecov.io/gh/jmgirard/circumplex)
[![test-coverage](https://github.com/jmgirard/circumplex/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/jmgirard/circumplex/actions/workflows/test-coverage.yaml)
[![pkgdown](https://github.com/jmgirard/circumplex/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/jmgirard/circumplex/actions/workflows/pkgdown.yaml)



The goal of *circumplex* is to provide a powerful, flexible, and user-friendly way to analyze and visualize circumplex data. It was created and is maintained by [Jeffrey Girard](https://affcom.ku.edu/girard/); it was inspired by work from and was developed under advisement from [Johannes Zimmermann](https://www.uni-kassel.de/fb01/institute/institut-fuer-psychologie/fachgebiete/differentielle-psychologie/prof-dr-johannes-zimmermann) and [Aidan Wright](https://sites.lsa.umich.edu/aidangcw-lab/). You can learn more about using this package through the vignette articles available on the [package website](https://circumplex.jmgirard.com/) or through `?circumplex`.

## Installation

``` r
# Install release version from CRAN
install.packages("circumplex")

# Install development version from GitHub
devtools::install_github("jmgirard/circumplex")
```

## Usage

### Example 1

```{r analysis1}
data("jz2017")
results <- ssm_analyze(
  data = jz2017, 
  scales = c("PA", "BC", "DE", "FG", "HI", "JK", "LM", "NO"), 
  angles = c(90, 135, 180, 225, 270, 315, 360, 45), 
  measures = c("NARPD", "ASPD"),
  measures_labels = c("Narcissistic PD", "Antisocial PD")
)
summary(results)
```

``` r
ssm_table(results, drop_xy = TRUE)
```

```{r table1, echo = FALSE, results = "asis"}
ssm_table(results, drop_xy = TRUE, render = FALSE) %>%
  kableExtra::kbl(caption = circumplex:::dcaption(results)) %>% 
  kableExtra::kable_styling(full_width = TRUE, font_size = 12)
```

```{r plot}
ssm_plot_circle(results)
```

```{r plot2}
ssm_plot_curve(results)
```

### Example 2

```{r analysis2}
results2 <- ssm_analyze(
  data = jz2017, 
  scales = PANO(), 
  angles = octants(), 
  grouping = "Gender",
  contrast = TRUE
)
summary(results2)
```

``` r
ssm_table(results2, drop_xy = TRUE)
```

```{r table2, echo = FALSE, results = "asis"}
ssm_table(results2, drop_xy = TRUE, render = FALSE) %>%
  kableExtra::kbl(caption = circumplex:::dcaption(results)) %>% 
  kableExtra::kable_styling(full_width = TRUE, font_size = 12)
```

```{r plot3}
ssm_plot_contrast(results2, drop_xy = TRUE)
```

## Code of Conduct
Please note that the 'circumplex' project is released with a
[Contributor Code of Conduct](https://circumplex.jmgirard.com/CODE_OF_CONDUCT.html).
By contributing to this project, you agree to abide by its terms.

## References

Girard, J. M., Zimmermann, J., & Wright, A. G. C. (2018). New tools for circumplex data analysis and visualization in R. _Meeting of the Society for Interpersonal Theory and Research._ Montreal, Canada.

Zimmermann, J., & Wright, A. G. C. (2017). Beyond description in interpersonal construct validation: Methodological advances in the circumplex Structural Summary Approach. _Assessment, 24_(1), 3–23.

Wright, A. G. C., Pincus, A. L., Conroy, D. E., & Hilsenroth, M. J. (2009). Integrating methods to optimize circumplex description and comparison of groups. _Journal of Personality Assessment, 91_(4), 311–322.

Owner

  • Name: Jeffrey Girard
  • Login: jmgirard
  • Kind: user
  • Location: Lawrence, KS, USA
  • Company: University of Kansas

Assistant Professor of Psychology

GitHub Events

Total
  • Create event: 1
  • Release event: 1
  • Issues event: 6
  • Issue comment event: 3
  • Push event: 52
Last Year
  • Create event: 1
  • Release event: 1
  • Issues event: 6
  • Issue comment event: 3
  • Push event: 52

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 796
  • Total Committers: 4
  • Avg Commits per committer: 199.0
  • Development Distribution Score (DDS): 0.418
Past Year
  • Commits: 25
  • Committers: 1
  • Avg Commits per committer: 25.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Jeffrey Girard me@j****m 463
Jeffrey Girard j****d@p****u 331
Dirk Eddelbuettel e****d@d****g 1
Hadley Wickham h****m@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 16
  • Total pull requests: 5
  • Average time to close issues: 3 days
  • Average time to close pull requests: 8 days
  • Total issue authors: 5
  • Total pull request authors: 3
  • Average comments per issue: 0.31
  • Average comments per pull request: 0.8
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: about 14 hours
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jmgirard (13)
  • teunbrand (1)
  • oladelmar97 (1)
  • vijayhrdm (1)
  • bela127 (1)
  • thomasp85 (1)
Pull Request Authors
  • jmgirard (3)
  • hadley (1)
  • eddelbuettel (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 678 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 17
  • Total maintainers: 1
cran.r-project.org: circumplex

Analysis and Visualization of Circular Data

  • Versions: 17
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 678 Last month
Rankings
Forks count: 11.3%
Stargazers count: 15.6%
Downloads: 21.4%
Average: 22.7%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.4 depends
  • Rcpp >= 1.0.3 imports
  • assertthat >= 0.2.1 imports
  • boot >= 1.3 imports
  • dplyr >= 0.8.5 imports
  • ggforce >= 0.3.0 imports
  • ggplot2 >= 3.3.0 imports
  • htmlTable >= 1.13.3 imports
  • magrittr >= 1.5 imports
  • purrr >= 0.3.4 imports
  • rlang >= 0.4.5 imports
  • stats * imports
  • tibble >= 3.0.0 imports
  • tidyr >= 1.0.0 imports
  • RColorBrewer * suggests
  • covr >= 3.5.0 suggests
  • ggrepel * suggests
  • kableExtra >= 1.1.0 suggests
  • knitr >= 1.28 suggests
  • rmarkdown >= 2.1 suggests
  • roxygen2 >= 7.1.0 suggests
  • testthat >= 3.0.0 suggests
  • vdiffr * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
.github/workflows/pkgdown.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
.github/workflows/pr-commands.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/pr-fetch v1 composite
  • r-lib/actions/pr-push v1 composite
  • r-lib/actions/setup-r v1 composite
.github/workflows/test-coverage.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite