R/joint2.R

Defines functions joint2

joint2 <-
function(S,b1,M,bM)
{
if (!is.null(M)){
M<-(-M)
bM<-(-bM)
S1<-rbind(S,M)
b2<-c(b1,bM)
}
else 
{
S1<-S
b2<-b1
}
return(list(S1,b2))
}

Try the intpoint package in your browser

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

intpoint documentation built on May 29, 2017, 8:59 p.m.