Hi Ahmad,
I don't know of any, but this might help:
http://maths-people.anu.edu.au/~johnm/courses/r/ASC2008/pdf/Rtimeseries-ohp.pdf
Jim
On Thu, Sep 28, 2017 at 2:12 PM, ah a wrote:
> Hi Jim
>
> Thank you very much for your reply and your help.
> By the way, where can I find some tutorial videos
I would try something like
n = 5
a <- rnorm(n,0.8,0.1)
so <- rnorm(n,0.5,0.1)
m <- rnorm(n,1.2,0.1)
mats = mapply(function(sa1, so1, m1) matrix(c(0,sa1*m1,so1,sa1),2,2,byrow=T),
a, so, m, SIMPLIFY = FALSE)
> mats
[[1]]
[,1] [,2]
[1,] 0.000 0.9129962
[2,]
Suppose I have interest in a matrix with the following symbolic
structure (specified by 3 parameters: sa, so, m):
matrix(c(0,sa*m,so,sa),2,2,byrow=T)
What I can't figure out is how to construct a series of matrices, where
the elements/parameters are rnorm values. I'd like to construct separate
Have you tried following the example in
?'SpatialLines-class'
You'll probably get better help from R-sig-geo
And please don't send html email, it makes your email hard to read.
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
Lab ce
It's pretty clear from the error message that dat$Date is not an appropriate
time-based object.
Since dat$Date is created by the get_majorlandmarks() function, and your
question provides no information about that, it's hard to be more specific.
However, I would suggest looking at the output of
Hi Ahmed,
You seem to know about the package, so I would suggest downloading:
https://cran.r-project.org/web/packages/MSBVAR/MSBVAR.pdf
getting a big cup of coffee and going through the examples to see how
the package works. If you can't make any sense out of that, you will
probably have to conta
Need Help in Debugging below script:
dat <- get_majorlandmarks(dat,Dmin,Per)
fit_xts <- xts(dat$fit,order.by = dat$Date,frequency = 365)
close_xts <- xts(dat$Close, order.by = dat$Date, frequency = 365 )
majorlandmarks_xts <-xts(dat$Close[dat$majorlandmarks==TRUE]
I am getting following error when running this script :Error in
length(runsum) : object 'runsum' not found
##error function
dat$fit <- NULL
dat$fit[dat$majorlandmarks] <- dat$Close[dat$majorlandmarks]
run <- rle(dat$majorlandmarks)
runvalue <- run$values
runsum <- cumsum(run$lengths)
dear sirs or madam,
As I'm interested to search about the monetary transmission channel in our
country by MSVAR model, I would be grateful if you help me and tell me how
can I run MSVAR in R or send me the related code to run this model .
Actually, I'm new user of R and I don't know how to run Mar
Hi Ulrik - thanks a lot for pointing out this blunder - now it is fine!
Best wishes
Troels
Den 27-09-2017 kl. 09:31 skrev Ulrik Stervbo:
Hi Troels,
Try to move the size argument out of the aesthetic.
Best wishes,
Ulrik
On Mi., 27. Sep. 2017, 08:51 Troels Ring wrote:
Dear friends - below
Hi Troels,
Try to move the size argument out of the aesthetic.
Best wishes,
Ulrik
On Mi., 27. Sep. 2017, 08:51 Troels Ring wrote:
> Dear friends - below is a subset of a much larger material showing two
> ways of generating two "lines". The intention is to have the colour
> reflect a variable,
11 matches
Mail list logo