similar to: Help in building new function

Displaying 20 results from an estimated 3000 matches similar to: "Help in building new function"

2009 Feb 04
1
Foreign function call
Let me get more specific. I think it this can be answered then I can translate the information to other calls. In the arima 'R' code there is a reference to .Call(R_TSconv, a, b) If from the console I type: > .Call(R_TSConv, c(1,-1), c(1,-1)) I get: Error: object "R_TSConv" not found If I do > getNativeSymbolInfo("R_TSConv") I get: Error in
2009 Mar 04
2
modifying a built in function from the stats package (fixing arima)
Dear Carlos and Kjetil, Thanks for your answer. >I do not think that is the way to go. If you believe that your algorithm >is better than the existing one, talk to the author of the package and >discuss the improvement. The whole community will benefit. I should be able to *easily* modify it and test it first! >Copy the existing function into a new file, edit it and load it via
2009 Mar 05
2
modifying a built in function from the stats package (fixing arima)
>If you ***look at the code*** for arima you will see that ``%+%'' is >defined >in terms of a call to ``.Call()'' which calls ``R_TSconv''. So >apparently >R_TSconv is a C or Fortran function or subroutine in a ``shared >object library'' >or dll upon which arima depends. Hence to do anything with it you'll >need to get >that shared
2009 Mar 03
2
modifying a built in function from the stats package (fixing arima)
Dear members of the list, I'm a beginner in R and I'm having some trouble with: "Error in optim(init[mask], armafn, method = "BFGS", hessian = TRUE, control = optim.control, : non-finite finite-difference value [8]" when running "arima". I've seen that some people have come accross the same problem:
2001 Oct 15
3
fixme:ole:CoRegisterMessageFilter stub
Hi all! Well, I`m trying using a Windows mail client in Linux, called Becky (very good). The program was installed with success, but there a one problem when I try read the messages: ---------------------------------------------------------- [root@anapaula B2]# wine B2.exe fixme:ole:CoRegisterMessageFilter stub err:treeview:TREEVIEW_Sort invalid item hParent=0 err:imagelist:ImageList_Remove
2016 Jul 05
3
ayuda frecuencia asistencia clase
Estimados usurios-R: Tengo una lista de alumnos. Hay alguna forma de sacar una tabla de frecuencias por la asistencia a clases mensual. Es decir cuantos días concurrió cada alumno en el mes. Supongamos que la lista está conformada por ocho alumnos, el curso duró 4 días y quiero saber cuantos días concurrió cada uno al curso poniendolo en la columna mes. Quisiera obtener un cuadro así: Alumnos
2009 Mar 03
1
modifying a built in function from the stats package (fixing arima)
Dear members of the list, I''m a beginner in R and I''m having some trouble with: "Error in optim(init[mask], armafn, method = "BFGS", hessian = TRUE, control = optim.control, : non-finite finite-difference value [8]" when running "arima". I''ve seen that some people have come accross the same problem:
2009 Jun 23
1
Forecast GARCH model
Hi, I've fitted a GARCH(1,1) for the residuals of my time serie (X). X is an ARMA(1,1) process. Now I want to do a n-step forecast for X, knowing these processes. How can I do this? I know that there's a command: predict() for ARIMA processes and so on, but what about GARCH? I've got: arma=arima(x, order=c(1,0,1)) (...) garch11<-garch(residuals(x),order = c(1, 1))
2011 Apr 01
2
Separador de miles
Hola a todos. Me encuentro realizando un gráfico en R y en los ejes quisiera que los valores aparezcan con separador de miles. Es decir... 1000000 1,000,000 Gracias... -- Paula Altamar Estratificación-DIG-DANE Cel: 3005137541 [[alternative HTML version deleted]]
2008 Dec 02
4
Variables inside a for
Hi! I had a database with some variables in sequence. Let me say: TX01, TX02, TX03 and TX04. But I need to run some regressions changing the variables... so: variable <- paste("TX0", 1:4, sep="") for(i in 1:4){ test[i] <- lm(variable[i] ~ INCOME, data=database) } But doesn't work... lm tries to find a variable inside database named variable[i] ... Suggestions?
2012 Aug 22
4
gsub -> replace substring in column
Hi all, please excuse- I'm a complete newbie to R, so it's possible my question was asked a thousand times before, but I don't get it :-( I imported a CSV file via: x=read.csv("test.csv",header=TRUE,sep="\t") In a column there are values with the dot-character (".") I want to replace with a commata: > x[9] ?????????????????? V16 1???????? GPS
2010 Oct 05
3
Question about assigning values in a matrix, conditional on column first row; how to do the loop.
Hello, I?m new at programming and I will greatly appreciate if you can help me with this. I have a very large matrix (hundreds of rows and columns), with the first raw filled with different numbers (between 0 and 1). The rest of the matrix is filled with values 0, 1, 2. What I need is to replace the values in the matrix (except the first row will has to remain intact). In each column I have to
2004 Jun 14
4
Problem with transfering files between Solaris and HPUX 11.00
Is terir any known problem with this? Can someone let me know if they are movingp and Solrais with rsync.
2018 Feb 26
2
glm package - Negative binomial regression model - Error
HI there I am running this model in negative binomial regression, using glm. I had no problems with running the model with a set of data, but now that i'm trying to run if for new one. I always have this same error when running the regression: > > #Run Regression > x=cbind(factor2ind(d$year),factor2ind(d$month_week)) > > out<- glm(cbind(influenza, n_sample) ~ x,
2007 May 07
2
Theora running on FPGA
Great news! Theora is running on FPGA. After almost a year of a great effort we have Theora validated on FPGA. Now I will try to integrated the hardware with a video controller to see the video! I completely implemented the ExpandBlock, CopyRecon, LoopFilter and UpdateUMVBorder functions. The ReconRefFrames function was partially implemented and the part before will run on a software compiled
2018 Feb 26
0
glm package - Negative binomial regression model - Error
Dear Paula, There are probably missing observations in your data set. Read the na.action part of the glm help file. na.exclude is most likely what you are looking for. Best regards, ir. Thierry Onkelinx Statisticus / Statistician Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND FOREST Team Biometrie & Kwaliteitszorg /
2009 Mar 06
0
modifying a built in function from the stats package (fixing arima) (CONCLUSIONS)
Thanks a lot to everybody that helped me out with this. Conclusions: (1) In order to edit arima in R: >fix(arima) or alternatively: >arima<-edit(arima) (2) This is not contained in the "Introduction to R" manual. (3) A "productive" fix of arima is attached (arma coefficients printed out and error catched so that it doesn't halt parent loops to search for
2020 Oct 08
2
[cfe-dev] Upcoming upgrade of LLVM buildbot
Hi Paula, This error is fine. The buildbot has tested the worker version. 0.8.x apparently does not have that method. The error gets handled gracefully on the server side. At least it seems so so far. That should not prevent your bot from connecting. Thanks Galina On Thu, Oct 8, 2020 at 2:11 PM Paula Askar <paulatoth at google.com> wrote: > Hey Andrzej, > > What are you seeing
2003 May 17
5
how to construct tree under R
Hello. I have a hudge problem, don't know how to deal with it... I'm supposed to implement a tree structure in R, without using rpart library... I don't have any clue about appropriate approach... Anyway, I can't use pointers under R...so how to to it? lists, vectors... Anyway, does anybody knows how the regression tree in rpart was implemented... Someone please help! Thanks, ana
2010 May 02
2
Sendmail Configuration Problem - 550 5.1.1 - User unknown Problem
Hi, I'm having this Sendmail configuration problem and stuck. I've been doing googling/reading posts and none of the solutions matched my problem. I'm doing some testing, and have been getting this 550 5.1.1 ....User unknown error when I send the email to my company's email address. When I send it to an external email address, such as yahoo, the message delivered successfully.