R/sfl2statslist.R

sfl2statslist<-function(sformlist,type=1){
   outpm<-vector("list",length=length(sformlist))
   if(type==1){
      for(i in 1:length(sformlist)){
         outpm[[i]]$global<-sformlist[[i]]
      }
   }
   if(type==2){
      for(i in 1:length(sformlist)){
         outpm[[i]]$local<-sformlist[[i]]
      }
   }
   names(outpm)<-names(sformlist)
   return(outpm)
}

Try the informR package in your browser

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

informR documentation built on May 1, 2019, 9:22 p.m.