You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://app.codecov.io/gh/BmBaczkowski/simMultiCov?branch=main)
19
21
<!-- badges: end -->
20
22
21
-
The goal of simMultiCov is to ...
23
+
**simMultiCov** provides tools for simulating multilevel (clustered) covariates with flexible correlation structures. It supports continuous, binary, and ordinal covariates, allowing researchers to generate realistic clustered data for methodological studies, power analyses, and simulation-based research.
24
+
25
+
## Features
26
+
27
+
-**Multiple covariate types**: Simulate continuous, binary, and ordinal covariates
28
+
-**Flexible correlation structures**: Specify separate within-cluster and between-cluster correlations
29
+
-**Latent variable approach**: Binary and ordinal covariates are generated using latent normal distributions
30
+
-**Unequal cluster sizes**: Support for varying numbers of observations per cluster
31
+
-**Multiple datasets**: Generate multiple independent datasets in a single call
32
+
-**Reproducible simulations**: Optional seed parameter for reproducibility
22
33
23
34
## Installation
24
35
25
-
You can install the development version of simMultiCov like so:
36
+
You can install the development version of simMultiCov from GitHub with:
-`define_correlation()`: Specify correlations between covariates
248
+
-`make_covariates()`: Combine covariate specifications into a complete structure
249
+
-`simulate()`: Generate simulated data from a covariate specification
49
250
50
-
```{r pressure, echo = FALSE}
251
+
## Getting Help
51
252
253
+
-**Documentation**: Run `?function_name` for detailed help on any function
254
+
-**Issues**: Report bugs or request features on [GitHub Issues](https://github.com/BmBaczkowski/simMultiCov/issues)
255
+
-**Questions**: Ask questions on [GitHub Discussions](https://github.com/BmBaczkowski/simMultiCov/discussions)
256
+
257
+
## Citation
258
+
259
+
If you use simMultiCov in your research, please cite:
260
+
261
+
```r
262
+
citation("simMultiCov")
52
263
```
53
264
54
-
In that case, don't forget to commit and push the resulting figure files, so they display on GitHub and CRAN.
265
+
## License
266
+
267
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
268
+
269
+
## Contributing
270
+
271
+
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
272
+
273
+
1. Fork the repository
274
+
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
275
+
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
276
+
4. Push to the branch (`git push origin feature/AmazingFeature`)
0 commit comments