Hello,
If there is anyone who can offer me some guidance on how to resolve the
error below, I would be very grateful.
I am attempting to conduct a 'Resource Utilization Function' analysis using
the 'ruf' package. My code is below:
library(ruf)
d78423 <- read.csv("RUF/78423_RelUse.csv")
#
You need to be careful how you index. In the example code, y is a 'zoo
series' and y[i] is gives the ith row, as in y[i, ]. This means t(y[i])
%*% y[i] is actually a 2X2 matrix. Also, the code c(S)[c(1,4,2)] picks
off the diagonal and lower triangular elements. The example involves two
Hi,
I have 5 stock values and i am calculating EWMA
followed the logic as given ind following link.[
http://www.orecastingfinancialrisk.com/3.htmlhttp://www.forecastingfinancialrisk.com/3.html
]
[EWMA = matrix(nrow=T,ncol=3) # create a matrix to hold the covariance
matrix for each t
lambda =
Hi Everyone,
I'm running some simulations where eventually I need to table the results. The
problem is, that while most simulations I have at least one predicted outcome
for each of the six possible categories, sometimes the algorithm assigns all
the outcomes and one category is left out. Thus
-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Gregory Ryslik
Sent: Thursday, 3 March 2011 1:46 PM
To: r-help Help
Subject: [R] Non-conformable arrays
Hi Everyone,
I'm running some simulations where eventually I need to table the results. The
problem is, that while most
with the wrong levels, turn it
back into a character string vector first.
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Gregory Ryslik
Sent: Thursday, 3 March 2011 1:46 PM
To: r-help Help
Subject: [R] Non-conformable arrays
6 matches
Mail list logo