The input2 object is a matrix created from the interest1981 dataset for further analysis. The process involves extracting relevant columns, filtering rows, transforming values, and handling missing data.
Format
A numeric matrix with rows corresponding to filtered observations and columns representing transformed variables.
Details
The input2 matrix is derived from the interest1981 dataset through the following steps:
Extract relevant columns:
input <- as.matrix(interest1981[, 9:38])Filter rows with sufficient data:
input <- input[rowSums(!is.na(input)) >= 5, ]Transform the matrix:
input <- (100 - input) / 50
Examples
if (FALSE) { # \dontrun{
data(input)
} # }
