Description Usage Arguments Value See Also Examples
Filters a hop object by SimulationName, Date, and idTree
1 2 3 4 5 6 7 8 9 10 11 |
hop |
An object of class hop or face. |
simu.names |
A character vector of the SimulationNames to keep. If "all", no filtering occurs. |
tree.ids |
A numeric vector of the tree ids to keep. If "all", no filtering occurs. |
years |
A numeric vector of the years to keep. If "all", no filtering occurs. |
months |
A numeric vector of the months to keep. If "all", no filtering occurs. |
date.min |
A character string of the minimum date to keep, in the format "YYYY-MM-DD" or of class Date.
If NA, the minimum date in |
date.max |
A character string of the maximum date to keep, in the format "YYYY-MM-DD" or of class Date.
If NA, the maximum date in |
dates |
A character vector (in the format "YYYY-MM-DD") or a vector of class Date of the dates to keep.
If |
strip.exp.plan |
Logical indicating whether or not to remove the exp.plan variables
(which are appended by |
A hop object.
Other hisafe helper functions:
copy_hisafe_template(),
get_pheno_dates(),
get_pruning_dates(),
hip_params(),
hisafe_info(),
hisafe_profiles(),
hop_merge(),
hop_params(),
hop_rename(),
is_face(),
is_hip(),
is_hop(),
join_profiles(),
make_rel_years(),
profile_check(),
variable_check(),
which_profiles()
1 2 3 4 | ## Not run:
newhop <- hop_filter(myhop, c("Sim_1", "Sim_2"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.