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


[Package atable version 0.1.10 Index]