I can't reproduce "etc."

Not to be rude, but you haven't even attempted to follow the requests of
myself or Josh, which are in fact above and beyond what is really expected
in a reply to your initial question - as all emails to this list are
requested to include minimally reproducible code/examples.

You haven't done your part in case you didn't notice.

And emailing me alone would be considered a bit rude since you are asking
for help without allowing the benefits of my help to accrue to others.

Follow the posting guidelines - or you will have trouble getting help from
myself or this list.

Best,
Jeff

On Mon, May 30, 2011 at 12:40 PM, Emmanuel Senyo
<emmanuel.senyo@gmail.com>wrote:

> As I said, EXX.dm is a univariate time series
> EXX.dm<-
> Date            Daily average prices
> 2008-01-01       25.45
> etc
> NB:
> length(EXX.dm) = 604
> Thanks
> Emma
>
>
> On Mon, May 30, 2011 at 7:33 PM, Jeffrey Ryan <jeffrey.ryan@lemnica.com>wrote:
>
>> Hi Emmanuel,
>>
>> You'll need to tell us what EXX.dm is - as that is likely the issue.
>>
>> Best,
>> Jeff
>>
>> On Mon, May 30, 2011 at 12:27 PM, Emmanuel Senyo <
>> emmanuel.senyo@gmail.com> wrote:
>>
>>> Dear All,
>>> I am creating an xts object for a univariate time series data , EXX.dm
>>> but
>>> it does not work. The data starts from 01/01/2008 to 09/05/2011 and I use
>>> 01/01/1970 as the base year. Below is my code.
>>> library(PerformanceAnalytics)
>>> library(xts)
>>> b<-as.xts(EXX.dm, order.by=as.Date(13880:15104), origin=1970-01-01)
>>> C<-VaR(b, p=0.5,method = c("historical"),portfolio_method =
>>> c("single"),weights = NULL, mu = NULL, sigma = NULL,
>>>    m3 = NULL, m4 = NULL, invert = TRUE))
>>>
>>> I got the following error message:
>>> Error in xts(x, order.by = order.by, frequency = frequency, ...) :
>>>  NROW(x) must match length(order.by)
>>> I am new to R and need an assistance.
>>> Regards
>>> Emma
>>>
>>>        [[alternative HTML version deleted]]
>>>
>>> _______________________________________________
>>> R-SIG-Finance@r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>>> -- Subscriber-posting only. If you want to post, subscribe first.
>>> -- Also note that this is not the r-help list where general R questions
>>> should go.
>>>
>>
>>
>>
>> --
>> Jeffrey Ryan
>> jeffrey.ryan@lemnica.com
>>
>> www.lemnica.com
>> www.esotericR.com
>>
>>
>


-- 
Jeffrey Ryan
jeffrey.ryan@lemnica.com

www.lemnica.com
www.esotericR.com

	[[alternative HTML version deleted]]

