This function calculates the different terms in the 2D MSE equation, the rotation of EOFs and so on for a unique given model. This function is internally used by SailoR.Indices() and external users are not expected to use it.
UVError(U, V, Ensembles = FALSE)a vector including the zonal and meridional components of the reference dataset.
a vector including the zonal and meridional components of the model being compared.
if Ensembles is set to TRUE, M different models included in the data frame mod will be taken as a single model and the reference model is repeated M times for the calculation of the Sailor diagram.
The result is a list with a summary of the statistics obtained:
mean of the U dataset.
mean of the V dataset.
total variance of the U dataset.
total variance of the V dataset.
EOF matrix for the U dataset.
EOF matrix for the V dataset.
rotation matrix to express Ev as a rotation from Eu.
matrix with standard deviations of U (2x2 matrix).
matrix with standard deviations of V (2x2 matrix).
standard deviation of zonal component (U).
standard deviation of meridional component (U).
standard deviation of zonal component (V).
standard deviation of meridional component (V).
angle of EOF1 (U) with zonal axis.
angle of EOF1 (V) with meridional axis.
rotation angle from U EOFs to V EOFs.
root mean square error between U and V.
vector correlation squared in 2D as defined by Breaker, Gemmill and Crossby (1994).
eccentricity of the ellipses from the reference dataset.
eccentricity of the ellipses from the model dataset.
congruence coefficients (absolute value) for EOFs.
L. C. Breaker, W. H. Gemmill, and D. S. Crosby (1994). The application of a technique for vector correlation to problems in meteorology and oceanography. Journal of Applied Meteorology, 33(11), 1354-1365.
# NOT RUN {
# No examples are given as external users are not expected to use it
# }
Run the code above in your browser using DataLab