# NOT RUN {
valstats(c(0,1,2), c(.01,.01,.01), c(0,1.1,1.9))
valstats(cbind(c(0,1,2), c(1,2,3)),
cbind(c(.01,.01,.01),c(.1,.1,.1)),
cbind(c(0,1.1,1.9),c(1,2,3)))
valstats(cbind(c(0,1,2), c(8,12,34)),
cbind(c(.01,.01,.01),c(1.1,.81,1.1)),
cbind(c(0,1.1,1.9),c(10,20,30)), bydim=FALSE)
valstats(cbind(c(.8,1.2,3.4), c(8,12,34)),
cbind(c(.01,.01,.01),c(1.1,.81,1.1)),
cbind(c(1,2,3),c(10,20,30)), bydim=FALSE)
# }
Run the code above in your browser using DataCamp Workspace