View source: R/crop_rotation.R
calc_rotation_fraction | R Documentation |
This function calculates the fraction present in the crop rotation
calc_rotation_fraction(ID, B_LU_BRP, crop)
ID |
(numeric) The ID of the field |
B_LU_BRP |
(numeric) The crop code (gewascode) from the BRP |
crop |
(character) The crop to check for. For relevant crop categories, see details. |
This function calculates the fraction present in the crop rotation for specific crop categories. These categories include "starch", "potato", "sugarbeet", "grass", "mais", "alfalfa","catchcrop","cereal","clover",'nature', rapeseed',"other","rustgewas",and "rustgewasdiep".
The fraction of specific crop types within the crop rotation sequence. A numeric value.
calc_rotation_fraction(ID = rep(1,4), B_LU_BRP = c(265,1910,1935,1033),crop = 'potato')
calc_rotation_fraction(ID = rep(1,4), B_LU_BRP = c(265,1910,1935,1033),crop = 'grass')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.