Learn R Programming

solaR (version 0.46)

D_as.zooM-methods: Methods for Function as.zooM

Description

Convert a G0, Gef, ProdGCPV or ProdPVPS object into a zoo object with monthly average of daily values.

Usage

# S4 method for G0
as.zooM(object, complete=FALSE)

Arguments

object

A G0 object (or extended.)

complete

A logical.

Methods

signature(object = "G0")

The result is the G0dm slot.

signature(object = "Gef")

If complete=FALSE (default) the result is the slot Gefdm. If complete=TRUE it returns the slot G0dm.

signature(object = "ProdGCPV")

If complete=FALSE (default) the result is the prodDm slot. If complete=TRUE the result includes the slots G0dm and Gefdm.

signature(object = "ProdPVPS")

If complete=FALSE (default) the result is the prodDm slot. If complete=TRUE the result includes the slots G0dm and Gefdm.