View source: R/adcp_pivot_longer.R
adcp_pivot_longer | R Documentation |
Pivot ADCP data from bin height as column names to bin height as observations
adcp_pivot_longer(dat_wide, rm_NA = TRUE)
dat_wide |
Data frame of ADCP data, as returned from
|
rm_NA |
Logical argument. If |
Returns data in a long format.
If dat_wide
is from adcp_read_txt()
(i.e., bin altitude has
not been assigned), then the following columns are returned: timestamp_utc,
sensor_depth_below_surface_m (SensorDepth), bin_id (the default column
names when imported using read_adcp_txt; starts at V8), sea_water_speed_m_s
(WaterSpeed), and sea_water_to_direction_degree (WaterDirection).
If dat_wide
is from adcp_assign_altitude()
, then the
following columns are returned: timestamp_utc, sensor_depth_below_surface_m
(SensorDepth), bin_depth_below_surface_m, bin_height_above_sea_floor_m,
sea_water_speed_m_s (WaterSpeed), and sea_water_to_direction_degree
(WaterDirection).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.