Re: [R] Lattice package par.settings/trellis.par.settings questions

2006-08-18 Thread Haynes, Maurice \(NIH/NICHD\) [E]
I am also trying to learn about lattice plots. To get a succinct listing of the names of the lists of default parameter settings, try: names(trellis.par.get()) To get a succinct listing of all the default parameter settings, try: str(trellis.par.get()) HTH, Maurice Haynes -Original

Re: [R] Creating SAS transport files

2006-08-11 Thread Haynes, Maurice \(NIH/NICHD\) [E]
See the argument package=SAS to the function write.foreign() in the package foreign. HTH Maurice Haynes -Original Message- From: Bill Knebel [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 2:16 PM To: r-help@stat.math.ethz.ch Subject: [R] Creating SAS transport files Is

Re: [R] Plot problems: xlim

2005-12-23 Thread Haynes, Maurice \(NIH/NICHD\) [E]
Hi, I believe Jim Lemon's solution requires his plotrix package. Maurice Haynes National Institutes of Health Child and Family Research Section -Original Message- From: Jim Lemon [mailto:[EMAIL PROTECTED] Sent: Friday, December 23, 2005 10:12 PM To: Ronnie Babigumira Cc: R Help

[R] Code to replace nested for loops

2005-03-16 Thread Haynes, Maurice (NIH/NICHD)
Dear list members, How can I replace the nested for loops at then end of the script below with more efficient code? # Begin script__ # Dichotomous scores for 100 respondents on 3 items with # probabilities of a correct response = .6, .4, and .7,

[R] R code for var-cov matrix given variances and correlations

2004-12-21 Thread Haynes, Maurice (NIH/NICHD)
Dear list members, Where can I find code for computing the p*p variance-covariance matrix given a vector of p variances (ordered varA, varB, ..., varp) and a vector of all possible correlations (ordered corAB, corAC, ..., corp-1,p)? I know that the covariance between 2 variables is equal to

RE: [R] Installation on Windows XP

2004-05-05 Thread Haynes, Maurice (NIH/NICHD)
David, See the message of Duncan Murdoch to another user which I have pasted next: On Mon, 26 Apr 2004 09:56:29 -0700, Brett Melbourne [EMAIL PROTECTED] wrote : Alain, I'm sure you'll find that the Windows critical update KB835732 has been installed on your machine. This is most likely the

[R] Levene test of homogeneity of variance

2003-08-14 Thread Haynes, Maurice (NIH/NICHD)
Has the Levene test of homogeneity of variance been implemented in any library in R? Thanks, Maurice Haynes National Institute of Child Health and Human Development Child and Family Research Section 6705 Rockledge Drive Bethesda, MD 20892 Voice: 301-496-8180 Fax: 301-496-2766 E-Mail: [EMAIL

[R] Printing linefeeds using sprintf

2003-08-14 Thread Haynes, Maurice (NIH/NICHD)
Is there a way to print complex, multi-line text and numeric output with good control of the field width and precision of numeric values? In the first example in the R Documentation for the sprintf function, there appears to be a linefeed code \n, but it is printed literally. sprintf(%s is %f