Learn R Programming

sarp.snowprofile (version 1.3.2)

summary.snowprofile: Summary of a single snowprofile

Description

Summary of a single snowprofile

Usage

# S3 method for snowprofile
summary(object, fast = FALSE, ...)

Value

data.frame

Arguments

object

snowprofile object

fast

boolean switch for twice as fast computation. downside: keep only length-1 meta data, i.e., discard latlon, or nlayers..

...

additional arguments for generic method

Author

shorton

Details

Creates a one row data.frame where each column contains metadata.

Metadata is determines as elements of the snowprofile object list that are length = 1. An exception is made for latlon where separate columns for lat and lon are produces.

A derived value nLayers is derived by counting the number of rows in $layers.

See Also

summary.snowprofileSet

Examples

Run this code

Profile <- SPgroup[[1]]
names(Profile)
summary(Profile)
lapply(SPgroup, summary)

Run the code above in your browser using DataLab