R/m2Set.R

m2Set <-
function (v=c(0)) {
      nv<-list();k<-0;
      for (i in 1:length( v ) ) for (j in 1:length(v[[i]][[1]]))
          if (!is.element( list(c(v[[i]][[1]][[j]])), nv) ) 
             { k<-k+1; nv[[k]]<-v[[i]][[1]][[j]]; }
  return(nv);
}

Try the kStatistics package in your browser

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

kStatistics documentation built on June 8, 2022, 5:05 p.m.