search for: final

Displaying 20 results from an estimated 34518 matches for "final".

2017 Jun 24
3
Help please
Hello, I need some help on a regression I am running please. I am running a multiple regression in R and I am getting weird outputs and would like your help in resolving it. This is the code I run: Reg = lm (Final$Y.t.-Final$Y.t.1. ~ Final$ Y.t.1. + Final$Cor + Final$Gov+ Final$Inv+ Final$TrOp + Final$Pop+ Final$Sch , data = Final) summary(Reg) And the output I get is pasted below. As shown, highlighted variable is regressed more than once which should not be the case and I am not sure why that is the ca...
2017 Jun 26
0
Help please
Hi Rabby, Before you run your regression, try this: is.factor(Final$Cor) If this returns TRUE, then this variable is a factor and it will be treated as a number of levels rather than a set of numeric values. This usually happens when a text file is read in and there is at least one value that cannot be converted to numeric. So if you are doing something like this:...
2011 Nov 05
1
[LLVMdev] LLVM and CLANG Build question
...t following error. I have llvm 2.9 and clang is latest version ( I don't know, I got from svn). I am wondering is it because of version problem ? Does clang work with 2.9 llvm ? llvm[3]: Compiling ClangASTNodesEmitter.cpp for Debug build In file included from /home/jmatai/Work/llvm2.9/llvm/final/tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp:14: /home/jmatai/Work/llvm2.9/llvm/final/tools/clang/utils/TableGen/ClangASTNodesEmitter.h:17:43: error: llvm/TableGen/TableGenBackend.h: No such file or directory /home/jmatai/Work/llvm2.9/llvm/final/tools/clang/utils/TableGen/ClangASTNodesEmi...
2013 Apr 26
1
Regression coefficients
Hi all, I have run a ridge regression as follows: reg=lm.ridge(final$l~final$lag1+final$lag2+final$g+final$g+final$u, lambda=seq(0,10,0.01)) Then I enter : select(reg) and it returns: modified HKB estimator is 19.3409 modified L-W estimator is 36.18617 smallest value of GCV at 10 I t...
2013 Mar 29
3
if clause in data frame
Hi, final<-data.frame() ?? for (m1 in 4:10) { ?????? for (n1 in 4:10){? ?????????? for (x1 in 0: m1) { ????????????? for (y1 in 0: n1) { final<- rbind(final,c(m1,n1,x1,y1)) res}}}} ?final1<-within(final,{flag<-ifelse(x1/m1>y1/n1, 1,0)}) ?head(final1) #? m1 n1 x1 y1 flag #1? 4? 4? 0? 0??? 0 #...
2007 Aug 03
2
How to properly finalize external pointers?
Dear R .Call() insiders, Can someone enlighten me how to properly finalize external pointers in C code (R-2.5.1 win)? What is the relation between R_ClearExternalPtr and the finalizer set in R_RegisterCFinalizer? I succeeded registering a finalizer that works when an R object containing an external pointer is garbage collected. However, I have some difficulties figuri...
2011 Apr 02
0
reg.finalizer(): Multiple finalizers?
Hi, I've got some questions regarding finalizers registered using reg.finalizer(). I have a setup where in certain cases I wish to set a new finalizer to an object that already got one. Since there is no API for removing/replacing already registered finalizers (have been "requested" previously on this list), I have basically just...
2011 Feb 03
1
possible bug running Finale 2009 on Wine 1.2
Hi, I'm running Finale 2009 on Wine 1.2.2 on Kubuntu 10.10. Everything works great, including MIDI and VST playback, but I just noticed a bug in the Manage Parts dialogue. When I click the "Add to Part" button, Wine crashes with an error dialogue, and then freezes when I click to close the error dialogue. The...
2010 Mar 20
2
different forms of nls recommendations
Hello, Using this data: http://n4.nabble.com/file/n1676330/US_Final_Values.txt US_Final_Values.txt and the following code i got the image at the end of this message: US.final.values<-read.table("c:/tmp/US_Final_Values.txt",header=T,sep=" ") US.nls.1<-nls(US.final.values$ECe~a*US.final.values$WTD^b+c,data=US.final.values,start=list(a=2.7...
2016 Sep 15
1
Finalizer execution order question
Given an externalptr object 'pool' which protects an R object 'prot': # SEXP prot = (a dynamically updated list with handles) SEXP pool = R_MakeExternalPtr(p, R_NilValue, prot); R_RegisterCFinalizerEx(pool, fin_pool, TRUE); WRE explains that 'prot' remains in existence as long as 'pool' is around. Does this also mean 'prot' still exists when the finalizer of 'pool' gets executed? Long story: I am running into an issue with the next generation of the curl p...
2013 Apr 27
1
Selecting ridge regression coefficients for minimum GCV
Hi all, I have run a ridge regression as follows: reg=lm.ridge(final$l~final$lag1+final$lag2+final$g+final$u, lambda=seq(0,10,0.01)) Then I enter : select(reg) and it returns: modified HKB estimator is 19.3409 modified L-W estimator is 36.18617 smallest value of GCV at 10 I think it...
2011 Jul 22
1
reg.finalizer and connection gc -- which runs when (and why)?
With this set-up options(warn = 1) tf <- tempfile() finalizer <- function(obj) { message("finalizer") close(obj$f) } this code works ev <- new.env() ev$f <- file(tf, "w") reg.finalizer(ev, finalizer) rm(ev) gc() whereas this (reversing the order of file() and reg.finalizer()) ev <- new.env() reg.finalizer(ev,...
2010 Oct 18
2
Where precision change
Hello everyone. I need some help to understand when number precision in R is set. For this please consider the following example for (i in c(2:length(final))){ sizex <- c(sizex,(final[i]-final[i-1],digits=2))) # round is used to remove values that are too small like e-17. print(round(final[i]-final[i-1],digits=2)) } final[2]-final[1] return something like 4.440892e-16, which means that these two numbers are the same. They are two but a...
2019 Jun 08
2
Determining the exit code of an "almost finished" R script
On Sat, Jun 8, 2019 at 2:13 PM Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > > On 08/06/2019 7:42 a.m., Gergely Dar?czi wrote: > > Dear All, > > > > I'm using "reg.finalizer" in a function that is to be called in R scripts > > to do some cleanup on success. I have not found a way to run the function > > only if the script run without errors, so when the exit code is expected to > > be 0. > > > > What I've tried is checking &qu...
2007 Aug 21
1
Output from while and for loop
...avel. In the while loop the "bee" moves to a randomly chosen neighbor location. I want to be able to record the elevations of these points (including the starting point) so that I can look at variance in elevation and mean elevation. The loop itself works as does the calculation of the final elevation list, change in elevation list, and true total distance traveled. I have looked in all of the email archives but have not come across a correct way of doing it. Code below: start.elev.list<-list() final.mean.elev.list<-list() final.elev.list<-list() final.distance.list<-lis...
2007 Oct 26
0
8 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_interpret.c test/trace
...| 2 libswfdec/swfdec_as_context.c | 54 ++++++++++++++++++- libswfdec/swfdec_as_context.h | 9 ++- libswfdec/swfdec_as_interpret.c | 79 ++++++++++++++-------------- test/trace/Makefile.am | 7 ++ test/trace/try-throw-in-finally-6.swf |binary test/trace/try-throw-in-finally-6.swf.trace | 2 test/trace/try-throw-in-finally-7.swf |binary test/trace/try-throw-in-finally-7.swf.trace | 2 test/trace/try-throw-in-finally-8.swf |binary test/trace/try-throw-in-finally-8.swf.trace | 2 test/trace/...
2015 Jul 06
8
[LLVMdev] 3.6.2-final has been tagged.
Hi, I have tagged 3.6.2-final, so testers can start building and uploading -final binaries. There was only one change between 3.6.2-rc1 and 3.6.2-final, which was a patch to the R600 backend to fix the build with VS2012. Running a full regression suite is probably not necessary, but you still can if you want to be extra caref...
2013 Oct 13
0
reg.finalizer(): Is it safe for the finalizer function to attach/load a package?
>From the help/docs it is pretty clear that one could/should only assume that the 'base' namespace is available when a finalizer function is evaluated. What is not clear to me is whether you can safely attach/load packages in your finalizer function. For example, are the following finalizer functions safe? reg.finalizer(e, function(e, ...) { library("tcltk") .Tcl("close $con") }) and reg.finali...
2019 May 17
3
LLVM 8.0.1-rc1 has been tagged
Hi, I've tagged the 8.0.1-rc1 release. Testers, please begin testing and upload the binaries. If you still want to have a bug fix included in the 8.0.1 final release you have until June 6 to request a fix be backported to the releases/8.0 branch. To make a request, file a bug at bugs.llvm.org and put release-8.0.1 into the 'Blocks:' field. You can also use the llvm/utils/release/merge-request.sh script, which will file the bug for you automatic...
2008 May 02
0
Adaptive design code
...#set parameters for simulation p.0 <- .4 p.a <- .6 n.0 <- 225 n.a <- 225 t.first <- 18 t.A <- 12 t.end <- 30 alpha <- 0.05 cond.pow <- .8 t.maxA <- t.A + 12 t.maxEnd <- t.maxA + 12 num.sim <- 1000 ## create vectors to hold results # result holds the final result for the trial (success or fail) # final.size holds the final sample size for the trial # final.t holds the final stop time for the trial # final.stat holds the value for T(k) at the end of the trial # z holds the value for the final test statistic # theta is theta from Schafer Muller 2001 r...