[R] Hmisc xYplot: two ablines?

Michael Kubovy kubovy at virginia.edu
Tue Jan 10 16:33:41 CET 2006


Dear r-helpers,

Happy New Year.

To a plot

xYplot(lo ~ vaR, groups = v, data = abc1.fp,aspect = "xy",
	xlab=expression(frac(abs( bold(v) ),abs( bold(a) ))),
	ylab = grid::textGrob(expression(paste(log, frac( italic(p) ( italic 
(v) ), italic(p) ( italic(a) )))) ),
	abline =list(a = 5.71442, b = -5.71442, col = 2)
)

I would like to add another abline such as abline = list(a = 8.8460,  
b = -8.8460, col = 3). Any advice?


_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/




More information about the R-help mailing list