Re: [R] missing and replace

2017-04-27 Thread Fraser D. Neiman
Dear All, Replacing missing values with means is generally not a good idea: "Perhaps the easiest way to impute is to replace each missing value with the mean of the observed values for that variable. Unfortunately, this strategy can severely distort the distribution for this variable, leading t

Re: [R] F Distribution

2015-12-21 Thread Fraser D. Neiman
Dear Bob, You want... > qf( .95,1, 1) [1] 161.4476 Best, Fraser -Original Message- From: Robert Sherry [mailto:rsher...@comcast.net] Sent: Monday, December 21, 2015 2:51 PM To: R Project Help Subject: [R] F Distribution When I use a table, from a Schaum book, I see that for the 95 pe

Re: [R] textplot() in wordcloud package

2015-03-16 Thread Fraser D. Neiman
n you pass it the pos= parameter. Thank you one and all! Best, Fraser -Original Message- From: David L Carlson [mailto:dcarl...@tamu.edu] Sent: Monday, March 16, 2015 12:02 PM To: David L Carlson; Fraser D. Neiman; r-help@r-project.org Subject: RE: textplot() in wordcloud package An

[R] textplot() in wordcloud package

2015-03-13 Thread Fraser D. Neiman
foregoing code, The labels are to the right of the points, as 'pos=4' requests. Thanks! Fraser D. Neiman __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] R vs. RStudio?

2015-01-12 Thread Fraser D. Neiman
In my experience, another negative to RStudio is its performance when trying to access code or data files on a remote server over a VPN connection -- even modest files can take minutes to load and sometimes crash the session. The native R GUI seems to handle this better and I often am forced

[R] posterior probabilities from lda.predict

2014-08-29 Thread Fraser D. Neiman
Dear All, I have used the lda() function in the MASS library to estimate a set of discriminant functions to assign samples from a training set to one of six groups. The cross validation generates nearly perfect predictions for samples in the training set. Hooray! Now I want to use lda.predic

Re: [R] RODBC and PosgreSQL problems

2014-06-04 Thread Fraser D. Neiman
= \'Slip > Dip\' ')) WareID Ware 1 93 Slip Dip Thanks to Robbie and to all the folks on the R-Help list for their help. Best, Fraser From: Fraser D. Neiman Sent: Friday, May 30, 2014 2:00 PM To: r-help@r-project.org Subject: RODBC and PosgreSQL problems Dear All,

[R] RODBC and PosgreSQL problems

2014-05-30 Thread Fraser D. Neiman
Ware_pkey > sqlQuery(DRCch,paste(" + SELECT * + FROM tblCeramicWare + ")) [1] "42P01 7 ERROR: relation \"tblceramicware\" does not exist;\nError while executing the query" [2] "[RODBC] ERROR: Could not SQLE

[R] puzzling classical Mahalanobis distances from covMcd() {robustbase}

2012-07-27 Thread Fraser D. Neiman
Greetings, I am puzzled about why the _classical_ Mahalanobis distances that I get using the {stats} mahalanobis() function do not match the distances I get from the {robustbase} covMcd() function. Here is an example: x <- matrix(rnorm(10*3), ncol = 3) #here is the {stats} result: Sx <- cov(x) D