Here is a modified script that should work. In many cases where you
want the names of the element of the list you are processing, you
should work with the names:
test<-as.data.frame(cbind(round(runif(50,0,5)),round(runif(50,0,3)),round(runif(50,0,4
sapply(test, table)->vardist
sapply(test, fu
Hi List,
I am trying to label a barplot group with variable names when using
sapply unsucessfully.
I can't seem to extract the names for the indiviual plots:
test<-as.data.frame(cbind(round(runif(50,0,5)),round(runif(50,0,3)),roun
d(runif(50,0,4
sapply(test, table)->vardist
sapply(test, funct