result.pic.scatterplot: Scatterplot creation

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Creates a scatterplot out of result values.

Usage

1
2
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

result.main

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  ## 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)

phenmod documentation built on May 1, 2019, 8:46 p.m.