Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Try something like this: > g <- function(x) return(p-a*exp(-x^2/2)+b*pnorm(x,0,1,lower.tail=F)) > p <- -0.5 > a <- 1 > b <- 1 > uniroot(g,c(-100,10)) $root [1] -1.336607 $f.root...
Try the following: act <- c('good','good','bad','bad','good','good','bad','bad') pred <- c('good','bad','bad','bad','good','good','good','bad') table(pred,act) table(pred,act)/apply(table(pred,act),1,sum) Cheers, Andreas On 1/3...
Have a look at odbcConnectAccess in the RODBC package. Cheers, Andreas ----- Original Message ----- From: "Carsten Steinhoff" <carsten.steinhoff at gmx.de> To: <r-help at stat.math.ethz.ch> Sent: Sunday, June 11, 2006 11:24 AM Subject: [R] MS...
There is also mexp in the Matrix package and MatrixExp in the msm package. Andreas ----- Original Message ----- From: "Dimitrios Rizopoulos" <Dimitris.Rizopoulos at med.kuleuven.be> To: "Duncan Murdoch" <murdoch at stats.uwo.ca> Cc: "Doran, Harold" <HDoran at air...
Since the data is dichotomous already, the nonparametric 'runs test' might be appropriate, though I am ignorant as to its properties (power in particular). help(runs.test,package=tseries) Regards, Andreas ----- Original Message ----- From: "Patrick Burns" <pburns at pburns.seanet...
Brief correction: it should read >> van.call <- call('sqlQuery',con,query='select * from vandrivers;') rather than >> van.call <- sqlQuery(con,'select * from vandrivers;') The latter statement would load the data into memory as usual. Best wishes, Andreas ----- Original Message ----- From...
I have reproduced your error using the following goo1 <- rnorm(100,0,1) goo2 <- rnorm(100,0,1) goo <- cbind(goo1,goo2) goo[2,1] <- NA ccf(ts(goo[,1]),ts(goo[,2]),na.action='na.exclude',type='cor') Error...
You can also use the RODBC package to hold the data in a database, say MySQL and only import it when you do the modelling, e.g. > library(RODBC) > library(sspir) > con <- odbcConnect("MySQL Test") > data(vandrivers) > sqlSave(con,dat...
Try append = F, that works for me. A ----- Original Message ----- From: "Ben Stabler" <bstabler at ptvamerica.com> To: <r-help at stat.math.ethz.ch> Sent: Wednesday, August 17, 2005 3:52 PM Subject: Re: [R] RODBC and sqlColumns > Ok...
Hi, > [...] the command/script window does not appear. [...] Have you tried Misc => Toolbars => Command on the menu? Don't click until you get to Command, otherwise the menu closes again for some reason. Regards, Andreas ----- Original Message ----- From: "Henrik Parn...
Can't find what you're looking for? Try searching with Google .