data_test1 {lmhelprs} | R Documentation |
Sample Data: For Testing
Description
A eight-variable dataset with 100 cases.
Usage
data_test1
Format
A data frame with 100 rows and 8 variables:
- x1
Predictor. Numeric.
- x2
Predictor. Numeric.
- x3
Predictor. Numeric.
- x4
Predictor. Numeric.
- x5
Predictor. Numeric.
- y
Outcome. Numeric.
- cat1
Predictor. String. Values: "Alpha", "Beta", "Gamma"
- cat2
Predictor. String. Values: "North", "South", "East", "West"
Examples
data(data_test1)
lm(y ~ x1 + cat2 + cat1 + cat2:cat1, data_test1)
[Package lmhelprs version 0.3.0 Index]