R/yf.R

yf <-
function(p=cbind(1,1,1)/3,M=tsetup()$M32) {
   n <- nrow(p)
   yout <- NA*p[,1] # default for fault finding
   for (i in 1:n){
    if(!is.na(p[i,2]))
                  yout[i] <-  (M %*% p[i,])[2]
   }
   cbind(yout)
}

Try the ternvis package in your browser

Any scripts or data that you put into this service are public.

ternvis documentation built on July 5, 2019, 5:03 p.m.