Try adding this line:
label <- eval(substitute(label), df, environment(formula))
On Sat, Apr 4, 2009 at 6:27 PM, Derek Ogle wrote:
> Sorry for posting this twice, but I still have not solved this problem
> and am hoping for some assistance.
>
>
>
> I am attempting to write a function that is fl
Hi,
It seems to me that you could write a generic function myplot() and
have different methods for each class of object (like plot does).
Either S3 or S4 classes would do I think. Then it is only a matter of
making each method work separately. In particular, the method for a
formula coul
Sorry for posting this twice, but I still have not solved this problem
and am hoping for some assistance.
I am attempting to write a function that is flexible enough to respond
to the user providing a formula (with a data= argument) or not (similar
to plot(x,y) versus plot(y~x,data=data)). I h
3 matches
Mail list logo