[R] help with "macro" in R

David Winsemius dwinsemius at comcast.net
Wed Apr 7 00:39:41 CEST 2010


On Apr 6, 2010, at 6:29 PM, Changbin Du wrote:

> library(lattice)
>
> hisfunc<- function (vari) {
> histogram(~ vari|target, data=total, type="count", layout=c(1,3),
> labels=TRUE, main="Histograms by target", col="skyblue")
> }
>
> hisfunc(total$acid)
>
>
> HI, guys,
>
> I am using the hisfunc to get histograms for different variables,  
> for the
> title of the histogram, I want to have different name for each  
> variable. how
> can I  DO ?

Wait a minute. You're the same poster that asked an isomorphic  
question this morning and got an answer from Thomas Lumley. Is there  
something wrong with your mail client?


>
-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list