search for: lewinger

Displaying 8 results from an estimated 8 matches for "lewinger".

2006 Jul 31
2
math symbols and text with mtext()
...to appear on the next line? beta=c(1,-1) m=5 plot(1) mtext( bquote(paste( beta == .(paste( "(", paste(beta, collapse=", "), ") " )), "\n Expected # of true positives = ", .(m))), outer=TRUE, line=-3) Thanks in advance! Juan Pablo Lewinger, Ph.D. Department of Preventive Medicine Keck School of Medicine University of Southern California
2006 Sep 13
2
Retrieving value computed in inner function call
...Therefore, buried somewhere, there has to be a call to "g" with argument x=x.min which I would like to retrieve in order to avoid the extra call to "g" in the line before the return. Can this be done without too much pain? I'd very much appreciate any help. Juan Pablo Lewinger Department of Preventive Medicine University of Southern California
2007 Jun 19
3
Controlling text and strip arrangement in xyplot
...re "alpha" and "beta" stand for the corresponding greek symbols? (my difficulty here is not with the plotmath symbols but with controlling the text of the strips directly from the call to xyplot and not by renaming the levels of g1) I'd appreciate any help! Juan Pablo Lewinger Department of Preventive Medicine Keck School of Medicine University of Southern California
2007 Apr 17
2
Use of argument '...'
...but still don't understand why the following gives an error message: fun <- function(x, ...) x + y fun(1, y=2) I get: Error in fun(1, y = 2) : object "y" not found I'd appreciate any help in understanding this. R version 2.4.1 (2006-12-18) i386-pc-mingw32 ... Juan Pablo Lewinger Department of Preventive Medicine Keck School of Medicine University of Southern California 1540 Alcazar Street, CHP-220 Los Angeles, CA 90089-9011, USA
2007 Oct 18
2
image quality of plot inserted into PowerPoint
Dear R-helpers, I need to insert an R (2.6.0) generated plot containing semi-transparent colors into PowerPoint (2002). When I directly paste it from the clipboard or insert it as (enhanced) Metafile (I'm on Windows XP) the semi-transparent colors don't show. When I insert it at as a Bmp, Png or Jpeg and then convert to PDF the semitransparent colors do show but the quality of the image
2006 Jun 23
1
numeric variables converted to character when recoding missing values
...pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 2.1 year 2005 month 12 day 20 svn rev 36812 language R Juan Pablo Lewinger Department of Preventive Medicine Keck School of Medicine University of Southern California
2007 May 25
1
Speeding up resampling of rows from a large matrix
...d a half! Is there a way to speed this up so that the full 10,000 iterations take a reasonable amount of time (say a week)? My machine has an Intel Xeon 3.40GHz CPU with 1GB of RAM > sessionInfo() R version 2.5.0 (2007-04-23) i386-pc-mingw32 I would greatly appreciate any help. Juan Pablo Lewinger Department of Preventive Medicine Keck School of Medicine University of Southern California
2007 May 15
1
Efficiently reading random lines form a large file
..., what = "integer", skip=lineNumber[2]-1, nlines=1) + }) Read 296976 items Read 296976 items [1] 14.24 0.12 14.51 NA NA However, I'm wondering if there's an even faster way to do this. Is there? > sessionInfo() R version 2.4.1 (2006-12-18) i386-pc-mingw32 Juan Pablo Lewinger Department of Preventive Medicine Keck School of Medicine University of Southern California 1540 Alcazar Street, CHP-220 Los Angeles, CA 90089-9011, USA