Hi I am in internship now. One of my goals is to describe variables.I have describe numbers and frequencies for the qualitative variables. I put all of my variables of interest in a list named var.quali and and used lapply to compute their frequencies and numbers with the function Frequences(which I computed myself)

I compute the function Frequences so that so that the NA values would not be took account

Frequences<-function(x,exclude,total)

{

freq (x,exclude = NA,total = TRUE)

}

var.quali<-lapply(Var.quali,Frequences)

Here are the results for some variables. I would like to sort them in a decreasing way for(each variable).