| test_data {atable} | R Documentation |
A data.frame with random data of various classes
Description
A data.frame intended for testing the atable function with random data and missing values in various classes.
Usage
test_data
Format
A data frame with 129 rows and 11 variables:
- Split1
A factor with 2 levels, drawn uniformly.
- Split2
A factor with 3 levels, drawn uniformly.
- Group
A factor with 2 levels, drawn uniformly.
- Group2
A factor with 3 levels, drawn uniformly.
- Numeric
A sample from the standard normal distribution.
- Numeric2
A sample from the normal distribution with mean 4 and sd 3.
- Logical
A Logical, drawn uniformly from
TRUE,FALSEandNA.- Factor
A factor with 4 level drawn with weigths
1:1:2:2.- Ordered
Class Ordered with 3 levels, drawn uniformly.
- Character
Class character drawn uniformly from
c('a', 'b', '').- Date
Class Date, generated by adding
2001-05-25to a sample of the Poisson distribution with lambda42.
6 Missing values were randomly added to each of Numeric, Numeric2, Factor, Ordered, Character and Date.