Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

testdata

Simulated data set for testing purpose


Description

2 numeric, 2 binary, 2 nominal and 2 mixed (semi-continous) variables

Format

The format is: List of 4

  • $wna : a data.frame with 500 obs. of 8 variables:

    • x1: numeric 10.87 9.53 7.83 8.53 8.67 ...

    • x2: numeric 10.9 9.32 7.68 8.2 8.41 ... ..

    • c1: Factor w/ 4 levels "a","b","c","d": 3 2 2 1 2 2 1 3 3 2 ...

    • c2: Factor w/ 4 levels "a","b","c","d": 2 3 2 2 2 2 2 4 2 2 ...

    • b1: Factor w/ 2 levels "0","1": 2 2 1 2 1 2 1 2 1 1 ...

    • b2: Factor w/ 2 levels "0","1": 2 2 1 1 1 1 1 2 2 2 ...

    • m1: numeric 0 8.29 9.08 0 0 ...

    • m2: numeric 10.66 9.39 7.8 8.11 7.33 ...

  • $wona : a 'data.frame“ with 500 obs. of 8 variables:

    • x1: numeric 10.87 9.53 7.83 8.53 8.67 ...

    • x2: numeric 10.9 9.32 7.68 8.2 8.41 ...

    • c1: Factor w/ 4 levels "a","b","c","d": 3 2 2 1 2 2 1 3 3 2 ...

    • c2: Factor w/ 4 levels "a","b","c","d": 2 3 2 2 2 2 2 4 2 2 ...

    • b1: Factor w/ 2 levels "0","1": 2 2 1 2 1 2 1 2 1 1 ...

    • b2: Factor w/ 2 levels "0","1": 2 2 1 1 1 1 1 2 2 2 ...

    • m1: numeric 0 8.29 9.08 0 0 ...

    • m2: numeric 10.66 9.39 7.8 8.11 7.33 ...

  • $mixed: c("m1", "m2")

  • $outlierInd: 'NULL“

Examples

data(testdata)

VIM

Visualization and Imputation of Missing Values

v6.1.0
GPL (>= 2)
Authors
Matthias Templ [aut, cre], Alexander Kowarik [aut] (<https://orcid.org/0000-0001-8598-4130>), Andreas Alfons [aut], Gregor de Cillia [aut], Bernd Prantner [ctb], Wolfgang Rannetbauer [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.