Skip to content

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.

10 results for “from:Andreas Hary”

solving a complicated equation
Andreas Hary · Nov 6, 2005 · r-help

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...

Is there a function for this?
Andreas Hary · Jan 3, 2007 · r-help

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...

MS-Access and R
Andreas Hary · Jun 11, 2006 · r-help

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...

Exponentiate a matrix
Andreas Hary · Sep 21, 2006 · r-help

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...

How can I test temporal autocorrelation of binary data?
Andreas Hary · Oct 31, 2005 · r-help

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...

Reading large files in R
Andreas Hary · Aug 9, 2005 · r-help

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...

Cross-correlation function
Andreas Hary · Oct 20, 2005 · r-help

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...

Reading large files in R
Andreas Hary · Aug 8, 2005 · r-help

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...

RODBC and sqlColumns
Andreas Hary · Aug 17, 2005 · r-help

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...

SciViews-R_0.8-9 Console problem
Andreas Hary · Nov 30, 2005 · r-help

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 .