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.
On 10/10/2010 04:11 PM, David Winsemius wrote: > length(matchPattern(fut_string, past_string)@start ) == 0 Wow, thanks a lot! I am still testing this, but it looks like this is a good replacement for grepl. Definitely, since...
Dear All, I am looking for an R implementation of the convergent cross mapping method (see http://bit.ly/XN8OZX and http://www.uvm.edu/~cdanfort/csc-reading-group/sugihara-causality-science-2012.pdf ) The method is presented as an...
Dear All, I am training a model using caret. Everything is fine, but the training will take several days. I wonder if there is the possibility of creating some checkpoints in caret so that the training of a complex model...
Dear All, I am working with functions of several variables, e.g. f(x,y,z). At some point, I would like to fix y and z and consider the resulting function of x only for numerical interation with the...
Dear All, I trained a model, let's call it mm, using caret+Cubist. When I type summary(mm), the output is rather long. This is because a Cubist model is a long set of rules, partially reminiscent of a...
Dear All, A semi-trivial question: suppose you want to carry out a linear regression of the kind y~x1+x2+x3 where x3 is a dichotomous variable assuming only 0 and 1 values (x1 and x2 are continuous variables...
Dear All, Probably a one liner, but I am banging my head against the floor. Consider the following DF <- data.frame( x=1:10, y=10:1, z=rep(5,10), a=11:20 ) mn<-names(DF) but then I...
Dear All, I need to find the (possible multiple) zeros of a function f within an interval. I gave uniroot a try, but it just returns one zero and I need to provide it with an interval [a,b] such...
Dear All, I hope this is not too off topic, but I am sure it has to be a one-liner in R. Suppose you have a population of size N and that you take a random sample of n...
Dear All, I am struggling with a simple problem. I did some online research, but I am still banging my head against the floor. I read a csv file into a data frame and I have a columns with entries...
Dear All, I am running (X)Ubuntu 9.10 for the amd64 architecture on both my laptop e desktop. I came across the posts http://ubuntuforums.org/showthread.php?t=1336062 http://www.mail-archive.com/r-sig-debian at...
Dear All, Consider the following trivial code snippet rm(list=ls()) name_vec <- c("color1", "color2") pdf("test_color.pdf") plot(seq(5), seq(5), main=paste(name_vec[1]," and ",name_vec[2], sep="")) dev.off() What I would...
Dear All, I am struggling with a the calculation of the type II error (i.e. what leads to the statistical power) for a 2 x 2 contingency table. I see that R can easily accomplish a lot with the...
Dear All, I cannot unfortunately provide any R code, otherwise I would not need to post this in the first place. I need to generate a sample of N positive non-zero integers such that their mean is *exactly* 2...
Dear All, While looking for a way to generate a Markov chain given a transition matrix, I found this http://bit.ly/1a1CFl8 but the example provided does not work on my machine > y<-numeric(100) > x=matrix(runif(16...
Dear All, In doing some fittings I tried several R packages and, for my specific problem, I get good results with the minpack.lm library, which implements the Levenberg-Marquardt (LM) algorithm for nonlinear least-square optimization. However, the nls...
Dear All, I used cran2deb in the past quite happily. I am now running debian squeeze on one of my machines (amd64 architecture) and planning to stick to it even after it is released as the new stable. I now...
Dear All, I am sure the solution is a one liner, but I am a bit struggling. Given a time series which starts at a given time t_ini, I would like to set a initial start time farther away...
Dear All, Unfortunately, I cannot come up with a script or a concrete example at this stage. I am trying to investigate statistically a card game (not a game like poker, but something more like Magic). There are various kinds...
Dear All, Consider a simple example a<-c(1,4,3,0,4,5,6,9,3,4) b<-c(0,4,5) c<-c(5,4,0) I would like to be able to tell whether a sequence is...
Can't find what you're looking for? Try searching with Google .