suitability | R Documentation |
This function calculates the suitability scores and class of the land units.
suitability( x, y, mf = "triangular", sow_month = NULL, minimum = NULL, maximum = "average", interval = NULL, sigma = NULL )
x |
a data frame consisting the properties of the land units; |
y |
a data frame consisting the requirements of a given characteristics (terrain, soil, water and temperature) for a given crop (e.g. coconut, cassava, etc.); |
mf |
membership function with default assigned to |
sow_month |
sowing month of the crop. Takes integers from 1 to 12 (inclusive), representing the twelve months of the year. So if sets to 1, the function assumes sowing month to be January. |
minimum |
factor's minimum value. If |
maximum |
maximum value for factors. To set multiple maximums for multiple factors,
simply concatenate these into a numeric vector, the length of this vector should be equal
to the number of factors in input land units parameters. However, it can also be set to
|
interval |
domains for every suitability class (S1, S2, S3). If fixed ( |
sigma |
If |
A list with the following components:
"Factors Evaluated"
- a character of factors that matched between the input land units factor and the targetted crop requirement factor
"Suitability Score"
- a data frame of suitability scores for each of the matched factors
"Suitability Class"
- a data frame of suitability classes for each of the matched factors
"Factors' Minimum Values"
- a numeric of minimum values used in the membership function for computing the suitability scores
"Factors' Minimum Values"
- a numeric of maximum values used in the membership function for computing the suitability scores
"Factors' Weights"
- a numeric of weights of the factors specified in the input crop requirements
"Crop Evaluated"
- a character of the name of the targetted crop requirement dataset
#' @seealso
https://alstat.github.io/ALUES/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.