machine_predictor_lineplot: Lineplot of predict by raster stack and machine learning...

Description Usage Arguments Value Author(s)

View source: R/machine_predictor_lineplot.R

Description

This functions applies one machine learning model on a given rasterstack

Usage

1
2
3
4
5
6
7
8
9
machine_predictor_lineplot(
  rstack,
  location,
  yname,
  ylim = c(0, 100),
  rollingaverage = 1,
  threshold = FALSE,
  aggregate_x_ticks = 5
)

Arguments

rstack

list containing an raster stack of predictions as created by ´machine_predictor´. The names of the rasters are expected to be in the format "X20180515" for the date 2018-05-15

location

sp object containing location information

yname

name for the y axis

ylim

default = c(0,100); limits of the y axis

rollingaverage

default = 1; how many points should be averaged for the line

threshold

default = FALSE; numeric which indicates a red threshold line on the y axis

aggregate_x_ticks

default = 5; how many ticks should the x axis have?

Value

plot

Author(s)

Wolfgang Hamer


whamer/papros documentation built on Feb. 6, 2021, 8:54 a.m.