search for: spdata

Displaying 6 results from an estimated 6 matches for "spdata".

Did you mean: pdata
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 Bautista Relloso Barrio ------------ próxima parte ------------ A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 14747 bytes...
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 bright and sunny till this point...after this it gets st...
2012 Aug 17
0
spatial auto-correlation structure in nlme
...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. The link for the webpage is: http://www.ats.ucla.edu/stat/r/faq/spatial_regression.htm install.packages("nlme") library(nlme) spdata <- read.table("http://www.ats.ucla.edu/stat/R/faq/thick.csv", header = T, sep = ",") dummy <- rep(1, 75) spdata <- cbind(spdata, dummy) ### estimate the null model ### soil.model <- lme(fixed = thick ~ soil, data = spdata, random = ~ 1 | dummy, method = "ML&quo...
2009 Nov 12
0
QR-decomposition using the base package vs. Matrix package
I need to perform a QR-decomposition of a sparse matrix, so I've been trying to use the Matrix package. Unfortunately I don't seem to be getting exactly the same results as if I had used the qr() command from the base package. Here is an example of what I'm doing. > spdata <-rpois(50,1) > y <- rnorm(10,0,1) > S <- matrix(round(ifelse(spdata==0,0,1/spdata),2),ncol=5,nrow=10) > Ssp <- as(S,"sparseMatrix") > > decomp <- qr(S) > Y <- qr.qty(decomp,y) > R <- qr.R(decomp) > > decompSp <- qr(Ssp) > Ysp <- qr...
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 lines are as follows: dists = vegdist(spdata, method =&q...
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 e...