Dear All,

Happy new year!

wonder if you could help with the following:

we have:

hist(runif(1000,0,100),xlab=expression(AUC[0 - 24]~ (xyz)),ylab="Frequency")


the plan is to have part of the xlab expression change dynamically, 
specifically the values of 0 and 24 should be able to update 'automatically" , 
based on vectors low and high, so if we had:
low <-24
high <-48
then we should have this:

hist(runif(1000,0,100),xlab=expression(AUC[24 - 48]~ (xyz)),ylab="Frequency")


appreciate your insights,

Andras

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to