Displaying 3 results from an estimated 3 matches for "modalvalue".
2008 Aug 28
1
Interaction between aggregate() and length()
...;,'4','8','16','4','4')
,stringsAsFactors=FALSE)
aggregate(tt$t, list('idx'=tt$idx), length)
aggregate(as.factor(tt$t), list('idx'=tt$idx), length)
Any idea what is going on here? For the record, this also happens with
the modalvalue() function defined at
http://wiki.r-project.org/rwiki/doku.php?id=tips:stats-basic:modalvalue
(which also relies on length() ).
As a side note, this began as an attempt to determine sample size, for
which I've defined a function count <- function(x) { length(na.omit(x)) }.
No doubt the...
2007 Nov 13
2
modal
Hello,
I would like to know what's the function to calculate the modal of data.
Thanks.
_____________________________________________________________________________
l
[[alternative HTML version deleted]]
2012 Jul 11
4
MODE , VARIANCE , NTH PERCENTAILE
Hi,
Here i have an matrix like this,
ABC PQR XYZ MNO
------ ------- ------ --------
3 6 7 15
2 12 24 15
20 5 1 2
25 50 15 35
i need to get the
"MODE" - for each column-wise
"VARIANCE" - for