Displaying 1 result from an estimated 1 matches for "multifam".
Did you mean:
multicam
2010 Jun 07
1
Transforming list to data frame with corresponding columns
Hi all,
Consider the following.
a<-list(c("MHsub","MHsub","SFD","Duplex"))
b<-list(c("MHsub","MHsub","SFD"))
c<-list(c("MHpark","SFD","SFD"))
d<-list(c("MultiFam","MultiFam","MultiFam","Duplex"))
all<-list(a,b,c,d)
names(all)<-c("5","6","7","8")
all2<-list()
for(i in 1:length(all)){
all2[[i]]<-table(unlist(all[i]))
}
names(all2)<-names(all)
What i want to do is to pu...