test_data | R Documentation |

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:

- 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`

,`FALSE`

and`NA`

.- 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-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.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.