join_profiles: Join multiple hop profiles together

Description Usage Arguments Value See Also Examples

Description

Joins multiple hop profiles together into a single tibble (data.frame) using dplyr::full_join(). When joining the 'cells' profile with the 'trees', 'plot', or 'climate' profiles, only numeric columns from the 'cells' profile are kept, and values are averaged across all cells before joining. When joining the 'voxels' profile with the 'cells' profile, only numeric columns from the 'voxels' profile are kept, and values are summed across all voxels in each cell before joining. The 'voxels' profile cannot be joinged with the 'trees', 'plot', or 'climate' profiles.

Usage

1
join_profiles(hop, profiles, ...)

Arguments

hop

An object of class hop or face.

profiles

The profiles to join

...

Other arguments passed to hop_filter

Value

A tibble (data.frame)

See Also

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(), make_rel_years(), profile_check(), variable_check(), which_profiles()

Examples

1
2
3
4
## Not run: 
my.df <- join_profiles(hop, c("trees", "plot"))

## End(Not run)

kevinwolz/hisafer documentation built on Oct. 19, 2020, 4:43 p.m.