Carlos Morales wrote: > Hello everyone, > > > I would like to know if there is any function to calculate the mode value, or I have to build one to do it. > > Hi Carlos, If you mean the mode of a sample from a discrete distribution, try Mode in the prettyR package. Jim