load_ClimateWizard_scenarios {chillR} | R Documentation |
Load climate wizard scenarios
Description
This is a slightly modified version of the load_temperature_scenarios function that can load climate scenarios downloaded with the getClimateWizardData and saved with the save_temperature_scenarios function. This separate function is necessary, because the climate scenarios are expressed as lists, with one element being a data.frame.
Usage
load_ClimateWizard_scenarios(path, prefix)
Arguments
path |
character string indicating the file path where the files are to be written. |
prefix |
character string specifying the prefix for all files. |
Value
a list of temperature scenarios.
Author(s)
Eike Luedeling
Examples
temps<-list(Element1=data.frame(a=1,b=2),Element2=data.frame(a=c(2,3),b=c(8,4)))
# save_temperature_scenarios(temps,path=getwd(),prefix="temperatures")
# temps_reloaded<-load_temperature_scenarios(path=getwd(),prefix="temperatures")
[Package chillR version 0.75 Index]