R/cross.R

Defines functions cross

Documented in cross

#' @export

cross <-
function(A,v){
    out=NULL
    for(i in 1:length(v)){out=rbind(out,cbind(as.matrix(A),v[i]))}
    out
}

Try the CLAST package in your browser

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

CLAST documentation built on April 8, 2022, 9:06 a.m.