powered by
The reference time-series is the first of the list. The scatter plot regards only the common dates of the series. In addition to the plot, a linear function is adjusted forcing or not the interception by the origin.
p_scatter( files, intercept.zero = FALSE, remove.zero = FALSE, lg.axis = c(NA, NA), title = "Title" )
a table named "result" with 5 columns : variable name, size of the sample, correlation coefficient, regression line slope, interception
List of file names to proceed
TRUE/FALSE (default) force the interception by origin
TRUE / FALSE (default) remove the records with Value = 0 (e.g. precipitations)
Legend list for axis x & y (default = NA)
Title of the plot (default: Title)
P. Chevallier - Oct 2017-Apr 2023
if (FALSE) { result <- p_scatter(files = c("foo1.RData","foo2.RData"), intercept.zero = TRUE) }
Run the code above in your browser using DataLab