Displaying 7 results from an estimated 7 matches similar to: "QR-decomposition using the base package vs. Matrix package"
2010 Nov 20
1
how to draw manifold?
Hi,
I need some help either in how to configure variables for wireframe(),
or some suggestions as to other graphics commands to use for plotting a
2-D manifold in 3-D space.
Here is an example I tried (in the hopes that it would plot a helical
line) :
xsp<-matrix(c(cos(seq(0,80)/5)),9,9)
ysp<-matrix(c(sin(seq(0,80)/5)),9,9)
zsp<-matrix(c((seq(0,80)/20)),9,9)
wireframe(zsp~xsp*ysp)
2011 Oct 12
0
ARMA and prediction
Hello,
I am running an ARMA model to run forecast for changes in S&P 500 prices.
My ARMA calculations look as follows
armacal <- arma( spdata, order = c(0,4), lag = list(ma = c(1,2,4)) )
Output:
Call:
arma(x = spdata, order = c(0, 4), lag = list(ma = c(1, 2, 4)) )
Coefficient(s):
ma1 ma2 ma4 intercept
-0.073868 0.058020 -0.081292 0.007082
All's
2012 Aug 17
0
spatial auto-correlation structure in nlme
Dear R users,
I'm estimating a mixed effects model in which the spatial correlation is
controlled for by the "corGaus" structure. I'm wondering if there is a
document or paper that explains how the spatial correlation structure (such
as "corExp" or "corGaus") works.
Let me use the example and data posted on UCLA's R FAQ webpage to explain
my problems.
2011 Jul 07
0
CAPdiscrim error in BiodiversityR
Hello,
I having trouble running the CAPdiscrim function located in biodiversityR.
My data tables are as follows:
community data frame (called "spdata")
Species1... Speciesn
site1..
site2..
siten
with abundance data as values. Site names are row names.
and environmental data (called "envdata")
year elevation
site1...
site2...
siten
my command
2010 Jul 08
0
ttrTests Error
spData <- as.vector(getYahooData("SPY",
start="19900101",end="20081231")[,"Close"])
> cr <- cReturns(spData, ttr = "sma", params=c(20))
Error in ind[t - k] <- pos[t - k + 1] - pos[t - k] :
replacement has length zero
I am getting the above error when running the cReturns function. Any ideas
on this? How does one drill down into
2018 Feb 17
3
RV: no puedo cargar el paquete "agricolae"
Cada vez que intento cargar el paquete "agricolae" me da el siguiente mensaje:
Error: package or namespace load failed for 'agricolae' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called 'spData'
He intentado todo actualizar los paquetes, volverlos a instalar pero no hay forma.
Si sabeis la soluciĆ³n ??
Un saludo.
Juan
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