testdata {APCanalysis} | R Documentation |
testdata data frame
Description
A constructed data frame to illustrate the use of the functions in the APC package.
Usage
data("testdata")
Format
The "testdata" data frame has 16 rows and 5 columns:
resp response variable.
x1 binary (-1 or +1) explanatory variable 1.
x2 binary (-1 or +1) explanatory variable 2.
x3 binary (-1 or +1) explanatory variable 3.
x4 binary (-1 or +1) explanatory variable 4.
Details
The values of "resp" were generated as resp = round(10+8*x1+5*x3+7*x4+6*x1*x4+rnorm(16), 2).'
Examples
data(testdata)
[Package APCanalysis version 1.0 Index]