result.pic.scatterplot {phenmod} | R Documentation |
Scatterplot creation
Description
Creates a scatterplot out of result values.
Usage
result.pic.scatterplot(values, picPath=getwd(),
picName="beech-budburst", createFile=TRUE)
Arguments
values |
The values for which the scatterplot should be created. |
picPath |
The path where the png-files should be stored. |
picName |
The name of the created file with the scatterplot. |
createFile |
A boolean value determining wether a png-File will be created or not. |
Details
Creates a scatterplot out of result values. The observed values are shown at the abscissa and the modelled values at the ordinate.
Value
Returns nothing but stores the scatterplot as png-file with given path and filename.
Author(s)
Daniel Doktor, Maximilian Lange
See Also
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 scatterplot
result.pic.scatterplot(values=result.values,
picPath=getwd(), picName="beech_budburst",
createFile=FALSE)
[Package phenmod version 1.2-7 Index]