Learn R Programming

dendRoAnalyst (version 0.1.5)

plot_mov.cor: Plotting moving correlation with climate.

Description

This function plots the moving correlation i.e., output of mov.cor.dm.

Usage

plot_mov.cor(mov.cor.output, sig.only = T, ci = 0.95, clim_vars = "all")

Value

A plot with correlation.

Arguments

mov.cor.output

list the output of mov.cor.dm function.

sig.only

logical TRUE to plot only significant correlation.

ci

numeric confidence interval

clim_vars

array of climate variables or "all" for all climate variables.

Examples

Run this code
# \donttest{
library(dendRoAnalyst)
data(gf_nepa17)
data(ktm_rain17)
out_corr<-mov.cor.dm(df=gf_nepa17, Clim=ktm_rain17, TreeNum=1, win_size=21)
plot_mov.cor(mov.cor.output=out_corr, sig.only=TRUE, ci=0.95)# }


Run the code above in your browser using DataLab