Chillscatter: Create a scatter plot of chill and yield

Description Usage Arguments Examples

Description

Chill (x) and yield (y) scatter plot with associated and estimated densities (using a loess smooth) given by the red dot (mean) and red ellipses (1 and 2 sigma from mean). The red line going across the plot shows the linear fit. Histograms are shown with smooth lines (loess smooth linear fits) density curves. The numeric value in the upper right gives the Spearman correlation coefficient between chill portions and yield.

Usage

1
chillscatter(chill, yield)

Arguments

chill

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

yield

is a vector 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)
chillscatter(chill, yield)

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