Learn R Programming

FIT (version 0.0.6)

load.weather: Loads weather data.

Description

Loads weather data.

Usage

load.weather(path, variable = NULL, entries = IO$weather.entries)

Arguments

path

A path of a file that contains weather data to be loaded. When the file is a loadable .Rdata, name of the dataframe object in the .Rdata (that actually contains the relevant data) has to be specified as well.

variable

An optional string that designates the name of a dataframe object that has been saved in an .Rdata. (See the description of path.)

entries

An optional string array that designates the entries of the dataframe to be loaded.

Value

An object that reprents the timeseries data of weather factors. Internally, the object holds a dataframe of size ntimepoints * nfactors.