data(ExampleSpatialVxSet)
x <- ExampleSpatialVxSet$vx
xhat <- ExampleSpatialVxSet$fcst
q <- mean( c(c(x[x>0]),c(xhat[xhat>0])), na.rm=TRUE)
hold <- FeatureSuitePrep("xhat", "x")
hold2 <- convthresh(hold, smoothpar=5, thresh=q)
N <- max(c(length(hold2$X.feats), length(hold2$Y.feats)), na.rm=TRUE)
par(mfrow=c(1,2))
image.plot(hold2$X.labeled, col=c("grey", rainbow(N)), zlim=c(0,N))
image.plot(hold2$Y.labeled, col=c("grey", rainbow(N)), zlim=c(0,N))
look <- saller(hold2, hold)
summary(look)
data(pert000)
data(pert004)
hold <- FeatureSuitePrep("pert004", "pert000")
look <- convthresh( hold, smoothpar=10.5)
summary(look)
par( mfrow=c(1,2))
zl <- range(c(c(look$X.labeled),c(look$Y.labeled)),finite=TRUE)
image.plot(look$X.labeled, zlim=zl)
image.plot(look$Y.labeled, zlim=zl)
look2 <- deltamm( look, verbose=TRUE)
image.plot(look2$X.labeled)
image.plot(look2$Y.labeled)
Run the code above in your browser using DataLab