View source: R/AgroSoil_generic_functions.R
permutations | R Documentation |
Useful tool to create a matrix of series of permutation for use in a parallelized soil moisture prediction
permutations(pred.year.lst, month.lst, target_var)
pred.year.lst |
A vector of prediction years as numeric. |
month.lst |
A vector of prediction months as string. |
target_var |
Target variable to predict |
x A permutated matrix of year, month and target variable
pred.year.lst <- c(2015,2020) month.lst <- c("Jan", "Dec") target_var <- "SM" x <- permutations(pred.year.lst, month.lst, target_var)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.