calc_grass_age | R Documentation |
This function calculates the average age of the grass
calc_grass_age(ID, B_LU_BRP)
ID |
(numeric) The ID of the field |
B_LU_BRP |
(numeric) The crop code (gewascode) from the BRP |
The function assumes that the order of crop codes are descending, so the latest year is on top.
The age of the grassland within a crop rotation plan. A numeric value.
calc_grass_age(ID = rep(1,5), B_LU_BRP = c(1091,265,256,256,1091))
calc_grass_age(ID = rep(1,5), B_LU_BRP = c(265,265,265,265,1091))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.