standardized_test_data: A data.frame with standardized random data of various classes
Description
A data.frame intended for testing the atable function with standardized random data and missing values in various classes.
Usage
standardized_test_data
Arguments
Format
A data frame with 1080 rows and 7 variables:
Split1
A factor with 2 levels without NA. The two levels have the same frequency (540).
Split2
A factor with 2 levels with NA. The two levels and the NA have the same frequency (360).
Group
A factor with 2 levels with NA. The two levels and the NA have the same frequency (360).
Logical
A logical.
Factor
A factor with 3 levels.
Ordered
Class ordered with 4 levels.
Numeric
Class numeric.
Details
For every subset defined by a triplet of the levels of Split1, Split2 and Group the variables have the following properties:
60 observations
Logical has exactly the same number of TRUE and FALSE and NA (20).
Factor has exactly the same number of levels taken and NA (15).
Ordered has exactly the same number of levels taken and NA (12).
Numeric is sampled from a normal distribution and then standardized to
sd 1 and with 6 NA.
Its mean is 12 when Group is 'Treatment'
and 10 otherwise (up to 10^-17).