print-methods: print-methods: Create a method to print Gwex objects.

Description Usage Arguments Examples

Description

print-methods: Create a method to print Gwex objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S4 method for signature 'Gwex'
print(x)

## S4 method for signature 'GwexObs'
print(x)

## S4 method for signature 'GwexFit'
print(x)

## S4 method for signature 'GwexSim'
print(x)

Arguments

x

Gwex object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Format dates corresponding to daily observations of precipitation and temperature
vecDates = seq(from=as.Date("01/01/2005",format="%d/%m/%Y"),
to=as.Date("31/12/2014",format="%d/%m/%Y"),by='day')

# build GwexObs object with temperature data
myObsTemp = GwexObs(variable='Temp',date=vecDates,obs=dailyTemperGWEX)

# print GwexObs object
myObsTemp

# print GwexFit object
myParPrecGWEX 

GWEX documentation built on Dec. 9, 2019, 5:08 p.m.