Package: dendroTools
Type: Package
Title: Linear and Nonlinear Methods for Analyzing Daily and Monthly
        Dendroclimatological Data
Version: 2.0.0
Authors@R: 
    person(
      given  = "Jernej",
      family = "Jevsenak",
      role   = c("aut", "cre"),
      email  = "jernej.jevsenak@gmail.com"
    )
Description: Provides methods for analyzing the relationships between
    tree-ring proxies and daily or monthly climate data. daily_response() and
    monthly_response() aggregate climate data over moving windows of
    different widths and positions, optionally extending into previous
    years. For each window, they calculate the correlation (Pearson,
    Spearman or Kendall) with a proxy, or the explained variance of linear
    models or Bayesian regularized neural networks with one or more proxies,
    and find the window with the strongest relationship.
    daily_response_seascorr() and monthly_response_seascorr() calculate
    partial correlations between a proxy and a primary climate variable,
    controlling for a second one, following 'seascorr' by Meko et al. (2011)
    <doi:10.1016/j.cageo.2011.01.013>. They also partition the variance
    explained in the optimal window between the two variables and can
    calculate the partial correlations of the second variable. The climate
    data in each window can be aggregated as means, sums and other
    statistics, or as the Standardized Precipitation-Evapotranspiration
    Index (SPEI) by Vicente-Serrano et al. (2010)
    <doi:10.1175/2009JCLI2909.1>, calculated from the climatic water balance
    that water_balance() derives from precipitation and temperature. The
    aggregated climate series can be detrended linearly or with the spline,
    mean, autoregressive and Friedman methods of dplR::detrend(). Windows
    that are not significant can be removed with a per-window test or with
    corrections for multiple testing. Bootstrap confidence intervals are
    available, and the optimal window can be checked for temporal stability
    and by cross-validation. compare_methods() compares multiple linear
    regression, neural networks, model trees and random forests for climate
    reconstruction. The methods are described in Jevsenak and Levanic (2018)
    <doi:10.1016/j.dendro.2018.01.005>, Jevsenak et al. (2018)
    <doi:10.1016/j.dendro.2018.10.001> and Jevsenak (2020)
    <doi:10.1016/j.dendro.2020.125753>.
License: GPL-3
URL: https://github.com/jernejjevsenak/dendroTools
BugReports: https://github.com/jernejjevsenak/dendroTools/issues
Encoding: UTF-8
LazyData: true
LazyDataCompression: xz
Suggests: testthat, rmarkdown, SPEI
Imports: ggplot2 (>= 2.2.0), brnn (>= 0.6), reshape2 (>= 1.4.2), scales
        (>= 0.4.1), stats, oce (>= 1.2-0), MLmetrics (>= 1.1.1), dplyr
        (>= 0.7.0), knitr (>= 1.19), magrittr (>= 1.5), plotly (>=
        4.7.1), randomForest (>= 4.6-14), Cubist (>= 0.2.2), lubridate
        (>= 1.7.4), psych (>= 1.8.3.3), boot (>= 1.3-22), viridis (>=
        0.5.1), dplR (>= 1.7.2)
Depends: R (>= 3.5.0)
NeedsCompilation: no
Repository: CRAN
VignetteBuilder: knitr
Config/roxygen2/version: 8.1.0
Packaged: 2026-11-23 05:29:08 UTC; JernejJ
Author: Jernej Jevsenak [aut, cre]
Maintainer: Jernej Jevsenak <jernej.jevsenak@gmail.com>
Date/Publication: 2026-11-23 07:50:30 UTC
