Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
markolalovic committed Jun 6, 2024
1 parent 47b2994 commit 5d01cd6
Show file tree
Hide file tree
Showing 14 changed files with 49 additions and 278 deletions.
6 changes: 5 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@
^CODE_OF_CONDUCT.md
^fix_site.py
^tests/informal$
^dev$
^dev$
^doc$
^Meta$
^revdep$
^cran-comments\.md$
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,8 @@ rsconnect/
# Ignore Mac DS_Store files
.DS_Store
**/.DS_Store
docs

# revdep
/doc/
/Meta/
revdep/
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Description: Provides an easy framework to simulate survey data commonly
also allows for the estimation of parameters from existing survey data
to replicate it more accurately.
License: GPL-3
URL: https://lalovic.io/responsesR,
https://github.com/markolalovic/responsesR
BugReports: https://github.com/markolalovic/responsesR/issues
URL: https://lalovic.io/responsesR/,
https://github.com/markolalovic/responsesR/
BugReports: https://github.com/markolalovic/responsesR/issues/
Depends:
R (>= 3.3)
Imports:
Expand Down
12 changes: 6 additions & 6 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ knitr::opts_chunk$set(
## responsesR: simulate Likert item responses in R <img src="./man/figures/logo.png" alt="Package logo" align="right" height="160" style="float:right; height:160px;"/>

<!-- badges: start -->
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![codecov](https://codecov.io/gh/markolalovic/responsesR/graph/badge.svg?token=HZTG6RUB2J)](https://codecov.io/gh/markolalovic/responsesR)
[![R-CMD-check](https://github.com/markolalovic/responsesR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/markolalovic/responsesR/actions/workflows/R-CMD-check.yaml)
[![codecov](https://codecov.io/gh/markolalovic/responsesR/graph/badge.svg?token=HZTG6RUB2J)](https://codecov.io/gh/markolalovic/responsesR)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10889981.svg)](https://doi.org/10.5281/zenodo.10889981)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
<!-- badges: end -->

This package provides an easy framework to simulate survey data commonly analyzed in applied social research, specifically Likert items. Users can specify latent variables by providing means, standard deviations, and optionally, skewness and correlations. The generated data set represents responses to Likert scale questions, which can be used for various purposes, such as validating theoretical findings obtained through factor analysis and structural equation modeling. The package also allows for the estimation of parameters from existing survey data to replicate it more accurately.
Expand Down Expand Up @@ -317,12 +317,12 @@ knitr::include_graphics("./man/figures/articles/agreeableness_grouped_boxplot.sv
```

## Dependency statement
To maintain a lightweight package, responsesR only imports [mvtnorm](https://cran.r-project.org/web/packages/mvtnorm/index.html), along with the standard R packages stats and graphics, which are typically included in R releases. An additional suggested dependency is the package [sn](https://cran.r-project.org/web/packages/sn/index.html), necessary only for generating random responses from correlated Likert items with multivariate skew normal latent distribution. However, the package prompts the user to install this dependency during interactive sessions.
To maintain a lightweight package, responsesR only imports [mvtnorm](https://cran.r-project.org/package=mvtnorm), along with the standard R packages stats and graphics, which are typically included in R releases. An additional suggested dependency is the [package sn](https://cran.r-project.org/package=sn), necessary only for generating random responses from correlated Likert items with multivariate skew normal latent distribution. However, the package prompts the user to install this dependency during interactive sessions.

## Further reading
* [Get started](https://markolalovic.github.io/responsesR/articles/responsesR.html)
* [Functions reference documentation](https://markolalovic.github.io/responsesR/reference/index.html)
* [Introduction to responsesR package](https://markolalovic.github.io/responsesR/articles/introduction_to_responsesR.html)
* [Get started](https://lalovic.io/responsesR/articles/responsesR.html)
* [Functions reference documentation](https://lalovic.io/responsesR/reference/index.html)
* [Introduction to responsesR package](https://lalovic.io/responsesR/articles/introduction_to_responsesR.html)

## Contributions
Feel free to create issues for bugs or suggestions on the [issues page](https://github.com/markolalovic/responsesR/issues).
Expand Down
28 changes: 13 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

<!-- badges: start -->

[![License:
MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![codecov](https://codecov.io/gh/markolalovic/responsesR/graph/badge.svg?token=HZTG6RUB2J)](https://codecov.io/gh/markolalovic/responsesR)
[![R-CMD-check](https://github.com/markolalovic/responsesR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/markolalovic/responsesR/actions/workflows/R-CMD-check.yaml)
[![codecov](https://codecov.io/gh/markolalovic/responsesR/graph/badge.svg?token=HZTG6RUB2J)](https://codecov.io/gh/markolalovic/responsesR)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10889981.svg)](https://doi.org/10.5281/zenodo.10889981)
[![License: GPL
v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
<!-- badges: end -->

This package provides an easy framework to simulate survey data commonly
Expand Down Expand Up @@ -525,23 +525,21 @@ plot_grid(p1, p2, nrow = 2)
## Dependency statement

To maintain a lightweight package, responsesR only imports
[mvtnorm](https://cran.r-project.org/web/packages/mvtnorm/index.html),
along with the standard R packages stats and graphics, which are
typically included in R releases. An additional suggested dependency is
the package [sn](https://cran.r-project.org/web/packages/sn/index.html),
necessary only for generating random responses from correlated Likert
items with multivariate skew normal latent distribution. However, the
package prompts the user to install this dependency during interactive
sessions.
[mvtnorm](https://cran.r-project.org/package=mvtnorm), along with the
standard R packages stats and graphics, which are typically included in
R releases. An additional suggested dependency is the [package
sn](https://cran.r-project.org/package=sn), necessary only for
generating random responses from correlated Likert items with
multivariate skew normal latent distribution. However, the package
prompts the user to install this dependency during interactive sessions.

## Further reading

- [Get
started](https://markolalovic.github.io/responsesR/articles/responsesR.html)
- [Get started](https://lalovic.io/responsesR/articles/responsesR.html)
- [Functions reference
documentation](https://markolalovic.github.io/responsesR/reference/index.html)
documentation](https://lalovic.io/responsesR/reference/index.html)
- [Introduction to responsesR
package](https://markolalovic.github.io/responsesR/articles/introduction_to_responsesR.html)
package](https://lalovic.io/responsesR/articles/introduction_to_responsesR.html)

## Contributions

Expand Down
5 changes: 5 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## R CMD check results

0 errors | 0 warnings | 1 note

* This is a new release.
114 changes: 0 additions & 114 deletions docs/LICENSE-text.html

This file was deleted.

2 changes: 1 addition & 1 deletion docs/articles/replicating_survey_data.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/responsesR.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/simulating_survey_data.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5d01cd6

Please sign in to comment.