search for: stepy

Displaying 10 results from an estimated 10 matches for "stepy".

Did you mean: step
2009 Aug 04
2
can a key of a list be a variable
Hi, I search a solution to record data in dynamic structures in R. I have an algorithm that will be executed each step and whose output is an array of doubles with unknown size. The solution I found is to use lists 1) I initialise my list l <- list() 2) and at a step numbered i I conacatain the new tab to the list vect <- algorithm() l <<--c( l , list(stepi=vect)) The problem is
2002 Nov 25
3
Full enumeration, how can this be vectorized
...e parameter matrix. Could someone kindly give me a hint how this could be implemented? Thanks a lot, Daniel Code Snippet: fullEnumeration <- function(par, stepSize = c(.03, .03, .03)) { res <- Inf best.x <- -1 best.y <- -1 best.z <- -1 stepx <- stepSize[1] stepy <- stepSize[2] stepz <- stepSize[3] x <- seq(.01, 2, by=stepx) y <- seq(.01, 2, by=stepy) z <- seq(.01, 15, by=stepz) for (i in 1:length(x)) for (j in 1:length(y)) for (k in 1:length(z)) { # Pass the current best result to the function being mini...
2006 Jul 17
2
Quantreg error
Dear User, I got the following error running a regression quantile: > rq1<-rq(dep ~ ., model=TRUE, data=exo, tau=0.5 ); > summary(rq1) Erro em rq.fit.fnb(x, y, tau = tau + h) : Error info = 75 in stepy: singular design Any hint about the problem? Thanks a lot, ________________________________________ Ricardo Gon?alves Silva, M. Sc. Apoio aos Processos de Modelagem Matem?tica Econometria & Inadimpl?ncia Serasa S.A. (11) - 6847-8889 ricardosilva at serasa.com.br ****************************...
2011 Jan 25
1
Learn Vectorization (Vectorize)
...rize (or any other R thinking) My code takes as input a n*m matrix and prints the x,y coordinates where a cells starts and ends. remap <- function (sr){ # Input this funcion takes as arguments # sr: map startpos<- -1 # endpos<- +1 # stepx<- (endpos - (startpos)) / nrow(sr) stepy<- (endpos - (startpos)) / ncol(sr) for (i in seq(from=-1,to=1,by=stepx) ) { for (j in seq(from=-1,to=1,by=stepx) ){ cat(' \n',i,j) } } } sr<-matrix(data=seq(from=1,to=9),nrow=3,ncol=3,byrow=TRUE) remap(sr) Regards Alex
2014 Jun 26
2
[LLVMdev] -gcolumn-info and PR 14106
On Thu, Jun 26, 2014 at 3:39 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: > The main motivation for turning it off is that no known consumer (debugger) > took advantage of it. > > Turning it on does more than slightly increase the object file size, it can > cause the same source line to be listed multiple times in the .debug_line > table (with different
2015 May 26
2
Gcc issue on C7
I apologize up front, I'm sure this isn't the right place to ask, but I'm not sure where I should ask, instead. Hoping for some helpful hints in that regard... I'm using (trying to use...) the -fsanitize=thread feature. Though I'm finding the diagnostics rather cryptic, that isn't my issue here. Suddenly, a few days ago, I started getting this error while running the app
2009 Sep 22
7
[Bug 24092] New: X with nouveau hangs in nouveau_bo_map_range when doing anything
http://bugs.freedesktop.org/show_bug.cgi?id=24092 Summary: X with nouveau hangs in nouveau_bo_map_range when doing anything Product: xorg Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: Driver/nouveau
2015 May 26
0
Gcc issue on C7
Fred Smith wrote: > I apologize up front, I'm sure this isn't the right place to ask, but > I'm not sure where I should ask, instead. Hoping for some helpful hints > in that regard... > > I'm using (trying to use...) the -fsanitize=thread feature. Though I'm > finding the diagnostics rather cryptic, that isn't my issue here. > Suddenly, a few days ago,
2013 Apr 28
0
Positive Smoothing in fda package
Dear all, I'm trying to build some fda objects using smooth.pos() from fda package. Here is what I try: >X <-c(0.4541139, 0.4802537, 0.5091228, 0.3894931, 2.1512258, >7.9301281, 62.3876109, 54.1168247, 67.8769904, 91.0670615, 20.0682440) >basis <- create.bspline.basis(c(-100, 100), 7, 5) >MDA.fdPar <- fdPar(basis, 2, 0.01) >MDA.fda.joint <-
2017 Jun 19
0
quantreg::rq.fit.hogg crashing at random
...uble(rhs), d = as.double(d), as.double(u), beta = as.double(beta), eps = as.double(eps), wn = as.double(wn), wp = double((p + 3) * p), it.count = integer(2), info = integer(1)) } if (z$info != 0) warning(paste("Info = ", z$info, "in stepy: singular design: iterations ", z$it.count[1])) coefficients <- -z$wp[1:p] if (any(is.na(coefficients))) stop("NA coefs: infeasible problem?") list(coefficients = coefficients, nit = z$it.count, flag = z$info) } #----- Here is the main program tha...