chillkernelslice: Estimated yield given the expected chill, based on a slice of...

Description Usage Arguments Examples

View source: R/chillkernelslice.R

Description

Plot representing probabilities (shown along the y-axis) for the expected yield (shown along the x-axis). This is a cut through the density kernel from pasitR::chillkernel() function, which integrates to 1, the probability values are relative, not absolute measures.

Usage

1
chillkernelslice(chill, yield, expectedchill)

Arguments

chill

is a list of observed annual chill portions corresponding to another list with annual yields.

yield

is a list of observed annual yields corresponding to another list with annual chill portions.

expectedchill

is a value of expected chill for which the yield should be estimated.

Examples

1
2
3
chill <- sample(x = 1:50, size = 20, replace = TRUE)
yield <- sample(x = 1000:5000, size = 20, replace = TRUE)
chillkernelslice(chill, yield, expectedchill = 30)

CWWhitney/pasitR documentation built on March 30, 2021, 5:36 a.m.