Learn R Programming

solaR (version 0.46)

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

Description

Convert a G0, Gef, ProdGCPV or ProdPVPS object into a zoo object with yearly values.

Usage

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

Arguments

object

A G0 object (or extended.)

complete

A logical.

Methods

signature(object = "G0")

The result is the G0y slot.

signature(object = "Gef")

If complete=FALSE (default) the result is the slot Gefy. If complete=TRUE it returns the slot G0y.

signature(object = "ProdGCPV")

If complete=FALSE (default) the result is the prody slot. If complete=TRUE the result includes the slots G0y and Gefy.

signature(object = "ProdPVPS")

If complete=FALSE (default) the result is the prody slot. If complete=TRUE the result includes the slots G0y and Gefy.