On Mon, Nov 6, 2023 at 3:02 AM Martin Maechler
wrote:
>
> > Richard O'Keefe
> > on Mon, 6 Nov 2023 18:37:34 +1300 writes:
>
> > Thanks to all who replied. On Mon, 6 Nov 2023 at 18:37,
> > Richard O'Keefe wrote:
>
> >> OK, so the consensus is (1) One cannot make strptime
___
> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minim
From: Rolf Turner
> > Sent: Wednesday, October 5, 2022 6:06 AM
> > To: Deramus, Thomas Patrick
> > Cc: r-help@r-project.org
> > Subject: Re: [R] Getting "Error in ect, plot.new has not been called yet"
> > despite grouping plot call
> >
> > External Email - Use Caution
> >
> &
Hi,
My hunch is that you need to add print(plout) before you call dev.off().
See https://stackoverflow.com/a/39853861
Try that and let me know if that works. If not, I'll take a closer look
later.
Best,
Josh
On Wed, Oct 5, 2022, 1:40 AM Deramus, Thomas Patrick
wrote:
> Sorry to cross-post
s Rural Roadside Honor System Vegetable and Flower Stand and Occasional
> Dairy Produce
> Rural area, USA
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listi
elp@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
-
UBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > <https://stat.ethz.ch/mailman/listinfo/r-help>
> > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html
> > <http://www.r-project.org/posting-guide.html>
> > and provide commented, m
%>% # using the cumprod
> >> function
> >>mutate(cumulative_returns = cr - 1)
> >>
> >> Viscofan_daily_returns <- Viscofan %>%
> >>tq_transmute(select = adjusted, # this specifies which
> >> column
>
Dat$DTG, format = "%m/%d/%Y %H:%M")
>irreg <- xts(x=myDat[,-1],order.by= as.POSIXct(myDat$DTG))
>
>which seemed to work, so I'm not sure what I was doing wrong. But I
> also gather I should probably use POSIXct objects as opposed to POSIXlt
> objects.
>
,-1], order.by = dat[,1])
>
>
>
> head(dat.xts)
>
>
>
> Sincerely
>
>
>
> Jeff Reichman
>
>
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.c
___
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, repro
orted. I have considered
un-exporting them. The reason I don't is because it would break code
like yours.
I hope that helps you understand my rationale.
Best,
Josh
> Regards,
> Eric
>
>
> On Fri, Jan 3, 2020 at 3:45 PM Joshua Ulrich wrote:
> >
> > On Fri, Jan 3, 2020
iling list -- To UNSUBSCRIBE and more, see
> > > >>> https://stat.ethz.ch/mailman/listinfo/r-help
> > > >>> PLEASE do read the posting guide
> > > >> http://www.R-project.org/posting-guide.html
> > > >>> and provide commented, minimal, se
>
> loaded via a namespace (and not attached):
> [1] compiler_3.6.0 tools_3.6.0
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE
ion fault (core dumped)*
>
> *ERROR: loading failed*
>
> ** removing ‘/usr/local/lib/R/site-library/RQuantLib’*
>
>
> *The downloaded source packages are in*
>
> * ‘/tmp/RtmpPvzBa6/downloaded_packages’*
>
> *Warning message:*
>
> *In install.packages("RQuantLib&q
ose )
>>> because the name that holds the closing price is a function of the stock
>>> symbol.
>>>
>>> Thanks,
>>> Bob
>>>
>>> __
>>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and mor
__
>>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>> and provide commented, minim
gt; Lawrence, KS, USA
>>
>>
>
> [[alternative HTML version deleted]]
>
> ______
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting gui
osting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2018 | www.rinfinance.com
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and
___
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible cod
;
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal
https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 20
oblem.
>
> Any better idea? Thanks,
>
> On Fri, Aug 11, 2017 at 12:04 AM, Joshua Ulrich <josh.m.ulr...@gmail.com>
> wrote:
>> Use a `width` of integer index locations. And you likely want =
>> "right" (or rollapplyr(), as I used).
>>
>> R> set.see
_
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
5, 35490, 24169, 8499, 2500, 9952, 80610, 53329, NA, 53329, 64328,
> 24062, NA, 12989, 170990, NA, NA, 27416, NA, 92284, NA, -1117, 119355,
> 290345, NA, 5578.75, NA, 14845, 25077, 17460, NA, 27219, 2111, NA, 14124,
> 68531, 39015, -18391, 4616, 4142, 130162, 3764, 231839, 30196, 7689, 6308,
&g
On Thu, Mar 9, 2017 at 9:03 PM, Joshua Ulrich <josh.m.ulr...@gmail.com> wrote:
> On Thu, Mar 9, 2017 at 3:46 PM, Joshua Ulrich <josh.m.ulr...@gmail.com> wrote:
>> On Thu, Mar 9, 2017 at 3:31 PM, Waichler, Scott R
>> <scott.waich...@pnnl.gov> wrote:
>>&
___
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich
ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2017 | www.rinfinance.com
On Thu, Mar 9, 2017 at 3:46 PM, Joshua Ulrich <josh.m.ulr...@gmail.com> wrote:
> On Thu, Mar 9, 2017 at 3:31 PM, Waichler, Scott R
> <scott.waich...@pnnl.gov> wrote:
>> Hi,
>>
>> I found that apply.monthly() in xts does not work as I expected in the case
>&
ts documentation discuss the problem of sparse data?
No, because it shouldn't be a problem. :)
>
> Regards,
> Scott Waichler
> Pacific Northwest National Laboratory
> Richland, WA USA
>
> __
> R-help@r-project.org mailing list -- To
__
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Joshua U
e)
>
>
>> both.curves <- cbind(ag.curve, buy.hold.curve)
> nan, nan
> Error in merge.xts(..., all = all, fill = fill, suffixes = suffixes) :
> 'NA' not allowed in 'index'
>
>
>
>
>
> On Monday, 27 February 2017, 12:05, Joshua Ulrich <josh.m.ulr...@gmail.c
/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2017 | www.rinfinance.com
__
R-help@r-project.org mailing list -
92 ...
> $ TEMPERATURE: num 25.2 18 18 16.3 15 ...
> $ Level_m : num 9.4 9.4 9.39 9.39 9.39 ...
>
> [[alternative HTML version deleted]]
>
> ______
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and
___
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
ence of 0.3014359 secs
> [1] "trade blotter portfolio update:"
> Time difference of 0.1732061 secs
>
>>
>
> ______
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/m
gt; R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible
version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, mi
>
> Thanks a lot!
>
>
>
>
>
>
>
> [[alternative HTML version deleted]]
>
>
> ___
> r-sig-fina...@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting
uot;white")
> t$BBands$col=c('red','blue','green')
> t$BBands$col='blue'
> reChart(theme="t")
>
> [[alternative HTML version deleted]]
>
> ______
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> ht
On Fri, Apr 8, 2016 at 10:51 AM, James Hirschorn
<james.hirsch...@hotmail.com> wrote:
>
>
> On 04/06/2016 07:58 PM, Joshua Ulrich wrote:
>>
>> On Tue, Apr 5, 2016 at 9:17 PM, James Hirschorn
>> <james.hirsch...@hotmail.com> wrote:
>>>
>>> O
colnames' on an object with less than two dimensions
>
> # OK
> OpCl(as.xts(q))
>
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do
[[alternative HTML version deleted]]
>>>
>>> __
>>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the
t; Thanks in advance,
> Peter
>
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
oes not. So you have to scrape the data from the HTML.
> Thanks for your help.
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http
Google does not make data for
LIQUIDBEES available for download.
> Duncan Murdoch
>
>
> ______
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the po
d’Alès (C2MA, site de Pau)
>
> Ingénierie de l'aspect visuel et tactile des matériaux
>
> Pôle « Recherche sur les Interactions des Matériaux avec leur
> Environnement » (RIME)
>
> Hélioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9
>
> Tel : 05 59 30 90 35 (direct) - 05 59
lue
>>
>> Why second line doesn't show the value? Something to do with miliseconds ?
>> Thanks
>> CE
>>
>> ______
>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/ma
ase refer to http://disclaimer.bnymellon.com/eu.htm for certain
> disclosures relating to European legal entities.
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE an
___
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Josh
What levels are you referring to?
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/po
dec=",", format="%m/%d/%Y"))
chartSeries(X, theme="white", TA="addBBands(200,2)")
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, se
> __________
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-cont
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich | about.me
-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https
On Wed, Jun 10, 2015 at 8:05 PM, Joshua Ulrich josh.m.ulr...@gmail.com wrote:
This is known behavior with how POSIXt objects are printed. See the
discussion on StackOverflow:
http://stackoverflow.com/questions/7726034/how-r-formats-posixct-with-fractional-seconds
To summarize the relevant
the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
[[alternative HTML version deleted
, self-contained, reproducible code.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
The sessionInfo() function does not create a plot...
On Tue, Apr 7, 2015 at 12:10 PM, Raghuraman Ramachandran
optionsra...@gmail.com wrote:
Thanks Josh. I am not sure if I can attach a Jpeg. Please find attached.
On Tue, Apr 7, 2015 at 5:47 PM, Joshua Ulrich josh.m.ulr...@gmail.com wrote
the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
__
R-help@r-project.org mailing list
(index(x), %H:%M:%S)), tz=UTC)
Note that you should ensure your timezone is UTC, GMT, or any timezone
that doesn't have daylight saving time. Otherwise you might have
instances in your data where certain hours either do not exist or
exist twice.
ce
-Original Message-
From: Joshua Ulrich
On Dec 20, 2014 11:11 PM, ce zadi...@excite.com wrote:
Dear all,
I want to create a time series object from 00:00:00 to 23:59:00 without
dates ?
I can't figure it out with xts ?
You can't create an xts object without a date in the index. If the date
doesn't matter, you can just set it to
commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
On Nov 16, 2014 8:10 PM, Ernie Stokely wizardc...@gmail.com wrote:
One of the great frustrations for a newbie to R is the documentation uses
the same syntax in its description as the items it is trying to describe, a
general no-no when giving language definitions. Why does the documentation
not
-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
On Thu, Aug 28, 2014 at 11:12 PM, Adolfo Yanes adolfoya...@gmail.com wrote:
Hello,
I use getSymbols function daily to run some models with stock data. Today
when I tried to update the stock info i get this error
.
__
Costas Vorlow
http://www.linkedin.com/in/costasvorlow
http://www.vorlow.com
▇ ▅ █ ▅ ▇ ▂ ▃ ▁ ▁ ▅ ▃ ▅ ▅ ▄ ▅ ▇ ▅ █ ▅ ▇ ▂ ▃ ▁ ▁ ▅ ▃ ▅ ▅ ▄ ▅ ▇ ▅ █ ▅ ▇
On 16 June 2014 13:31, Joshua Ulrich josh.m.ulr...@gmail.com wrote:
On Mon, Jun 16, 2014 at 3:41 AM, Costas Vorlow costas.vor
/in/costasvorlow*
*http://www.vorlow.com* http://www.vorlow.com
▇ ▅ █ ▅ ▇ ▂ ▃ ▁ ▁ ▅ ▃ ▅ ▅ ▄ ▅ ▇ ▅ █ ▅ ▇ ▂ ▃ ▁ ▁ ▅ ▃ ▅ ▅ ▄ ▅ ▇ ▅ █ ▅ ▇
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
__
R-help@r-project.org mailing list
in the footer. Here are some
suggestions of how to create a *minimal*, reproducible example:
http://stackoverflow.com/q/5963269/271616
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
__
R-help@r-project.org mailing list
,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
On Sun, May 18, 2014 at 9:25 AM, Pete freeri...@gmail.com wrote:
I have 3 xts objects: test, cond1, cond2
You can download here:
https://dl.dropboxusercontent.com/u/102669/obj.rar
My problem is very simple
:
Hello,
On Tue, Mar 11, 2014 at 8:45 PM, Joshua Ulrich josh.m.ulr...@gmail.com
wrote:
On Tue, Mar 11, 2014 at 12:14 AM, Bill william...@gmail.com wrote:
Hello. I have a dataframe that has a date column. The intervals between
dates vary. I want to convert this to a ts object. I was able
, as is generally the case, use the as method:
as.ts(testTSRad)
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
This is related to:
http://stackoverflow.com/q/21393866/271616
http://stackoverflow.com/q/21484267/271616
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
On Tue, Feb 4, 2014 at 6:07 PM, Jairaj Gupta j.gu...@2012.hull.ac.uk wrote:
Hi,
I have done the following
: http://stackoverflow.com/q/7097437/271616
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R
You can use the which.i argument to [.xts:
is.null(SPY[2009-01-18,which.i=TRUE])
[1] TRUE
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
On Sat, Jan 25, 2014 at 9:27 AM, ce zadi...@excite.com wrote:
Dear all
How to test if xts date exists ? is.null
function.
I would encourage you to use Arun's solution. It's cleaner and faster
because it's only one function call and it avoids the $ function
(which is marginally slower on xts objects).
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
On Thu, Jan 16, 2014
On Tue, Dec 24, 2013 at 3:36 PM, mamush bukana mamushbuk...@gmail.com wrote:
Hi Jeff,
From your words (if our words really describe us), I hope you don't expect
me to teach you that this is r-help room. I don't expect you to tell me
that I am a layman. I already know it and that is why I am
that is the end of it.
Does anyone know if it is possible to run quantstrat with the current version
of R?
Yep, see here: http://stackoverflow.com/q/11105131/271616
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
?
I don't know; that's a question for the R-Forge maintainers. It looks
like they're building with 3.0.2, but I'm not sure that matters. The
easiest thing to do it just check out the source and build it
yourself.
On Nov 26, 2013, at 12:41 PM, Joshua Ulrich wrote:
On Tue, Nov 26, 2013 at 11:34
NA
#2013-11-13 NANA 0.0067416934
#2013-11-140.010764042 0.0028130469NA
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
__
R-help@r-project.org mailing list
series1's index to yearmon, and the comparison works.
index(series1) - as.yearmon(index(series1))
tail(series1 series2)
GSPC
2013-06-01 TRUE
2013-07-01 TRUE
2013-08-01 TRUE
2013-09-01 TRUE
2013-10-01 TRUE
2013-11-01 TRUE
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading
))) dim(object) - c(length(object), 1)
colnames(object)[NCOL(object)] - x
} else {
...
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman
Have you read these instructions?
http://cran.r-project.org/bin/linux/ubuntu/README.html
They say to run
sudo apt-get install r-base-dev
which should install 'build-essential' (which is an Ubuntu package,
not an R package).
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading
(YHOO)
YHOO$YHOO.Return - ROC(Ad(YHOO),type=discrete)
f - function(x,n) {
coredata(last(x,n))
}
# one way
x - sapply(split(YHOO$YHOO.Return, months), f, n=10)
rowMeans(x)
# another way
ep - endpoints(YHOO,months)
y - period.apply(YHOO$YHOO.Return, ep, f, n=10)
colMeans(y)
Best,
--
Joshua Ulrich
someone help me using this data or help me to download different data?
Use quantmod::getSymbols.
library(quantmod)
getSymbols(MCD)
str(MCD)
And read ?xts for ways to subset the MCD object.
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
r != R (you mis-typed the first argument to VaR). This works:
library(PerformanceAnalytics)
data(sample_matrix)
x - Return.calculate(as.xts(sample_matrix))
VaR(R=x, p=0.99, method=historical)
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
On Tue, Jun 25
, not discrete, compounding by default.
So you need:
ROC(test$Y, n=1, type=discrete)
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
] )
But, that is horrendously slow.
Suggestions?
Use lag.
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2013: Applied Finance with R | www.RinFinance.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch
Hi David,
Unfortunately, there's no way for the user to do that. You would need
to change line 522 in de4_0.c (where the printing occurs) and
rebuild/install the package.
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2013: Applied Finance
can always convert the final object
back to zoo.
Regards,
Anton Lebedevich.
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2013: Applied Finance with R | www.RinFinance.com
__
R-help@r-project.org
at gmail.com
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2013: Applied Finance with R | www.RinFinance.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
'fill',
'suffixes', or 'drop'.
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2013: Applied Finance with R | www.RinFinance.com
On Mon, Apr 8, 2013 at 2:54 PM, Harry Mamaysky h.mamay...@gmail.com wrote:
Can someone explain why this happens when
)
aaabbbcccddd
2001-01-03 179.7061 239.11 1712.6 271.10
2001-01-04 181.1751 243.24 1689.1 267.15
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2013: Applied Finance with R | www.RinFinance.com
On Sun, Apr 7, 2013 at 8:34
On Sat, Mar 16, 2013 at 2:25 PM, Pete freeri...@gmail.com wrote:
Hi to all, i'm new to R
I have an xts object.
Can i find:
a) how many NA are in my object ?
sum(is.na(obj))
b) eventually where (in which line) they are
which(is.na(obj))
Thank you
Best,
--
Joshua Ulrich | about.me
=,, header=TRUE, FUN=as.POSIXct, format=%d.%m.%Y %H:%M:%S))
dat1[T02:30/T03:00]
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2013: Applied Finance with R | www.RinFinance.com
On Sat, Mar 9, 2013 at 11:59 AM, arun smartpink...@yahoo.com wrote
Cross-posted, verbatim, on stackoverflow:
http://stackoverflow.com/q/15203347/271616
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2013: Applied Finance with R | www.RinFinance.com
On Mon, Mar 4, 2013 at 7:07 AM, Аскар Нысанов nysanas...@mail.ru
# object that has all the index values you want
Z - merge(z, zoo(,seq(start(z),end(z),by=1 min)))
# interpolate between the 5-min observatoins
Z - na.approx(Z)
HTH,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2013: Applied Finance with R
chron indexes aren't well-supported in xts. Convert the index class
to POSIXct and it will plot.
indexClass(zc) - POSIXct
plot(zc)
Best,
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
On Wed, Dec 19, 2012 at 9:47 AM, 박상규 birdfir...@naver.com wrote:
Thank
1 - 100 of 176 matches
Mail list logo