Description Usage Arguments Details Value Author(s)
A set of functions to check for appropriate BAM and BATM column names within a data object, as well as the availability and positions of those columns.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
x |
data object |
which |
display position of match |
is.BAM
(and is.BATM
, similarly) will only
return TRUE if there are columns for Bid, Ask, Mid (and
Trade for is.BATM
). Additional columns will not
affect the value.
A logical value indicating success or failure by default.
If which=TRUE, a numeric value representing the column position will be returned.
is.BAM
and is.BATM
return a single value of
TRUE or FALSE.
Garrett See (but based on – and mostly copied from – Jeffrey A. Ryan's quantmod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.