Last data update: 2014.03.03

R: gpltr data example
data_pltrR Documentation

gpltr data example

Description

A data frame to test the functions of the package

Usage

data(data_pltr)

Format

A data frame with 3000 observations on the following 16 variables.

G1

a numeric vector

G2

a factor with levels 0 1

G3

a factor with levels 0 1

G4

a factor with levels 0 1

G5

a factor with levels 0 1

G6

a binary numeric vector

G7

a binary numeric vector

G8

a binary numeric vector

G9

a binary numeric vector

G10

a binary numeric vector

G11

a binary numeric vector

G12

a binary numeric vector

G13

a binary numeric vector

G14

a binary numeric vector

G15

a binary numeric vector

Y

a binary numeric vector

Details

The numeric variable G1 is considered as offset in the simulated PLTR model; the variables G2,...,G5 are used to simulate the tree part, while G6,...,G15 are noise variables.

Examples

data(data_pltr)
## maybe str(data_pltr) ...

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(GPLTR)
Loading required package: rpart
Loading required package: parallel
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/GPLTR/data_pltr.Rd_%03d_medium.png", width=480, height=480)
> ### Name: data_pltr
> ### Title: gpltr data example
> ### Aliases: data_pltr
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(data_pltr)
> ## maybe str(data_pltr) ...
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>