% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dm_normalize.R
\name{plot.dm_standardized}
\alias{plot.dm_standardized}
\title{Plot method for standardized dendrometer output}
\usage{
\method{plot}{dm_standardized}(
  x,
  y = NULL,
  trees = "all",
  type = c("series", "seasonal", "heatmap", "boxplot"),
  x_axis = c("time", "doy", "season_doy"),
  facet_by = c("tree", "season_year", "none"),
  legend_by = c("season_year", "tree", "none"),
  in_season_only = TRUE,
  box_group = c("tree", "season_year"),
  alpha = 0.8,
  line_size = 0.45,
  point_size = 1.6,
  ...
)
}
\arguments{
\item{x}{Object of class \code{"dm_standardized"} returned by
\code{dm_standardize()}.}

\item{y}{Unused.}

\item{trees}{Character vector of dendrometer series to plot, or \code{"all"}
for all series.}

\item{type}{Plot type. One of:
\itemize{
  \item \code{"series"}: standardized time series over calendar time
  \item \code{"seasonal"}: standardized seasonal trajectories by seasonal day
  \item \code{"heatmap"}: heatmap of standardized values by seasonal day and seasonal year
  \item \code{"boxplot"}: distribution of standardized values
}}

\item{x_axis}{For \code{type = "series"}, x-axis style:
\code{"time"}, \code{"doy"}, or \code{"season_doy"}.}

\item{facet_by}{Faceting option. One of \code{"tree"}, \code{"season_year"},
or \code{"none"}.}

\item{legend_by}{Legend grouping. One of \code{"tree"}, \code{"season_year"},
or \code{"none"}.}

\item{in_season_only}{Logical. If \code{TRUE}, only observations inside the
defined season are plotted.}

\item{box_group}{For \code{type = "boxplot"}, grouping variable on the x-axis:
\code{"tree"} or \code{"season_year"}.}

\item{alpha}{Line or point transparency.}

\item{line_size}{Line width.}

\item{point_size}{Point size.}

\item{...}{Unused.}
}
\value{
A \code{ggplot2} object, returned invisibly.
}
\description{
S3 plotting method for objects returned by \code{dm_standardize()}.
}
\examples{
\donttest{
data(gf_nepa17)

out_std <- dm_standardize(
  df = gf_nepa17,
  season_type = "NH",
  method = "robust_amplitude"
)

plot(out_std)
plot(out_std, type = "seasonal")
plot(out_std, type = "seasonal", facet_by = "tree", legend_by = "season_year")
plot(out_std, type = "seasonal", facet_by = "season_year", legend_by = "tree")
plot(out_std, type = "heatmap", facet_by = "tree")
plot(out_std, type = "boxplot", facet_by = "tree", legend_by = "season_year")
}

}
