Learn R Programming

sarp.snowprofile (version 1.3.2)

print.snowprofile: Print snowprofile object

Description

Print snowprofile object

Usage

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

Value

object gets printed to console

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

Examples

Run this code

## 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)

Run the code above in your browser using DataLab