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 ______________________________________________ R-help@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.