standardized_test_data | R Documentation |

A data.frame intended for testing the atable function with standardized random data and missing values in various classes.

standardized_test_data

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.

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`

).

atable::atable(Logical+ Numeric + Factor + Ordered ~ Group | Split1 + Split2, atable::standardized_test_data, add_levels_for_NA = TRUE, format_to = 'Word')

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.