chillviolin: Create a scatter plot of chill and yield

Description Usage Arguments Examples

View source: R/chillviolin.R

Description

Violin plots of chill portions (x) and yield (y) with six different intervals of chill portions. Determine different possible chill portion intervals by calculating the optimal interval width for chill portions using the IQR() function in the stats() package of R, after the Freedman-Diaconis rule (IQR = interquartile range).

Usage

1
chillviolin(chill, yield)

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.

Examples

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

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