All,
I am wondering how one might add a reference line or plane to a cloud or wireframe plot. I have been unable to figure this out. Let's say I would like to draw a reference for some value of wt in the example below: cl <- 54.1 age <- 10:80 wt <- 25:160 sim <- expand.grid(age = age,wt = wt) sim$cl <- cl*(sim$wt/70)**0.412 * (sim$age/50)**0.152 library(lattice) print(cloud(cl~wt*age, data = sim)) Any thoughts you could provide are greatly appreciated. Thank you! Steve Steve Riley, PharmD, PhD Clinical Pharmacology Specialty Care Medicines Development Group Pfizer Inc. 445 Eastern Point Rd MS 8260-2513 Groton, CT 06340 Email: steve.ri...@pfizer.com <mailto:steve.ri...@pfizer.com> Phone: (860) 441-3435 Fax: (860) 686-5672 [[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.