Description Usage Arguments Value Author(s) See Also
get.env.info
look at a data set and separate regional farms and satellite farms in two datasets. This function is used in model_bh_intra_location
.
1 | get.env.info(D, nb_ind)
|
D |
The data frame with its specific column names used in |
nb_ind |
The minimal number of individuals per variable |
The function returns a list with
"vec_env_with_no_data": a vector with the environments without data for the given variable
"vec_env_with_no_controls": a vector with the environments with no controls
"vec_env_with_controls": a vector with the environments with controls
"vec_env_RF": a vector with the environments as regional farms (i.e. with at least two blocks)
"vec_env_SF": a vector with the environments as satellite farms (i.e. with one block)
"D_RF": a data frame with regional farms
"D_SF": a data frame with satellite farms
Pierre Riviere
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.