plotTaylor(x, y, scale, pch, col, labels, pos, ...)y is a vector, it is converted first to a
one-column matrix).y.y.plotTaylor to more
child functions.x data are indicated with a bullet on the graph, appearing on the
lower edge to the right of the focus at a distance indicating the standard
deviation of x. The other points on the graph represent the columns
of y, coded automatically or with the supplied values of pch
and col. The example shows two tidal models of the Halifax sealevel data, computed
with tidem with just the M2 component and the S2 component;
the graph indicates that the M2 model is much better than the S2 model.
library(oce)
data(sealevel)
x <- elevation(sealevel)
M2 <- predict(tidem(sealevel, constituents="M2"))
S2 <- predict(tidem(sealevel, constituents=c("S2")))
plotTaylor(x, cbind(M2, S2))Run the code above in your browser using DataLab