[R] tapply, how to get level information

Antje niederlein-rstat at yahoo.de
Mon Jan 8 10:26:29 CET 2007


Hello,

I'm applying a self-written function to a matrix on basis of different 
levels.
Is there any way, to get the level information within the self-written 
function???

t <- tapply(mat, levels, plotDensity)

plotDensity <- function(x) {
	??? print(level(x)) ???
}

Antje



More information about the R-help mailing list