D_as.data.frameM-methods {solaR}R Documentation

Methods for Function as.data.frameM

Description

Convert a G0 object (or a extended class) into a data.frame with monthly values.

Usage

## S4 method for signature 'G0'
as.data.frameM(object, complete=FALSE)

Arguments

object

A G0 object (or extended.)

complete

A logical.

Methods

signature(object = "G0")

This function converts the object into a zoo container with the as.zooM function and then into a data.frame with as.data.frame. Besides, it includes two additional columns named month and year.

See as.zooM-methods for a description of the argument complete.

Author(s)

Oscar Perpiñán Lamigueiro


[Package solaR version 0.46 Index]