Ano_CrossValid.Rd 1.46 KB
Newer Older
aho's avatar
aho committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Ano_CrossValid.R
\name{Ano_CrossValid}
\alias{Ano_CrossValid}
\title{Computes Anomalies In Cross-Validation Mode}
Ano_CrossValid(var_exp, var_obs, memb = TRUE)
aho's avatar
aho committed
\item{var_exp}{Model data:\cr
c(nmod/nexp, nmemb/nparam, nsdates, nltime) up to \cr
 c(nmod/nexp, nmemb/nparam, nsdates, nltime, nlevel, nlat, nlon).}
aho's avatar
aho committed

aho's avatar
aho committed
\item{var_obs}{Observational data: \cr
c(nobs, nmemb, nsdates, nltime) up to \cr
 c(nobs, nmemb, nsdates, nltime, nlevel, nlat, nlon).}
aho's avatar
aho committed

\item{memb}{TRUE/FALSE (1 climatology for each member/1 climatology 
averaging all the members). Default = TRUE.}
aho's avatar
aho committed
\item{$ano_exp}{Matrix with same dimensions as var_exp}
 \item{$ano_obs}{Matrix with same dimensions as var_obs}
aho's avatar
aho committed
}
\description{
Computes the anomalies from the arrays of the experimental and observational 
data output from \code{load()} by subtracting the climatologies computed 
with a cross-validation technique and a per-pair method.
# Load sample data as in Load() example:
example(Load)
anomalies <- Ano_CrossValid(sampleData$mod, sampleData$obs)
aho's avatar
aho committed
 \donttest{
PlotAno(anomalies$ano_exp, anomalies$ano_obs, startDates, 
aho's avatar
aho committed
       toptitle = paste('anomalies'), ytitle = c('K', 'K', 'K'), 
       legends = 'ERSST', biglab = FALSE, fileout = 'tos_ano_crossvalid.eps')
aho's avatar
aho committed
 }
aho's avatar
aho committed
History:\cr
aho's avatar
aho committed
 0.1 - 2011-12 (V. Guemas) - Original code\cr
 1.0 - 2013-09 (N. Manubens) - Formatting to CRAN
}
\keyword{datagen}