Displaying 7 results from an estimated 7 matches for "tofer".
Did you mean:
hofer
2018 Apr 24
2
Rolling window difference for zoo time series
Hi,
I have a 'zoo' time series as below :
Zoo_TS = zoo(5:1, as.Date(Sys.time())+0:4)
Now I want to calculate First order difference of order 1, rolling
window basis i.e.
(Zoo_TS[2] - Zoo_TS[1] ) / Zoo_TS[1]
(Zoo_TS[3] - Zoo_TS[2] ) / Zoo_TS[2]
.....
Is there any direct function available to achieve this?
Thanks,
2018 May 14
1
Quandl data download error
Hi,
I use Quandl package to download data from Quandl https://www.quandl.com
Today when I tried to download data from there, I received below error :
> Quandl('LME/PR_CO')
Error in curl::curl_fetch_memory(url, handle = handle) :
gnutls_handshake() failed: An unexpected TLS packet was received.
I am using Quandl_2.8.0 in below platform
R version 3.4.4 (2018-03-15)
Platform:
2018 May 23
1
Wired result when I convert from Character to Numeric
Hi,
Below is my simple result in R
> x = "1282553.8210000000"
> as.numeric(x)
[1] 1282554
Any idea where all numbers in the decimal places (ie 8, 2, 1) are gone?
Thanks,
2018 Jun 01
2
Unable to take correct Web-snapshot
Hi again,
I use the *webshot* package to take snapshot from Webpage. However, when I
try to take snapshot from* https://www.coinbase.com/
<https://www.coinbase.com/>*, this fails to take the full snapshot of that
page.
I tried following :
> library(webshot)
> webshot("https://www.coinbase.com/", 'aa.pdf')
However in the pdf page, I done see the quotes which are
2018 Jun 01
1
Unable to take correct Web-snapshot
Thanks for that information.
However how can I use R to directly get data from that API?
On Fri, Jun 1, 2018 at 8:36 PM Martin M?ller Skarbiniks Pedersen <
traxplayer at gmail.com> wrote:
> On 1 June 2018 at 15:08, Christofer Bogaso <bogaso.christofer at gmail.com>
> wrote:
> > Hi again,
> >
> > I use the *webshot* package to take snapshot from Webpage. However, when
> I
> > try to take snapshot from* https://www.coinbase.com/
> > <https://www.coinbase.com/>*, this fails t...
2018 May 19
5
Split a data.frame
Hi,
I am struggling to split a data.frame as will below scheme :
DF = data.frame(name = c('a', 'v', 'c'), val = 0); DF
split_str = c('a', 'c')
Now, for each element in split_str, R should find which row of DF contains
that element, and return DF with all rows starting from next row of the
corresponding element and ending with the preceding value of the
2019 Jan 06
4
Failed to install RQuantLib in Ubuntu machine
Hi,
<This issue was previously posted in R-help, but advised to post here as a
more relevant group>
I was trying to install RQuantLib in my Ubuntu machine which failed with
below information :
*> install.packages('RQuantLib', repos='http://cran.rstudio.com/
<http://cran.rstudio.com/>', INSTALL_opts = c('--no-lock'))*
*Installing package into