Description Usage Arguments Value
Takes a vector of functions which represent predictors and applies them to the given list of fields
1 | get_field_predictors(predictors, fields, rename_rows = TRUE)
|
predictors |
- a character vector containing the names of functions that take a field$image and return the value of a predictor |
fields |
- a list containing objects of class 'field', usually got from the extract_fields function |
rename_rows |
- whether to name rows as (i, j) indicating location in a 9x9 matrix (only use for length(fields) == 81) |
A matrix with each row being the calculated predictors for a field, populated column-by-column, just as a regular R matrix, so the (i,j) field predictors are in the (i + 9*(j-1))-th row of the matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.