Histogramm Creation

Share:

Description

Creates histogramms of results.

Usage

1
2
3
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 result.extract.main).

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

 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 histogramm
  result.pic.histogramm(values=result.values, 
		picPath=getwd(), picName="beech_budburst", 
		silent=FALSE, createFile=FALSE)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.