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

Description Usage Arguments Examples

View source: R/chillkernelslicerange.R

Description

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

Usage

1
chillkernelslicerange(chill, yield, min_chill, max_chill)

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.

min_chill

is a value of the lowest expected amount of chill for which the yield should be estimated (must be < expectedhighchill).

max_chill

is a value of the highest expected amount of chill for which the yield should be estimated (must be > expectedlowchill).

Examples

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

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