Last data update: 2014.03.03

R: Artificially Created Data for an Example on Variable Search
E11.1R Documentation

Artificially Created Data for an Example on Variable Search

Description

The E11.1 data frame has 20 rows and 5 columns.

Usage

data(E11.1)

Format

This data frame contains the following columns:

x.1

a numeric vector, predictor 1.

x.2

a numeric vector, predictor 2.

x.3

a numeric vector, predictor 3.

x.4

a numeric vector, predictor 4.

y

a numeric vector, response.

Source

Data made up by the authors.

Examples

data(E11.1)
exleaps <- require("leaps", quietly=TRUE)
if (exleaps) {
   E11.1.m1 <- regsubsets(y ~x.1+x.2+x.3+x.4, data=E11.1)
   summary(E11.1.m1)
   plot(E11.1.m1)
}

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(SenSrivastava)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/SenSrivastava/E11.1.Rd_%03d_medium.png", width=480, height=480)
> ### Name: E11.1
> ### Title: Artificially Created Data for an Example on Variable Search
> ### Aliases: E11.1
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(E11.1)
> exleaps <- require("leaps", quietly=TRUE)
> if (exleaps) {
+    E11.1.m1 <- regsubsets(y ~x.1+x.2+x.3+x.4, data=E11.1)
+    summary(E11.1.m1)
+    plot(E11.1.m1)
+ }
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>