A data.frame intended for testing the atable function with random data and missing values in various classes.
test_data
A data frame with 129 rows and 11 variables:
A factor with 2 levels, drawn uniformly.
A factor with 3 levels, drawn uniformly.
A factor with 2 levels, drawn uniformly.
A factor with 3 levels, drawn uniformly.
A sample from the standard normal distribution.
A sample from the normal distribution with mean 4 and sd 3.
A Logical, drawn uniformly from TRUE
, FALSE
and NA
.
A factor with 4 level drawn with weigths 1:1:2:2
.
Class Ordered with 3 levels, drawn uniformly.
Class character drawn uniformly from c("a", "b", "")
.
Class Date, generated by adding 2001-05-25
to
a sample of the Poisson distribution with lambda 42
.
6 Missing values were randomly added to each of Numeric, Numeric2, Factor, Ordered, Character and Date.