search for: r_2

Displaying 12 results from an estimated 12 matches for "r_2".

Did you mean: r2
2004 Nov 14
1
Combining expressions and objects within labels
...complicated R calculations). In one of this labels I'd like to place a superscript, however I cannot find a way to place both the expression and the object in the same label. Thanks in advance and best regards. Please look at the example below: # my objects eonr <- 75 yldeonr <- 150 r_2 <- 0.95 # the plot and simple labels plot(0:100, 0:100) text(60,40, paste("EONR=",eonr)) text(60,36, paste("Yield at EONR=",yldeonr)) # I'd like to place the superscript on the r text(60,32, paste("Pseudo r^2=",r_2)) # This does not seem to work ... I can ge...
2018 Apr 18
2
Event-triggered change in value with a time-delay
...time in either direction. Additionally, when the variable crosses the threshold (either by increasing or decreasing), there is a time delay (delay) before the parameter shifts values. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Toy model: # define parameters P <- c(m = 10, R_1 = 0.5, R_2 = 0.1, D_0 = 50, D_T = 5, delay = 3 ) # set initial values y_0 <- c(D = 0, Y = 1) # set timesteps times <- seq(0, 100, length = 101) # define function bit <- function(t,y,parms){ with(as.list(c(parms,y)),{ # How I would implement the change if there was no ti...
2018 Apr 18
0
Event-triggered change in value with a time-delay
...*(D < D_T)) Caveat: very lightly tested in your toy example, which did generate a result where D cross that threshold without blowing up. -- David. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Toy model: > # define parameters > P <- c(m = 10, > R_1 = 0.5, > R_2 = 0.1, > D_0 = 50, > D_T = 5, > delay = 3 > ) > # set initial values > y_0 <- c(D = 0, Y = 1) > > # set timesteps > times <- seq(0, 100, length = 101) > > # define function > bit <- function(t,y,parms){ > with(as.list(c(parms,y)),...
2017 Aug 26
2
Register Allocation and Scheduling Issues
Hello, I have defined 8 registers in registerinfo.td file in the following order: R_0, R_1, R_2, R_3, R_4, R_5, R_6, R_7 But the generated assembly code only uses 2 registers. How to enable it to use all 8? Also can i control the ordering like after R_0 can i use R_5 without changes in registerinfo.td? What changes are required here? either in scheduling or register allocation phases? P_...
2007 Jul 26
1
significance test for difference of two correlations
Dear R users, how can I test, whether two correlations differ significantly. (I want to prove, that variables are correlated differently, depending on the group a person is in.) Greetings from Freiburg im Breisgau (Germany), Timo Stolz
2011 Oct 03
1
Matrix/Vector manipulation
...recurse into the vector (from left to right) with what you have left from the difference of volume minus current weight, and stop when the difference is less than or equal to the current weight. Vectors W and R have the same length, and v is always a positive integer. W: {w_1 w_2 .. w_m} R: {r_1 r_2 .. r_m} my_cumsum <- function(v, R, W) { if (v <= W[1]) # check the head v*R[1] else W[1]*R[1] + my_cumsum(v - W[1], R[2:length(R)], W[2:length(W)]) # recurse the tail } Any help is greatly appreciated! Fernando Alvarez "Great ideas originate in the muscles." ~ Thomas A. E...
2018 Mar 25
0
R-devel Digest, Vol 181, Issue 22
..."_", ## format = c("wide", "long"), groups = NULL, long_names = TRUE, ## nice_names = FALSE, na.action = "na.warn") df_stats(Sepal.Length ~ Species, data = iris, mean, sd, R = range, Q = quantile) ## Species mean_Sepal.Length sd_Sepal.Length R_1 R_2 Q_0% Q_25% Q_50% Q_75% Q_100% ## 1 setosa 5.006 0.3524897 4.3 5.8 4.3 4.800 5.0 5.2 5.8 ## 2 versicolor 5.936 0.5161711 4.9 7.0 4.9 5.600 5.9 6.3 7.0 ## 3 virginica 6.588 0.6358796 4.9 7.9 4.9 6.225 6.5 6.9 7.9 As I...
2007 Nov 19
2
All nonnegative integer solution
Dear all, Is there any method in R to find all possible nonnegative integer solutions to the linear equation with unit coefficients as follow: X1+X2+...+Xk=N Thank you, Amin Zollanvari
2006 Apr 25
5
Heteroskedasticity in Tobit models
Hello, I've had no luck finding an R package that has the ability to estimate a Tobit model allowing for heteroskedasticity (multiplicative, for example). Am I missing something in survReg? Is there another package that I'm unaware of? Is there an add-on package that will test for heteroskedasticity? Thanks for your help. Cheers, Alan Spearot -- Alan Spearot Department of Economics
2017 Jun 25
0
AVX Scheduling and Parallelism
Hi, Zvi, I agree. In the context of targeting the KNL, however, I'm a bit concerned about the addressing, and specifically, the size of the resulting encoding: > vmovdqu32 zmm0, zmmword ptr [rax + c+401280] ;load b[401280] in > zmm0 > > vpaddd zmm1, zmm1, zmmword ptr [rax + b+401344] > ; zmm1<-zmm1+b[401344] The KNL can only
2017 Jun 25
2
AVX Scheduling and Parallelism
Hi Ahmed, >From what can be seen in the code snippet you provided, the reuse of XMM0 and XMM1 across loop-unroll instances does not inhibit instruction-level parallelism. Modern X86 processors use register renaming that can eliminate the dependencies in the instruction stream. In the example you provided, the processor should be able to identify the 2-vloads + vadd + vstore sequences as
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking