R/concat.R

Defines functions concat

Documented in concat

concat <-
function(x1, x2){
lst <- NA
for (i in 1:dim(x1)[1]){
for(j in 1:dim(x2)[1]){
lst <- rbind(lst,c(x1[i,],x2[j,]))
}
}
return(lst[-1,])
}

Try the frt package in your browser

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

frt documentation built on May 2, 2019, 6:34 a.m.