Extracts the numeric depth values found in the observed data, as loaded by load_observed(). Can be filtered by variable.

get_depths(data, variable = NULL)

Arguments

data

as loaded by load_observed() (dataframe)

variable

only returns depths of the given variable when passed. leave blank for all. (string)

Value

Returns a numeric vector of depths