search for: themoderesult

Displaying 2 results from an estimated 2 matches for "themoderesult".

2004 Nov 26
0
Modes again
...# create a table with the values sorted by frequency sortvar <- sort(table(x)) # get the max frequency maxfreq <- max(sortvar) # find values with high frequency modeTable <- which(sortvar == maxfreq) # get the name (value) of the most frequent value themoderesult <- names(modeTable) # Report return(themoderesult) # data(CO2) # modus(CO2$uptake) # rm(CO2) } -- Lep pozdrav / With regards / Con respeto, Gregor GORJANC --------------------------------------------------------------- University of Ljubljana Biotechnical Facul...
2004 Nov 26
0
Modes again
...# create a table with the values sorted by frequency sortvar <- sort(table(x)) # get the max frequency maxfreq <- max(sortvar) # find values with high frequency modeTable <- which(sortvar == maxfreq) # get the name (value) of the most frequent value themoderesult <- names(modeTable) # Report return(themoderesult) # data(CO2) # modus(CO2$uptake) # rm(CO2) } -- Lep pozdrav / With regards / Con respeto, Gregor GORJANC --------------------------------------------------------------- University of Ljubljana Biotechnical Facul...