simdata_rms: Simulate Data similar to an example in the 'rms' Manual

Description Usage Arguments Value References Examples

View source: R/simulate.R

Description

Simulate Data similar to an example in the rms Manual

Usage

1
simdata_rms(nobs, rtype = c("list", "data.frame"))

Arguments

nobs

number of observations.

rtype

a character giving the return type. Allowed values are "list" and "data.frame".

Value

depending on rtype either a list or a data.frame.

References

Frank E Harrell Jr (2019). rms: Regression Modeling Strategies. R package version 5.1-3. https://CRAN.R-project.org/package=rms https://www.rdocumentation.org/packages/rms/versions/5.1-2/topics/anova.rms

Examples

1
d <- simdata_rms(500)

lb documentation built on Feb. 19, 2020, 3:01 a.m.

Related to simdata_rms in lb...