What is the name of the function to give me the mode (central tendancy) of a numeric variable that can be negative? [[alternative HTML version deleted]]
Raymond Balise wrote:> What is the name of the function to give me the mode (central tendancy) of a > numeric variable that can be negative?Similar questions appear occasionally on this list. Please see the following help page for possible solutions: http://tolstoy.newcastle.edu.au/R/help/04/02/1409.html Thomas P.
mode()... of course! Raymond Balise wrote:> What is the name of the function to give me the mode (central tendancy) of a > numeric variable that can be negative? > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > >-- Julian M. Burgos Fisheries Acoustics Research Lab School of Aquatic and Fishery Science University of Washington 1122 NE Boat Street Seattle, WA 98105 Phone: 206-221-6864
Julian Burgos wrote:> mode()... of course!Wrong. See ?mode "Get or set the type or storage mode of an object." Thomas P.> Raymond Balise wrote: >> What is the name of the function to give me the mode (central tendancy) of a >> numeric variable that can be negative? >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at stat.math.ethz.ch mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> >> >
Raymond Balise wrote: > What is the name of the function to give me the mode (central tendancy) of a > numeric variable that can be negative? Hi Raymond, Have a look at Mode (note the capital letter) in the prettyR package. Jim