Learn R Programming

GWEX (version 1.0.2)

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

Description

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

Usage

# S4 method for Gwex
print(x)

# S4 method for GwexObs print(x)

# S4 method for GwexFit print(x)

# S4 method for GwexSim print(x)

Arguments

x

'>Gwex object

Examples

Run this code
# NOT RUN {
# 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 
# }

Run the code above in your browser using DataLab