search for: xtrim

Displaying 2 results from an estimated 2 matches for "xtrim".

Did you mean: trim
2009 Jul 24
0
xlim and ylim on npudens (np package)
...on functions estimated from data. Happily, the "np" package includes example code which gets most of the way there. The following tweak of the doc code gives me a nice cdf: library(np) library(datasets) data(faithful) f <- npudens(~eruptions+waiting,data=faithful) plot(f,cdf = TRUE, xtrim = -0.2, view = "fixed", main = "") ...but I'm currently stuck on how to set the x and y limits of this plot. It seems that xlim and ylim should be what I need, but the following doesn't affect the limits: plot(f,cdf = TRUE, xtrim = -0.2, view = "fixed", mai...
2010 Apr 07
0
exporting rotating plot into Powepoint
...t like the one generated from the following function into a PPT slide or something that can be viewed by reviewers of a journal: library(np) library(datasets) data(faithful) f <- npudens(~eruptions+waiting,data=faithful) plot(f,view="rotate",neval=100,phi=30,main="",xtrim=-0.2) Thanks! Gabriele Zoppoli, MD Ph.D. Fellow, Experimental and Clinical Oncology and Hematology, University of Genova, Genova, Italy Guest Researcher, LMP, NCI, NIH, Bethesda MD Work: 301-451-8575 Mobile: 301-204-5642 Email: zoppolig at mail.nih.gov