Learn R Programming

solaR (version 0.46)

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

Description

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

Usage

# S4 method for Sol
as.zooD(object, complete=FALSE)

Arguments

object

A Sol object (or extended.)

complete

A logical.

Methods

signature(object = "Sol")

Conversion to a zoo object with the content of the solD slot.

signature(object = "G0")

If complete=FALSE (default) the result includes only the columns of G0d, D0d and B0d from the G0D slot. If complete=TRUE it returns the contents of the slots solD and G0D.

signature(object = "Gef")

If complete=FALSE (default) the result includes only the columns of Gefd, Defd and Befd from the GefD slot. If complete=TRUE it returns the contents of the slots solD, G0D and GefD

signature(object = "ProdGCPV")

If complete=FALSE (default) the result includes only the columns of Eac, Edc and Yf from the prodD slot. If complete=TRUE it returns the contents of the slots solD, G0D, GefD and prodD.

signature(object = "ProdPVPS")

If complete=FALSE (default) the result includes only the columns of Eac, Qd and Yf from the prodD slot. If complete=TRUE it returns the contents of the slots solD, G0D, GefD and prodD.