summary.snowprofileSet: Summarize multiple snowprofiles

Description Usage Arguments Value Author(s) See Also Examples

View source: R/summary.snowprofileSet.R

Description

Wrapper for summary.snowprofile, which only returns metadata for a single snowprofile object. summary.snowprofileSet provides metadata for multiple snowprofiles, which is useful for subsetting.

Usage

1
2
## S3 method for class 'snowprofileSet'
summary(object, ...)

Arguments

object

list of snowprofile objects

...

additional arguments for generic method

Value

data.frame

Author(s)

shorton

See Also

summary.snowprofile, rbind.snowprofileSet

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Extract metadata for a group of profiles
Metadata <- summary(SPgroup)
head(Metadata)

## Subsetting profiles with Metadata
Alpine <- SPgroup[Metadata$elev > 2000]
summary(Alpine)
Shallow <- SPgroup[Metadata$hs < 150]
summary(Shallow)
Week2 <- SPtimeline[summary(SPtimeline)$date > '2017-12-15']

sarp.snowprofile documentation built on July 25, 2020, 5:06 p.m.