standardized_test_data {atable}R Documentation

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

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:

Examples

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


[Package atable version 0.1.10 Index]