I succeeded in getting netmetabin to work, but when trying to use
direct.evidence.plot I ran into a problem:
> nb1evid <- direct.evidence.plot(nb1)
Error in if (class(x) != "netmeta") { : the condition has length > 1
I tried updating netmeta and dmetar (and dmetafor) from R, but the problem
rem
On Sun, Jan 5, 2025 at 5:54 PM Joshua Ulrich wrote:
>
> On Sun, Jan 5, 2025 at 5:41 PM Sparks, John wrote:
> >
> > Hi Josh,
> >
> > Thanks for helping me with my second topic of the day.
> >
> > I am scraping from the fmpcloud website and trying to get data from their
> > survivorship free data
On Sun, Jan 5, 2025 at 5:41 PM Sparks, John wrote:
>
> Hi Josh,
>
> Thanks for helping me with my second topic of the day.
>
> I am scraping from the fmpcloud website and trying to get data from their
> survivorship free data (so they say).
>
> The result is supposed to be in json format, but I c
Hi Josh,
Thanks for helping me with my second topic of the day.
I am scraping from the fmpcloud website and trying to get data from their
survivorship free data (so they say).
The result is supposed to be in json format, but I can't figure out how to get
any of R's json interpreters to parse t
On Sun, Jan 5, 2025 at 2:03 PM Sparks, John via R-help
wrote:
>
> Hi,
>
> I am scraping some data from the internet and I got what I want but in a big
> long string (sort of) and can't figure out a way to parse it.
>
What site are you scraping? There may be an easier way to get the data on it.
>
В Sun, 5 Jan 2025 20:03:11 +
"Sparks, John via R-help" пишет:
> > mystring
> {xml_nodeset (1)}
> [1] {\n "symbol": "ABI",\n "open": 21.04,\n "high": 21.05,\n
> "low": 20.06,\n "close": 20.2,\n "volume": 938700,\n "from":
> "2005-01-04"\n}
>
> But I can't find a way to isolate the ind
Hi,
I am scraping some data from the internet and I got what I want but in a big
long string (sort of) and can't figure out a way to parse it.
What I have gotten to is
> mystring
{xml_nodeset (1)}
[1] {\n "symbol": "ABI",\n "open": 21.04,\n "high": 21.05,\n "low":
20.06,\n "close": 20.2,\
Thanks, Iris.
That is what I suspected, but it wasn't clear to me from the docs.
Best,
Bert
On Sun, Jan 5, 2025 at 10:16 AM Iris Simmons wrote:
>
> I would use two because it does not force the evaluation of the other
> arguments in the ... list.
>
>
>
> On Sun, Jan 5, 2025, 13:00 Bert Gunter
On Sun, Jan 5, 2025 at 11:58 AM Sparks, John wrote:
>
> I don't see atr_df appearing in my current directory.
>
> Also, I assume that the input data frame is named ohlc? Or am I missing
> something.
>
You need to call the function with your data and assign it to an object.
For example:
atr
I would use two because it does not force the evaluation of the other
arguments in the ... list.
On Sun, Jan 5, 2025, 13:00 Bert Gunter wrote:
> Consider:
>
> f1 <- function(...){
> one <- list(...)[['a']]
> two <- ...elt(match('a', ...names()))
> c(one, two)
> }
> ## Here "..." is an ar
Consider:
f1 <- function(...){
one <- list(...)[['a']]
two <- ...elt(match('a', ...names()))
c(one, two)
}
## Here "..." is an argument list with "a" somewhere in it, but in an
unknown position.
> f1(b=5, a = 2, c=7)
[1] 2 2
Which is better for extracting a specific named argument, one<- o
I don't see atr_df appearing in my current directory.
Also, I assume that the input data frame is named ohlc? Or am I missing
something.
Thanks,
--JJS
From: Joshua Ulrich
Sent: Sunday, January 5, 2025 11:31 AM
To: Sparks, John
Cc: R-help@r-project.org
Subjec
Thanks! Appears helpful and the quick turnaround is very much appreciated.
I'll do some testing now.
--JJS
From: Joshua Ulrich
Sent: Sunday, January 5, 2025 11:31 AM
To: Sparks, John
Cc: R-help@r-project.org
Subject: Re: Using library(TTR) Calculate ATR by Sy
Hi,
TTR/xts/quantmod maintainer here.
On Sun, Jan 5, 2025 at 10:58 AM Sparks, John wrote:
>
> Hi,
>
> In looking at the documentation for the TTR library and particularly the
> example for calculating the ATR (average true range). The example shows
> how to calculate ATR for a file of a single
Hi,
In looking at the documentation for the TTR library and particularly the
example for calculating the ATR (average true range). The example shows how to
calculate ATR for a file of a single stock.
If I have multiple stocks in one file, isn't there a way to get the ATR for
each of them? Or
15 matches
Mail list logo