https://github.com/debruine/faux
R functions for simulating factorial datasets
https://github.com/debruine/faux
data simulation
Last synced: 5 months ago
JSON representation
R functions for simulating factorial datasets
- Host: GitHub
- URL: https://github.com/debruine/faux
- Owner: debruine
- License: other
- Created: 2018-12-29T11:43:04.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-17T13:55:39.000Z (about 1 year ago)
- Last Synced: 2025-05-13T21:23:45.999Z (9 months ago)
- Topics: data, simulation
- Language: R
- Homepage: https://debruine.github.io/faux/
- Size: 137 MB
- Stars: 100
- Watchers: 6
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Zenodo: .zenodo.json
Awesome Lists containing this project
README
---
output: github_document
always_allow_html: true
---
[](https://zenodo.org/badge/latestdoi/163506566)
[](https://CRAN.R-project.org/package=faux)

[](https://lifecycle.r-lib.org/articles/stages.html#stable)
[](https://app.codecov.io/github/debruine/faux?branch=master)
[](https://github.com/debruine/faux/actions)
[](https://github.com/debruine/faux/actions/workflows/R-CMD-check.yaml)
```{r setup, include = FALSE}
knitr::opts_chunk$set(
fig.path = "man/figures/",
fig.width = 8,
fig.height = 5,
collapse = TRUE,
comment = "#>"
)
library(ggplot2)
library(dplyr)
library(tidyr)
library(faux)
set.seed(200)
```
It is useful to be able to simulate data with a specified structure. The `faux` package provides some functions to make this process easier. See the [package website](https://debruine.github.io/faux/) for more details.
## Installation
You can install the released version of faux from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("faux")
```
And the development version from [GitHub](https://github.com/debruine/faux) with:
``` r
# install.packages("devtools")
devtools::install_github("debruine/faux")
```
Please note that the 'faux' project is released with a [Contributor Code of Conduct](https://github.com/debruine/faux/blob/master/CODE_OF_CONDUCT.md). By contributing to this project, you agree to abide by its terms.
