Learn R Programming

sarp.snowprofile (version 1.3.2)

rbind.snowprofileSet: Concatenate snowprofileSet into a large data.frame with a row for each layer

Description

A wrapper to apply rbind.snowprofile to each profile in a snowprofileSet then concatenate

Usage

# S3 method for snowprofileSet
rbind(..., deparse.level = 1)

Value

data.frame

Arguments

...

Object of class snowprofileSet

deparse.level

Argument for generic rbind method

Author

shorton

Details

Returns a large data.frame with a row for each layer and additional columns with metadata (calculated with summary.snowprofile)

See Also

summary.snowprofile, rbind.snowprofile

Examples

Run this code

## Create rbind table
ProfileTable <- rbind(SPgroup)
head(ProfileTable)

## Filter by layer properties
SHlayers <- subset(ProfileTable, gtype == 'SH')
summary(SHlayers)
plot(elev ~ gsize, SHlayers)

Run the code above in your browser using DataLab