search for: rs4

Displaying 3 results from an estimated 3 matches for "rs4".

Did you mean: rc4
2014 Mar 06
2
'parallel' package changes '.Random.seed'
...) [1] -0.6264538 > set.seed(1) > rs2 <- .Random.seed > identical(rs1, rs2) [1] TRUE > loadNamespace("parallel") <environment: namespace:parallel> > rs3 <- .Random.seed > identical(rs1, rs3) [1] FALSE > rnorm(1) [1] -0.3262334 > set.seed(1) > rs4 <- .Random.seed > identical(rs1, rs4) [1] TRUE I've taken a look at the 'parallel' source code, and in a few places a call to 'runif(1)' is issued. So, what effectively seems to happen when 'parallel' is loaded is > set.seed(1) > runif(1) [1] 0.265508...
2010 Oct 08
3
Efficiency Question - Nested lapply or nested for loop
...rs0 0.488000 0.448625 0.063375 1 0.480875 0.454500 0.064625 1 2 rs1 0.002375 0.955375 0.042250 1 0.000000 0.062875 0.937125 2 3 rs2 0.050375 0.835875 0.113750 1 0.877250 0.115875 0.006875 0 4 rs3 0.000000 0.074750 0.925250 2 0.897750 0.102000 0.000250 0 5 rs4 0.000125 0.052375 0.947500 2 0.261500 0.724125 0.014375 1 6 rs5 0.003750 0.092125 0.904125 2 0.023000 0.738125 0.238875 1 And my task is: For each individual (X) on each row, to find the index corresponding to the max of G_hat_X_0, G_hat_X_1, G_hat_X_2 and then increment the...
2004 Jun 08
0
vardiag Package and nlregb
Hi everyone, I'm interested in the analysis of spatial data, and I'm trying out several R-packages. Today I was attempting to use the package vardiag (version 0.1): >> library(vardiag) >> rs4.vo <- varobj(rs4[,2:4],trace=2) >[1] 1 >Error: couldn't find function "nlregb" so far I know "nlregb" is a S-plus function for optimization, so this can not work in R, other? How could one create or import an appropiate "variogram object" to use the othe...