Skip to contents

Plot prediction by year to temporary PDF file

Usage

plotPredictionByYear(
  prediction,
  to.pdf = TRUE,
  FUN.name = "orderByWeightedProbabilities",
  column.year = "year"
)

Arguments

prediction

prediction result as provided by e.g. runGompitzPrediction

to.pdf

if TRUE (default) the plot goes into a PDF file

FUN.name

name of function to be used to order the matrix of probabilities. Available functions: "orderByWeightedProbabilities", "orderByMostProbClassAndDecreasingProb"; default: "orderByWeightedProbabilities"

column.year

name of column containing the year