Learn R Programming

solaR (version 0.46)

D_as.data.frameI-methods: Methods for Function as.data.frameI

Description

Convert a Sol object (or a extended class) into a data.frame with intradaily values.

Usage

# S4 method for Sol
as.data.frameI(object, complete=FALSE, day=FALSE)

Arguments

object

A Sol object (or extended.)

complete

A logical.

day

A logical.

Methods

signature(object = "Sol")

This function converts the object into a zoo container with the as.zooI function and then into a data.frame with as.data.frame. Besides, it includes three additional columns named month, day (day of year) and year.

See as.zooI-methods for a description of the arguments complete and day.