print.snowprofile: Print snowprofile object

View source: R/snowprofile.R

print.snowprofileR Documentation

Print snowprofile object

Description

Print snowprofile object

Usage

## S3 method for class 'snowprofile'
print(x, pretty = TRUE, nLayers = NA, ...)

Arguments

x

snowprofile object

pretty

pretty print the object (data.frame-like instead of list-like)

nLayers

only print the first few layers (cf., head)

...

passed to print.default

Value

object gets printed to console

Examples


## pretty print
SPpairs$A_manual
## or alternatively:
print(SPpairs$A_manual)
## reduce number of layers printed:
print(SPpairs$A_manual, nLayers = 6)

## print profile non-pretty (i.e., like the data is stored):
print(SPpairs$A_manual, pretty = FALSE)


sarp.snowprofile documentation built on March 31, 2023, 5:17 p.m.