search for: fby1

Displaying 1 result from an estimated 1 matches for "fby1".

Did you mean: fb1
2014 Mar 19
2
Posible error en la documentación de "aggregate"
Hola compañeros, estaba utilizando la función "aggregate" y quería que tuviese en cuenta los NAs. He leido la documentación de dicha función y aparece esto: # and if you want to treat NAs as a group fby1 <- factor(by1, exclude = "") fby2 <- factor(by2, exclude = "") aggregate(x = testDF, by = list(fby1, fby2), FUN = "mean") (http://stat.ethz.ch/R-manual/R-patched/library/stats/html/aggregate.html) Pero el argumento exclude de la función factor, para que tenga e...