[R] adding statistical output to a plot

Jim Lemon jim at bitwrit.com.au
Sun May 30 11:50:01 CEST 2010


On 05/29/2010 10:11 PM, dunner wrote:
> ... Perhaps "apply" simply doesn't deal with the colname and I have
> to try a completely different method? Or will apply pass enough information
> to the included function (mtab.norm) to allow me to annotate the plot?

It doesn't seem to, as I tried this on a different problem last night. I 
couldn't get the names to the called function with a matrix or a data 
frame. Finally just wrote a different (and probably much slower) apply 
function that would take different argument(s) for each vector.

Jim



More information about the R-help mailing list