evaluate_lagged_cor

evaluate_lagged_cor(object, plot = TRUE)

Arguments

object

a lagged_scatter_result class object.

plot

return plot or not.

Value

A ggplot2 object.

Author

Xiaotao Shen shenxt1990@outlook.com

Examples

data("object", package = "laggedcor")
result = 
  evaluate_lagged_cor(object = object, plot = TRUE)
#> Warning: span too small.   fewer data values than degrees of freedom.
#> Warning: pseudoinverse used at -11.11
#> Warning: neighborhood radius 2.11
#> Warning: reciprocal condition number  0
#> Warning: There are other near singularities as well. 4.4521

result$score
#> [1] 0.9638464
result$plot