vi {collinear} | R Documentation |
Example Data With Different Response and Predictor Types
Description
The response variable is a Vegetation Index encoded in different ways to help highlight the package capabilities:
-
vi_numeric
: continuous vegetation index values in the range 0-1. -
vi_counts
: simulated integer counts created by multiplyingvi_numeric
by 1000 and coercing the result to integer. -
vi_binomial
: simulated binomial variable created by transformingvi_numeric
to zeros and ones. -
vi_categorical
: character variable with the categories "very_low", "low", "medium", "high", and "very_high", with thresholds located at the quantiles ofvi_numeric
. -
vi_factor
:vi_categorical
converted to factor.
The names of all predictors (continuous, integer, character, and factors) are in vi_predictors.
Usage
data(vi)
Format
Data frame with 30.000 rows and 68 columns.
See Also
Other example_data:
toy
,
vi_predictors
,
vi_predictors_categorical
,
vi_predictors_numeric