View source: R/snowprofileLayers.R
format_snowprofileLayers | R Documentation |
Calculate missing data.frame columns based on the given ones, if possible.
format_snowprofileLayers(
obj,
target = "all",
hs = NA,
maxObservedDepth = NA,
validate = TRUE,
dropNAs = TRUE
)
obj |
snowprofileLayers object |
target |
string, indicating which fields are auto-filled ('all', 'height', 'depth', 'thickness', 'none') |
hs |
total snow height (cm) if not deductible from given fields |
maxObservedDepth |
the observed depth of the profile from the snow surface downwards.
Will only be used, if no |
validate |
Validate |
dropNAs |
Do you want to drop all columns consisting of NAs only? |
copy of obj with auto-filled columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.