# NOT RUN {
require(rioja)
data(SWAP)
data(RLGH)
rlgh.js <- jointsig(spp = sqrt(SWAP$spec), fos = sqrt(RLGH$spec), var1 = SWAP$pH,
var2 = sample(SWAP$pH), method = "randomTF", n = 99, r = 32, fun = WA, col = 1)
#nonsense second variable
plot(rlgh.js, c("acid", "alkaline"), c("down", "up"))
# }
Run the code above in your browser using DataLab