Re: [R] help regarding RPostgreSQL and R 2.12.2

2011-03-18 Thread Prof Brian Ripley
You haven't even told us your OS, but it sounds like it might be Windows. In any case, RPostgreSQL is (like RMySQL) not distributed in binary form, and you need to compile it from the sources against your PostgreSQL version (which does matter, including the compiler used to build it). This

Re: [R] Histograms with strings,

2011-03-18 Thread Jim Lemon
On 03/18/2011 09:06 AM, Khanvilkar, Shashank wrote: Hello, Thanks in advance for any help, I have read a CSV file in which there is a column for an IP addr as in: tmpInFile$V2 [1] "74.125.224.38" "74.125.224.38" "129.46.71.19" "129.46.71.19" [5] "129.46.71.19" "129.46.71.19" "129.46.71

Re: [R] plotting multiple figures on one page

2011-03-18 Thread Jim Lemon
scarlet wrote: > > Jim, > > Thanks for looking into this. The c without paste works. If the rq > model overrides the mfrow, I think I will have to piece together > individual plots using other software. I had a look at the plot.summary.rqs function and it does work out its own mfrow value and th

Re: [R] R² for non-linear model

2011-03-18 Thread Rubén Roa
> -Mensaje original- > De: Kjetil Halvorsen [mailto:kjetilbrinchmannhalvor...@gmail.com] > Enviado el: jueves, 17 de marzo de 2011 16:19 > Para: Rubén Roa > CC: Alexx Hardt; r-help@r-project.org > Asunto: Re: [R] R² for non-linear model > > see inline. > > On Thu, Mar 17, 2011 at 4:58 AM

Re: [R] R² for non-linear model

2011-03-18 Thread Dieter Menne
Bert Gunter wrote: > > You can't. R^2 has no (consistent, sensible) meaning for nonlinear models. > If you don't understand why not, get local help or do some reading. > There is no doubt that you are right, but Anna's question only shows that she is sandwiched between reviewers/supervisors who

Re: [R] lmm WITHOUT random factor (lme4)

2011-03-18 Thread ONKELINX, Thierry
Dear Mark, I'm cc'ing this to the mixed models list to get some input from other experts. For them a link to the entire thread: http://r.789695.n4.nabble.com/lmm-WITHOUT-random-factor-lme4-tp3384054p3384823.html My comment was based on what I have read in Zuur et al. (2009). What worries me i

Re: [R] calculating AUCs for each of the 1000 boot strap samples

2011-03-18 Thread taby gathoni
Brian, Thanks for the insights, i did manage to play around with the sample sizes and I have got some better results with both ROCR and pROC Thanks also to Andrija for providing the main code and insights. Thanks alot Taby --- On Thu, 3/17/11, Brian Diggs wrote: From: Brian Digg

Re: [R] Persistent storage between package invocations

2011-03-18 Thread Henrik Bengtsson
On Wed, Mar 16, 2011 at 6:00 AM, Hadley Wickham wrote: >> No.  First, please use path.expand("~") for this, and it does not >> necessarily mean the home directory (and in principle it might not expand at >> all).  In practice I think it will always be *a* home directory, but on >> Windows there ma

Re: [R] confirmatory factor analysis program in R

2011-03-18 Thread Dennis Murphy
The following search: library(sos) findFn('confirmatory factor analysis') finds several potential matches, the most direct of which appears to be the cfa() function in package lavaan. HTH, Dennis On Thu, Mar 17, 2011 at 7:28 PM, rvohen wrote: > Does someone have confirmatory factor analysis

Re: [R] help please: put output into dataframe

2011-03-18 Thread Dennis Murphy
Hi: Is this what you're after? fout <- function(x) { lim <- median(x) + c(-2, 2) * mad(x) x[x < lim[1] | x > lim[2]] } > apply(datafr1, 2, fout) $var1 [1] 17.5462078 18.4548214 0.7083442 1.9207578 -1.2296787 17.4948240 [7] 19.5702558 1.6181150 20.9791652 -1.3542099 1.8215087 -1

[R] Problem with Slope.test function

2011-03-18 Thread Антон Морковин
Hi all, I need to test the significnce of difference between slopes of two regression lines and regression line with theoretical line. I try to use Slope.test function from emu package, but an error occured... library(emu) d1<-data.frame(P1=c(1,2,3,5,7,8,9,13,14,15), P2=c(1,2,5,8,11,13,15,15,1

[R] Slope comparision

2011-03-18 Thread Антон Морковин
Hi all, I need to test the significnce of difference between slopes of two regression lines and regression line with theoretical line. Is it correct to use t-test in this situation? Here is my script: library(car) d1<-data.frame(P1=c(1,2,3,5,7,8,9,13,14,15), P2=c(1,2,5,8,11,13,1

[R] help regarding RPostgreSQL and R 2.12.2

2011-03-18 Thread Shaunak Bangale
Hi R-team, While using R 2.12.2, I came across a problem that it doesn't have RPostgreSQL package in the list of "install packages". As my original code was written in R 2.11.1, I could use the RPostgreSQL package. I am moving to R 2.12.2 to use the newly added package "xtable" in newer version

<    1   2