search for: datevector

Displaying 4 results from an estimated 4 matches for "datevector".

Did you mean: datavector
2009 Aug 10
0
Speeding up a bootstrap routine
...e_daily_return3; n <- length(detrendedreturns); result1 <- 0.0; # initialise result result2 <- 0.0; # initialise result result3 <- 0.0; # initialise result # create matrices to hold sampling returns matrix_1 <- matrix(0,1,n) matrix_2 <- matrix(0,1,n) matrix_3 <- matrix(0,1,n) datevector <- 1:n # create vector for the actual "date sampling" # the bootstrap routine, placing results into the above results matrices for(i in 1:5000) { date_sample <- datevector[sample(n,n,replace=TRUE)] for(j in 1:n) { matrix_1[j] <- zerocentredreturns1[date_sample[j]] matrix...
2019 Dec 09
3
Inconsistent behavior for the C AP's R_ParseVector() ?
Le lun. 9 d?c. 2019 ? 05:43, Tomas Kalibera <tomas.kalibera at gmail.com> a ?crit : > On 12/7/19 10:32 PM, Laurent Gautier wrote: > > Thanks for the quick response Tomas. > > The same error is indeed happening when trying to have a zero-length > variable name in an environment. The surprising bit is then "why is this > happening during parsing" (that is why
2012 Jun 08
4
Multiple sub-architecture: linking issue
...vious post on RCurl, I cannot install Rcpp either: g++ -m32 -I/home/renaud/bin/R/2.15/lib64/R/include -I/home/renaud/bin/R/2.15/lib64/R/include/i386 -DNDEBUG -I../inst/include/ -I/usr/local/include -fpic -g -O2 -c r_cast.cpp -o r_cast.o g++ -m32 -shared -L/usr/local/lib64 -o Rcpp.so Date.o DateVector.o Datetime.o DatetimeVector.o Dimension.o DottedPair.o Environment.o Evaluator.o Formula.o Function.o Language.o Module.o Pairlist.o Promise.o RObject.o RcppCommon.o Rcpp_init.o Reference.o Rostream.o Rstreambuf.o S4.o Symbol.o WeakReference.o barrier.o cache.o coerce.o complex.o debugging.o e...
2012 Jun 08
4
Multiple sub-architecture: linking issue
...vious post on RCurl, I cannot install Rcpp either: g++ -m32 -I/home/renaud/bin/R/2.15/lib64/R/include -I/home/renaud/bin/R/2.15/lib64/R/include/i386 -DNDEBUG -I../inst/include/ -I/usr/local/include -fpic -g -O2 -c r_cast.cpp -o r_cast.o g++ -m32 -shared -L/usr/local/lib64 -o Rcpp.so Date.o DateVector.o Datetime.o DatetimeVector.o Dimension.o DottedPair.o Environment.o Evaluator.o Formula.o Function.o Language.o Module.o Pairlist.o Promise.o RObject.o RcppCommon.o Rcpp_init.o Reference.o Rostream.o Rstreambuf.o S4.o Symbol.o WeakReference.o barrier.o cache.o coerce.o complex.o debugging.o e...