sample_df | R Documentation |
Simulated data for testing/illustrating purposes. This data set
can be used to test the package with a logistic regression model, as
illustrated in the help of the pbugs
function.
sample_df
A data.frame
with 1000 observations and 4 variables:
Binomial with prob = 0.7.
Binomial with prob = 0.4.
Normal with mean 40 and sd 10 (mean centered).
Binomial with prob plogis(tcrossprod(cbind(rep(1, N), x1,
x2, x3), t(c(-2, 1.3, 1.05, .04))))
.
The data creation script is in the /data-raw directory.
data(sample_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.