powered by
water
This function plucks one or more selected parameters from selected columns of water class objects. The names of the output columns will follow the form water_parameter
water_parameter
pluck_water(df, input_waters = c("defined"), parameter)
A data frame containing columns of selected parameters from a list of water class objects.
a data frame containing a water class column, which has already been computed using define_water
vector of names of the columns of water class data to be used as the input for this function.
vector of water class parameters to view outside the water column. Can also specify "all" to get all non-NA water slots.
convert_water
pluck_example <- water_df %>% define_water_df("raw") %>% pluck_water(input_waters = c("raw"), parameter = c("hco3", "doc"))
Run the code above in your browser using DataLab