Dear all R users, I was trying to create a polymonial using the polynom() of
PolynomF package. My problem is, if I pass coefficients as simple
numerical values, it is working, but for matrix coefficient it is not. Here
is my try:
library(PolynomF)
z - polynom()
## following is working
p1 - 1-
Hi, I have created following list object :
library(zoo)
dat - vector(list)
for (i in 1:4) dat[[i]] - zooreg(rnorm(i*10),
start=as.Date(2000-01-01), frequency=1)
dat[[1]]
2000-01-01 2000-01-02 2000-01-03 2000-01-04 2000-01-05 2000-01-06 2000-01-07
2000-01-08 2000-01-09 2000-01-10
Dear all,
Ket say I have 3 matrices :
mat1 - matrix(rnorm(16), 4)
mat2 - matrix(rnorm(16), 4)
mat3 - matrix(rnorm(16), 4)
Now I want to merge those three matrices to a single one with dimension
4*3=12 and 4 wherein
on resulting matrix, row 1,4,7,10 will be row-1,2,3,4 of mat1, row
2,5,8,11
Yes I looked into dse package. Here I have implemented two approach for
simulation like following :
library(dse)
A1 - matrix(rnorm(16),4)
A2 - matrix(rnorm(16),4)
mu - rnorm(4)
sigma - matrix(c(0.006594712,
0.006467731,
-0.000254914,
0.005939934,
0.006467731,
0.006654184,
-0.000384097,
Dear all, is there any package/function available which simulates a
co-integrating VAR model once the model parameters are input over some
arbitrary horizon? Please let me know anyone aware of that.
Thanks
--
View this message in context:
Dear all,
I have following two list object, both are basically collection of matrices
:
dat1 - matrix(rnorm(25*6), ncol=6)
dat1 - split(dat1, seq(5,25,by=5))
dat1 - lapply(dat1, matrix, ncol=6)
dat2 - matrix(rnorm(25*4), ncol=4)
dat2 - split(dat2, seq(5,25,by=5))
dat2 - lapply(dat2, matrix,
Hi all, I have a expression like that :
rep(2,4)
[1] 2 2 2 2
Now I want to write it as through some automated way. Is there is
function for doing that? I have tested with paste(), but count not get any
desired result.
Thanks,
--
View this message in context:
Can anyone tell me from where to download the package RHTMLForms ? CRAN
seems not holding this anymore. I am using Windows Vista OS.
Thanks
--
View this message in context:
http://n4.nabble.com/RHTMLForms-Package-tp997672p997672.html
Sent from the R help mailing list archive at Nabble.com.
let consider following matrix :
mat - matrix(rnorm(45), 15)
Now I want to convert it to a list object mat_list, which will have 15
elements and each element will again be a matrix with 3 rows and 3 columns.
How can I do that?
Thanks,
--
View this message in context:
9 matches
Mail list logo