result.pic.histogramm {phenmod} | R Documentation |
Histogramm Creation
Description
Creates histogramms of results.
Usage
result.pic.histogramm(values, picPath=getwd(),
picName="budburst-beech", silent=FALSE,
createFile=TRUE)
Arguments
values |
The data.frame with result values (can be created with |
picPath |
The path where the png-files should be stored. |
picName |
The name of the created files with the histogramms. |
silent |
A boolean value determining wether the function should generate output messages or not. |
createFile |
A boolean value determining wether a png-File will be created or not. |
Details
Creates histogramms of results (observed value, modelled value and difference of them).
Value
Returns nothing but creates histogramms as png-files with given path and filename.
Author(s)
Daniel Doktor, Maximilian Lange
See Also
result.extract.main
,result.main
Examples
## load preprocessed data
data(dataFinal)
## load spatial information
data(relatedGrid)
## set or load params
params <- c(0, 0.058326, 0.109494, 0.039178,
-10.34, -0.89, 18.11,-10.03,
28.61, 44.49)
## apply model
result <- pim.solve(params, dataFinal, model.no=11,
silent=FALSE, out2File=FALSE)
## extract essential results
result.values <- result.extract.main(
mask.grid=relatedGrid,
result.grid=result, model="pim",
interpolate=FALSE, silent=FALSE)
## create histogramm
result.pic.histogramm(values=result.values,
picPath=getwd(), picName="beech_budburst",
silent=FALSE, createFile=FALSE)
[Package phenmod version 1.2-7 Index]