search for: r_

Displaying 20 results from an estimated 120 matches for "r_".

Did you mean: _r
2010 Aug 02
1
lm length
Hi all, I wanto to run a plot about the levels of a variable parting on an ols regression. The regression in done on the rate of return of the variable. Imagine R_{t}=a+b*R_{t-1} So If P, the "estimated" price would be P_{t}=P_{t-1}*R_{t} Imagine that I obtain lm fitted values and the original R_{t}, R_{t-1} are [1000,1] dimmension... How it is posible to obtain also 1000,1 fitted values? They should be 999,1, no? If I want to use the fitted v...
2006 Jul 02
1
prefix 'R_' when calling external code
I noticed that in https://svn.r-project.org/R/trunk/src/library/stats/R/loess.R that we are now calling R_loess_raw, R_lowesw, R_lowesp, etc. I'm interested to know what is the benefit/reason for the 'R_', as I am unfamiliar with this prefix and do not see it mentioned in 'Writing R Extensions.' Thanks, Ben
2018 Apr 15
1
increment in tablegen
i have loop index I. I want to increment it by 1. How to do this in registerinfo.td. I m trying following but getting error. let SubRegIndices = [sub_32bit, sub_32bit_hi], CoveredBySubRegs = 1 in { foreach I = 0-255 in { m=add(I,1); def R_#J#_REG64b_#I : R_P<"R_"#J#"_R64b_"#I, !shl(I,2), [!cast<R_P>("R_"#J#"_REG32b_"#I), !cast<R_PIM>("R_"#J#"_REG32b_"#m)]>; } } please help. how to increment I (add+1 in I). Thank You -------------- next part ------------...
2007 Feb 03
0
Symlink to directories seem recursively for Microsoft Workgroup Add-On for MS-DOS clients
...precisely for Microsoft Workgroup Add-On for MS-DOS client X:\i386/\$oem\$/install/PWDWS0~Z. Client (Microsoft Workgroup Add-On for MS-DOS and Mail) see directorie's symlink recursively. :( In short words MS DOS command DIR /S gives me: 'R? ? ????Rc???_ X ??__? ?_??? XP 'R?_????R_ ? ??? X:\I386\$OEM$\INSTALL . <_____> 02-02-07 5:29p .. <_____> 02-02-07 5:29p PWDWS0~Z <_____> 02-01-07 7:42p 0 ? c<R? 0 ? c? 'R?_????R_ ? ??? X:\I386\$OEM$\INSTALL\PWDWS0~Z . <_____...
2017 Jul 14
3
error:Ran out of lanemask bits to represent subregister
Do your 32768 registers also have sub registers? I can't tell you exactly what to change. I'm not familiar with the code. I would just be running grep or something. ~Craig On Fri, Jul 14, 2017 at 10:23 AM, hameeza ahmed <hahmed2305 at gmail.com> wrote: > Thank you so much. I think there is no issue with my definitions since i > have to use larger registers i.e 65536 bit
2017 Jul 19
5
error:Ran out of lanemask bits to represent subregisterr
I have made changes in 3 files: LaneBitmask.h, codegenregisters.cpp and miparser.cpp. files are attached here. Now i am getting following errors. which means registerinfo.inc file is not generated successfully. /PIM/lib/Target/X86/MCTargetDesc/X86BaseInfo.h:733:24: error: no member named 'XMM8' in namespace 'llvm::X86' if ((RegNo >= X86::XMM8 && RegNo <=
2011 Jul 08
1
computing functions with Euler's number (e^n)
...ere, Q should equal 1/exp(U) to compute W. I know that I need to create a loop here, but as a newbie to R, I don't know how to write the correct loop that will work for me. Any suggestions?? Here is the code I have been using (less the numerous if...else attempts): > J <- 12 > r_ <- 1.959 > q_ <- 1.45 > scale_ <- 0.3 > N <- 500 > fq <- seq(0, N, 1) > center_frequencies <- function(J = 12, r_ = 1.959, q_ = 1.45, scale_ = 0.3){ + j <- seq(0,J-1,1) + fc <- (q_ + j)^r_/scale_ + } > fc <- center_frequencies(12,r_,q_,scale_)...
2019 Oct 10
1
R-specific environment variables: Naming convention?
In base R, there are lots of environment variables with either prefix 'R_' or '_R_', e.g. R_ENABLE_JIT and _R_RNG_VERSION_. I always considered R_* variables to be "public" and _R_*_ ones being "internal" but realized I don't have a reference for this. Is this true, or is there another reason? Is the difference between the two kinds...
2012 Dec 10
1
Long equation in documentation
I have a long equation that I need to break in the R documentation of a package or it trails off the right hand side of the page. Here's the formula: \deqn{Cov(r_{ist}, r_{iuv})= [.5\rho_{ist}\rho_{iuv}(\rho_{isu}^2 + \rho_{isv}^2 + \rho_{itu}^2 + \rho_{itv}^2) + \rho_{isu}\rho_{itv}+ \rho_{isv}\rho_{itu}-(\rho_{ist}\rho_{isu}\rho_{isv} + \rho_{its}\rho_{itu}\rho_{itv}) + \rho_{ius}\rho_{iut}\rho_{iuv} + \rho_{ivs}\rho_{ivt}\rho_{ivu}]/n_i} How can I brea...
2011 Jul 31
3
[LLVMdev] Reviving the new LLVM concurrency model
...ditionally executed out of loops. > My second question is whether the "undefined behavior" in "... > introducing a store to a byte which might not otherwise be stored to > can introduce undefined behavior.... " is same to the ``undef'' in the > definition of R_{byte} that can be undef in several cases. Does the > undef mean the LLVM undef values > (http://llvm.org/docs/LangRef.html#undefvalues)? If "undefined > behavior" means a program can do anything, why does R_{byte}  have to > return undef? Thanks. "can introduce undefined...
2011 Aug 01
0
[LLVMdev] Reviving the new LLVM concurrency model
...tions do so. > >> My second question is whether the "undefined behavior" in "... >> introducing a store to a byte which might not otherwise be stored to >> can introduce undefined behavior.... " is same to the ``undef'' in the >> definition of R_{byte} that can be undef in several cases. Does the >> undef mean the LLVM undef values >> (http://llvm.org/docs/LangRef.html#undefvalues)? If "undefined >> behavior" means a program can do anything, why does R_{byte}  have to >> return undef? Thanks. > > &quo...
2011 Jul 31
0
[LLVMdev] Reviving the new LLVM concurrency model
...defined. But the spec does not make this point clear. My second question is whether the "undefined behavior" in "... introducing a store to a byte which might not otherwise be stored to can introduce undefined behavior.... " is same to the ``undef'' in the definition of R_{byte} that can be undef in several cases. Does the undef mean the LLVM undef values (http://llvm.org/docs/LangRef.html#undefvalues)? If "undefined behavior" means a program can do anything, why does R_{byte} have to return undef? Thanks. On Mon, Jul 18, 2011 at 8:22 PM, Eli Friedman &lt...
2014 Sep 04
10
MEMX improvements + DDR 2/3 MR generation
Patch 1 and 2 implement wait-for-vblank, required to remove flicker when reclocking memory Patch 3 and 4 allow me to do things between waiting for VBLANK and disabling FB, like pause PFIFO and wait for the engines to idle. This minimises the time PFIFO is paused, thus maximises performance. The rest of the patches speak for themselves. As the actual memory reclocking script is still somewhat prone
2001 Feb 08
2
dnbinom(,size<1,)=0 (PR#842)
...0.23672698 0.13493438 0.07826194 0.04578323 0.02692054 I have added a corrected dnbinom() below, which makes the program works for Rw1021. -YP- x_ c(70, 38, 17, 10, 9, 6) kk_ 0:5 n_ sum(x) dnbinom_ function(x,n,p){ gamma(x+n)/gamma(n)/gamma(x+1)*p^n * (1-p)^x } fn_ function(p){ r_ p[1] th_ p[2] ll _ -sum(x[1:max(kk)]*log(dnbinom(kk[-length(kk)],r,th))) - x[length(kk)]*log(1-pnbinom((max(kk)-1),r,th)) return(ll) } a_ nlm(fn,p=c(.9,.5),hes=T) est_ a$est phat_ c(dnbinom(kk[-length(kk)],est[1],est[2]), 1-pnbinom((max(kk)-1),est[1],est[2])) E_ n*ph...
2017 Sep 16
1
R_LIBS_USER not in libPaths
I have not intentionally set R_LIBS_USER. I looked for an Renviron.site file but did not see it in R/etc or my home directory. The strange part is that if I print Sud.getenv I see a value for R_LIBS_USER. However, this directory is not showing under libPaths. I though .libPaths should contain R_LIBS_USER. I also noticed that R...
2012 Oct 03
1
help: ks test fit Poisson-ness (D and p) with one sample data
for a silly question, wondering how to test fit with the one sample as follow. I have read _fitting distributions with R_, but that doesn't answer my specific question. inclined to use Kolmogorov-Smirnov D, and its associative p value. much appreciation! X20.001 232 93 84 185 336 417 228 199 2110 1411 612 1913 1314 3015 2516 3517 351...
2005 Jan 18
1
a question about linear mixed model in R
...mewhat unusual linear mixed model that I can't seem to code in lme. It's only unusual in that one random effect is applied only to some of the observations (I have an indicator variable that specifies which observations have this random effect). The model is: X_hijk = alpha_h + h * b_i + r_(ij) + e_hijk , where h = 0 or 1 (indicator) i = 1, ..., N j = 1, ..., n_i k = 1, ..., K alpha is fixed, and the rest are random. I'm willing to assume b, r, and e are mutually independent and normal with var(b) = sigma^2_b, var(r) = sigma^2_r, and var(e) = sigma^2. Any help in writing...
2014 Sep 12
6
NVA3: Small misc mem reclocking fixes
Patch 1 fixes nva3 bailing due to not finding the right ramcfg Patch 2 is a resend rebased on 3.17.0-rc4 for setting the vblank period Patch 3-5 handle writes to per-partition registers, for which NVA3 does not have special broadcast regs available. Patch 6 removes local structs from NVA3 reclocking in favour of the already existing "ram->base." variables, like in NVE0 As always,
2013 Sep 24
0
[LLVMdev] [lld] ELF needs type for SharedLibraryAtom.
On Sep 24, 2013, at 9:13 AM, Joerg Sonnenberger wrote: > On Tue, Sep 24, 2013 at 10:49:36AM -0500, Shankar Easwaran wrote: >> Not sure why this is being done for a long time with the GNU linker. > > Because the main program is not PIC, it will only use absolute > references to global symbols. For functions, you can create a PLT > record, but for data access, you have to hide
2008 Jul 29
1
optim fails when using arima
Hi all, I?m using the arima() function to study a time series but it gives me the following error: Error en optim(init[mask], armafn, method = "BFGS", hessian = TRUE, control = optim.control, : non-finite finite-difference value [3] I know that I can change the method of the arima() to "CSS" instead of "ML" but I'm specially interested in using