Hello,
I have another question. I would like to plot something within a self
written function (plotdensity) called by tapply
t <- tapply(mat, classes, plotdensity)
Now I would like to add each plot the class/level as title.
How can I do this?
Antje
Hi Jim,
jim holtman schrieb:
> Here is one way:
>
> t <- split(mat, classes)
> for (i in names(t)) plotdensity(t[[i]], main=i)
>
But then I don't use the advantages of the tapply anymore...
> What is the problem you are trying to solve?
I have a set of data (multiple files), which belong to
Hi Jim,
jim holtman schrieb:
> Here is one way:
>
> t <- split(mat, classes)
> for (i in names(t)) plotdensity(t[[i]], main=i)
>
But then I don't use the advantages of the tapply anymore...
> What is the problem you are trying to solve?
I have a set of data (multiple files), which belong to
But it does the same thing. What 'advantage' of tapply do you think that
you are missing? Performance is probably not impacted since most of the
time is in the plot.
On 2/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi Jim,
>
> jim holtman schrieb:
> > Here is one way:
> >
> > t <- sp