Description Usage Arguments Value See Also Examples
Converts absolute years to relative years (minimum year is year 1) in the Year column of all hop elements. Does NOT convert dates in the Date column.
1 | make_rel_years(hop, year1 = NULL)
|
hop |
An object of class hop or face. |
year1 |
The year that should be treated as year 1. Must be less than or equal to the minimum year in the hop. |
A hop
Other hisafe helper functions:
copy_hisafe_template()
,
get_pheno_dates()
,
get_pruning_dates()
,
hip_params()
,
hisafe_info()
,
hisafe_profiles()
,
hop_filter()
,
hop_merge()
,
hop_params()
,
hop_rename()
,
is_face()
,
is_hip()
,
is_hop()
,
join_profiles()
,
profile_check()
,
variable_check()
,
which_profiles()
1 2 3 4 5 6 | ## Not run:
range(hop$trees$Year)
hop.mod <- make_rel_years(hop)
range(hop.mod$trees$Year)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.