A function to merge the labels from long format and the rgb metrics
values.
Usage
merge_values(Labels, rgb_data, out_dir_path = NULL, file_type = ".RData")
Arguments
- Labels
tbl_df. Labels data
- rgb_data
tbl_df. rgb metrics values.
- out_dir_path
character. Directory where the outputs are saved.
- file_type
character. By default it is '.RData' but can be '.csv' or '.xlsx'
Value
A tibble with the variable site, id, date, family, genus, species, phenophase, type, metric, band, value, obs, comments, update, Usable_crown.
Examples
library(canObsR)
data('"Labels"')
#> Warning: data set ‘"Labels"’ not found
data('Labels')
#> Warning: data set ‘Labels’ not found
merge_values(Labels,rgb_data)
#> Error: object 'Labels' not found