search for: bpname

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

Did you mean: byname
1999 Jul 06
2
eval(), expression()
Dear R-Users! My aim is to produce boxplots without the outliers included in the plot. I started to write a function that looks something like: myboxplot <-function(x,fa) { bpdata <- boxplot(x~fa,plot=FALSE) bpnames <- names(bpdata) for (JJ in bpnames) { command <- paste("bpdata$",JJ,"$out <- numeric(0)",sep=""); eval(command) } bxp(bpdata) } Obviously this does not work as I intended since the argument of eval() should be of type expression. However, wi...