p_scatter {htsr} | R Documentation |
Scatter plot of 2 or more time-series
Description
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.
Usage
p_scatter(
files,
intercept.zero = FALSE,
remove.zero = FALSE,
lg.axis = c(NA, NA),
title = "Title"
)
Arguments
files |
List of file names to proceed |
intercept.zero |
TRUE/FALSE (default) force the interception by origin |
remove.zero |
TRUE / FALSE (default) remove the records with Value = 0 (e.g. precipitations) |
lg.axis |
Legend list for axis x & y (default = NA) |
title |
Title of the plot (default: Title) |
Value
a table named "result" with 5 columns : variable name, size of the sample, correlation coefficient, regression line slope, interception
Author(s)
P. Chevallier - Oct 2017-Apr 2023
Examples
## Not run:
result <- p_scatter(files = c("foo1.RData","foo2.RData"),
intercept.zero = TRUE)
## End(Not run)
[Package htsr version 2.1.5 Index]