Free Essay

Helping Hand

In:

Submitted By pcdenny
Words 4206
Pages 17
Package ‘quantmod’
July 24, 2015
Type Package
Title Quantitative Financial Modelling Framework
Version 0.4-5
Date 2015-07-23
Depends xts(>= 0.9-0), zoo, TTR(>= 0.2), methods
Suggests DBI,RMySQL,RSQLite,timeSeries,its,XML,downloader
Description Specify, build, trade, and analyse quantitative financial trading strategies.
LazyLoad yes
License GPL-3
URL http://www.quantmod.com https://github.com/joshuaulrich/quantmod
BugReports https://github.com/joshuaulrich/quantmod/issues
NeedsCompilation yes
Author Jeffrey A. Ryan [aut, cph],
Joshua M. Ulrich [cre, ctb],
Wouter Thielen [ctb]
Maintainer Joshua M. Ulrich
Repository CRAN
Date/Publication 2015-07-24 21:10:42

R topics documented: quantmod-package addADX . . . . . . addBBands . . . . addCCI . . . . . . addExpiry . . . . . addMA . . . . . . addMACD . . . . . addROC . . . . . . addRSI . . . . . .

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
1

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

. 3
. 4
. 5
. 6
. 7
. 8
. 9
. 10
. 11

R topics documented:

2 addSAR . . . . . . . . addSMI . . . . . . . . addVo . . . . . . . . . addWPR . . . . . . . . adjustOHLC . . . . . . attachSymbols . . . . . buildData . . . . . . . buildModel . . . . . . chartSeries . . . . . . . chartTheme . . . . . . chart_Series . . . . . . chob-class . . . . . . . chobTA-class . . . . . create.binding . . . . .
Defaults . . . . . . . .
Delt . . . . . . . . . . findPeaks . . . . . . . fittedModel . . . . . . getDividends . . . . . getFinancials . . . . . getFX . . . . . . . . . getMetals . . . . . . . getModelData . . . . . getOptionChain . . . . getQuote . . . . . . . . getSplits . . . . . . . . getSymbols . . . . . . getSymbols.csv . . . . getSymbols.FRED . . getSymbols.google . . getSymbols.MySQL . getSymbols.oanda . . . getSymbols.rda . . . . getSymbols.SQLite . . getSymbols.yahoo . . . getSymbols.yahooj . . has.OHLC . . . . . . . internal-quantmod . . . is.quantmod . . . . . .
Lag . . . . . . . . . . modelData . . . . . . . modelSignal . . . . . . newTA . . . . . . . . .
Next . . . . . . . . . .
OHLC.Transformations
options.expiry . . . . . periodReturn . . . . . quantmod-class . . . .

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.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
52
53
55
57
59
61
62
64
66
68
69
70
70
72
73
73
77
78
80
81
83

quantmod-package

3

quantmod.OHLC saveChart . . . . setSymbolLookup setTA . . . . . . specifyModel . .
TA . . . . . . . . tradeModel . . . zoomChart . . . .

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

Index

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

85
86
87
89
90
92
94
95
97

quantmod-package

Quantitative Financial Modelling Framework

Description
Quantitative Financial Modelling and Trading Framework for R
Details
Package:
Type:
Version:
Date:
Depends:
Suggests:
LazyLoad:
License:
URL:
URL:

quantmod
Package
0.4-4
2015-03-08
xts(>= 0.9-0),zoo,TTR(>= 0.2),methods
DBI,RMySQL,RSQLite,timeSeries,its,XML
yes
GPL-3
http://www.quantmod.com http://quantmod.r-forge.r-project.org The quantmod package for R is designed to assist the quantitative trader in the development, testing, and deployment of statistically based trading models.
What quantmod IS
A rapid prototyping environment, with comprehensive tools for data management and visualization. where quant traders can quickly and cleanly explore and build trading models.
What quantmod is NOT
A replacement for anything statistical. It has no ’new’ modelling routines or analysis tool to speak of. It does now offer charting not currently available elsewhere in R, but most everything else is more of a wrapper to what you already know and love about the langauge and packages you currently use. quantmod makes modelling easier by removing the repetitive workflow issues surrounding data management, modelling interfaces, and performance analysis.

4

addADX

Author(s)
Jeffrey A. Ryan
Maintainer: Joshua M. Ulrich

addADX

Add Directional Movement Index

Description
Add Directional Movement Index
Usage
addADX(n = 14, maType="EMA", wilder=TRUE)
Arguments
n

periods to use for DX calculation

maType

moving average type

wilder

should Welles Wilder EMA be used?

Details
See ’ADX’ in TTR for specific details and references.
Value
An ADX indicator will be draw in a new window on the current chart. A chobTA object will be returned silently.
Author(s)
Jeffrey A. Ryan
References
see ADX in TTR written by Josh Ulrich
See Also addTA Examples
## Not run: addADX() ## End(Not run)

addBBands

addBBands

5

Add Bollinger Bands to Chart

Description
Add Bollinger Bands to current chart.
Usage
addBBands(n = 20, sd = 2, maType = "SMA", draw =

bands , on = -1)

Arguments n number of moving average periods

maType

type of moving average to be used

sd

number of standard deviations

draw

indicator to draw: bands, percent, or width

on

which figure area of chart to apply to

Details
The primary addition to this function call over the TTR version is in the draw argument. ‘bands’ will draw standard Bollinger Bands, ‘percent’ will draw Bollinger %b and ‘width’ will draw Bolinger
Bands Width. The last two will be drawn in new figure regions.
See bollingerBands in TTR for specific details as to implementation and references.
Value
Bollinger Bands will be drawn, or scheduled to be drawn, on the current chart. If draw is either percent or width a new figure will be added to the current TA figures charted.
A chobTA object will be returned silently.
Author(s)
Jeffrey A. Ryan
References
See bollingerBands in TTR written by Josh Ulrich
See Also addTA 6

addCCI

Examples
## Not run: addBBands() ## End(Not run)

addCCI

Add Commodity Channel Index

Description
Add Commodity Channel Index
Usage
addCCI(n = 20, maType="SMA", c=0.015)
Arguments
n

periods to use for DX calculation

maType

moving average type

c

Constant to apply to the mean deviation.

Details
See ’CCI’ in TTR for specific details and references.
Value
An CCI indicator will be draw in a new window on the current chart. A chobTA object will be returned silently.
Author(s)
Jeffrey A. Ryan
References
see CCI in TTR written by Josh Ulrich
See Also addTA addExpiry

7

Examples
## Not run: addCCI() ## End(Not run)

addExpiry

Add Contract Expiration Bars to Chart

Description
Apply options or futures expiration vertical bars to current chart.
Usage
addExpiry(type = "options", lty = "dotted")
Arguments
type

options or futures expiration

lty

type of lines to draw

Details
See options.expiry and futures.expiry in quantmod for details and limitations.
Value
Expiration lines will be drawn at appropriate dates. A chibTA object will be returned silently.
Author(s)
Jeffrey A. Ryan
See Also addTA Examples
## Not run: addExpiry() ## End(Not run)

8

addMA

addMA

Add Moving Average to Chart

Description
Add one or more moving averages to a chart.
Usage
addSMA(n = 10, on = 1, with.col = Cl, overlay = TRUE, col = "brown") addEMA(n = 10, wilder = FALSE, ratio=NULL, on = 1, with.col = Cl, overlay = TRUE, col = "blue") addWMA(n = 10, wts=1:n, on = 1, with.col = Cl, overlay = TRUE, col = "green") addDEMA(n = 10, on = 1, with.col = Cl, overlay = TRUE, col = "pink") addEVWMA(n = 10, on = 1, with.col = Cl, overlay = TRUE, col = "yellow") addZLEMA(n = 10, ratio=NULL, on = 1, with.col = Cl, overlay = TRUE, col = "red")
Arguments
n

periods to average over

wilder

logical; use wilder?

wts

a vector of weights

ratio

a smoothing/decay ratio

on

apply to which figure (see below)

with.col

using which column of data (see below)

overlay

draw as overlay

col

color of MA

Details see the appropriate base MA functions in TTR for more details and references.
Value
A moving average indicator will be draw on the current chart. A chobTA object will be returned silently. Author(s)
Jeffrey A. Ryan

addMACD

9

References see MovingAverages in TTR written by Josh Ulrich
See Also addTA Examples
## Not run: addSMA() addEMA() addWMA() addDEMA() addEVWMA() addZLEMA()
## End(Not run)

addMACD

Add Moving Average Convergence Divergence to Chart

Description
Add Moving Average Convergence Divergence indicator to chart.
Usage
addMACD(fast = 12, slow = 26, signal = 9, type = "EMA", histogram = TRUE, col)
Arguments
fast

fast period

slow

slow period

signal

signal period

type

type of MA to use. Single values will be replicated

histogram

include histogram

col

colors to use for lines (optional)

Details
See and ’MACD’ in TTR for specific details and implementation references.
Value
A MACD indicator will be draw in a new window on the current chart. A chobTA object will be returned silently.

10

addROC

Author(s)
Jeffrey A. Ryan
References
see MACD in TTR written by Josh Ulrich
See Also addTA Examples
## Not run: addMACD() ## End(Not run)

addROC

Add Rate Of Change to Chart

Description
Add Rate Of Change indicator to chart.
Usage
addROC(n = 1, type = c("discrete", "continuous"), col = "red")
Arguments
n

periods

type

compounding type

col

line color (optional)

Details
See ’ROC’ in TTR for specific details and references.
Value
A ROC indicator will be draw in a new window on the current chart. A chobTA object will be returned silently.
Author(s)
Jeffrey A. Ryan

addRSI

11

References see ROC in TTR written by Josh Ulrich
See Also addTA Examples
## Not run: addROC() ## End(Not run)

addRSI

Add Relative Strength Index to Chart

Description
Add a Relative Strength Index indicator to chart.
Usage
addRSI(n = 14, maType = "EMA", wilder = TRUE)
Arguments
n

periods

maType

type of MA to use

wilder

use wilder (see EMA)

Details see ’RSI’ in TTR for specific details and references.
Value
An RSI indicator will be draw in a new window on the current chart. A chobTA object will be returned silently.
Author(s)
Jeffrey A. Ryan
References
see RSI in TTR written by Josh Ulrich

12

addSAR

See Also addTA Examples
## Not run: addRSI() ## End(Not run)

addSAR

Add Parabolic Stop and Reversal to Chart

Description
Add Parabolic Stop and Reversal indicator overlay to chart.
Usage
addSAR(accel = c(0.02, 0.2), col = "blue")
Arguments
accel

Accelleration factors - see SAR

col

color of points (optional)

Details see ’SAR’ in TTR for specific details and references.
Value
A SAR overlay will be drawn on the current chart. A chobTA object will be returned silently.
Author(s)
Jeffrey A. Ryan
References
see SAR in TTR written by Josh Ulrich
See Also addTA addSMI

13

Examples
## Not run: addSAR() ## End(Not run)

addSMI

Add Stochastic Momentum Indicator to Chart

Description
Add Stochastic Momentum Indicator to chart.
Usage
addSMI(n=13,slow=25,fast=2,signal=9,ma.type="EMA")
Arguments
n

periods

slow

slow

fast

fast

signal

signal

ma.type

MA tyep to use, recycled as necessary

Details see ’SMI in TTR for specifics and references.
Value
An SMI indicator will be draw in a new window on the current chart. A chobTA object will be returned silently.
Author(s)
Jeffrey A. Ryan
References
see SMI in TTR written by Josh Ulrich
See Also addTA 14

addVo

Examples
## Not run: addSMI() ## End(Not run)

addVo

Add Volume to Chart

Description
Add Volume of a series, if available, to the current chart. This is the default TA argument for all charting functions.
Usage
addVo(log.scale=FALSE)
Arguments
log.scale

use log-scale for volume

Details
Add volume bars to current chart if data object contains appropriate volume column. log.scale will transform the series via standard R graphics mechanisms.
Value
Volume will be draw in a new window on the current chart. A chobTA object will be returned silently. Author(s)
Jeffrey A. Ryan
See Also addTA Examples
## Not run: addVo() ## End(Not run)

addWPR

15

addWPR

Add William’s Percent R to Chart

Description
Add William’s percent R indiator to the current chart.
Usage
addWPR(n = 14)
Arguments
n

periods

Details see ’WPR’ in TTR for details and references.
Value
A William’s percent R indicator will be draw in a new window on the current chart. A chobTA object will be returned silently.
Author(s)
Jeffrey A. Ryan
References
see ’WPR’ in TTR written by Josh Ulrich
See Also addTA Examples
## Not run: addWPR() ## End(Not run)

16

adjustOHLC

adjustOHLC

Adjust Open,High,Low,Close Prices For Splits and Dividends

Description
Adjust all columns of an OHLC object for split and dividend.
Usage
adjustOHLC(x, adjust = c("split","dividend"), use.Adjusted = FALSE, ratio = NULL, symbol.name=deparse(substitute(x))) Arguments x An OHLC object

adjust

adjust by split, dividend, or both (default)

use.Adjusted

use the ‘Adjusted’ column in Yahoo! data to adjust

ratio

ratio to adjust with, bypassing internal calculations

symbol.name

used if x is not named the same as the symbol adjusting

Details
This function calculates the adjusted Open, High, Low, and Close prices according to split and dividend information.
There are three methods available to calculate the new OHLC object prices.
By default, getSplits and getDividends are called to retrieve the respective information. These may dispatch to custom methods following the “.” methodology used by quantmod dispatch.
See getSymbols for information related to extending quantmod. This information is passed to adjRatios from the TTR package, and the resulting ratio calculations are used to adjust to observed historical prices. This is the most precise way to adjust a series.
The second method works only on standard Yahoo! data containing an explicit Adjusted column.
A final method allows for one to pass a ratio into the function directly.
All methods proceed as follows:
New columns are derived by taking the ratio of adjusted value to original Close, and multiplying by the difference of the respective column and the original Close. This is then added to the modified
Close column to arrive at the remaining ‘adjusted’ Open, High, Low column values.
If no adjustment is needed, the function returns the original data unaltered.
Value
An object of the original class, with prices adjusted for splits and dividends.

attachSymbols

17

Warning
Using use.Adjusted = TRUE will be less precise than the method that employs actual split and dividend information. This is due to loss of precision from Yahoo! using Adjusted columns of only two decimal places. The advantage is that this can be run offline, and for short series or those with few adjustments the loss of precision will be small.
The resulting precision loss will be from row observation to row observation, as the calculation will be exact for intraday values.
Author(s)
Jeffrey A. Ryan
References
Yahoo Finance http://finance.yahoo.com
See Also getSymbols.yahoo getSplits getDividends
Examples
## Not run: getSymbols("AAPL", from="1990-01-01", src="yahoo") head(AAPL) head(AAPL.a Op[t] < Cl[t] and Op[t] > Cl[t-1]
• red => Op[t] > Cl[t] and Op[t] < Cl[t-1]
• black => Op[t] > Cl[t] and Op[t] > Cl[t-1] reChart takes any number of arguments from the original chart call — and redraws the chart with the updated parameters. One item of note: if multiple color bars/candles are desired, it is necessary to respecify the theme argument. Additionally it is not possible to change TA parameters at present.
This must be done with addTA/dropTA/swapTA/moveTA commands.

Value
Returns a standard chart plus volume, if available, suitably scaled.
If plot=FALSE a chob object will be returned.
Note
Most details can be fine-tuned within the function, though the code does a reasonable job of scaling and labelling axes for the user.
The current implementation maintains a record of actions carried out for any particular chart. This is used to recreate the original when adding new indicator. A list of applied TA actions is available with a call to listTA. This list can be assigned to a variable and used in new chart calls to recreate a set of technical indicators. It is also possible to force all future charts to use the same indicators by calling setTA.
Additional motivation to add outlined candles to allow for scaling and advanced color coding is owed to Josh Ulrich, as are the base functions (from TTR) for the yet to be released technical analysis charting code.
Many improvements in the current version were the result of conversations with Gabor Grothendieck.
Many thanks to him.
Author(s)
Jeffrey A. Ryan
References
Josh Ulrich - TTR package and multi.col coding

chartTheme

25

See Also getSymbols, addTA, setTA, chartTheme
Examples
## Not run: getSymbols("YHOO") chartSeries(YHOO) chartSeries(YHOO, subset= last 4 months ) chartSeries(YHOO, subset= 2007::2008-01 ) chartSeries(YHOO,theme=chartTheme( white )) chartSeries(YHOO,TA=NULL) #no volume chartSeries(YHOO,TA=c(addVo(),addBBands())) addMACD()

#

#add volume and Bollinger Bands from TTR

add MACD indicator to current chart

setTA() chartSeries(YHOO) #draws chart again, this time will all indicators present

## End(Not run)

chartTheme

Create A Chart Theme

Description
Create a chart.theme object for use within chartSeries to manage desired chart colors.
Usage
chartTheme(theme = "black", ...)
Arguments
theme

name of base theme

...

name=value pairs to modify

Details
Used as an argument to the chartSeries family of functions, chartTheme allows for on-the-fly modification of pre-specified chart ‘themes’. Users can modify a pre-built theme in-place, or copy the theme to a new variable for use in subsequent charting calls.
Internally a chart.theme object is nothing more than a list of values organized by chart components.
The primary purpose of this is to facilitate minor modification on the fly, as well as provide a template for larger changes.
Setting style arguments for TA calls via chartTheme requires the user to pass the styles as name=value pairs with a name containing the TA call in question. See examples for assistance.
Current components that may be modified with appropriate values:

26

chartTheme
• fg.colforeground color
• bg.colbackground color
• grid.colgrid color
• borderborder color
• minor.tickminor tickmark color
• major.tickmajor tickmark color
• up.colup bar/candle color
• dn.coldown bar/candle color
• up.up.colup after up bar/candle color
• up.dn.colup after down bar/candle color
• dn.dn.coldown after down bar/candle color
• dn.up.coldown after up bar/candle color
• up.borderup bar/candle border color
• dn.borderdown bar/candle border color
• up.up.borderup after up bar/candle border color
• up.dn.borderup after down bar/candle border color
• dn.dn.borderdown after down bar/candle border color
• dn.up.borderdown after up bar/candle border color

Value
A chart.theme object
Author(s)
Jeffrey A. Ryan
See Also chartSeries Examples chartTheme() chartTheme( white ) chartTheme( white ,up.col= blue ,dn.col= red )
# A TA example chartTheme(addRSI.col= red ) str(chartTheme()) chart_Series

chart_Series

27

Experimental Charting Version 2

Description
These are experimental functions for a new version of chartSeries in quantmod. Interface, behavior, and functionality will change.
Usage
chart_Series(x, name = deparse(substitute(x)), type = "candlesticks", subset = "",
TA = "", pars = chart_pars(), theme = chart_theme(), clev = 0,
...)
Arguments x name type subset
TA
pars theme clev
...

time series object name for chart one of: an ISO8601 style character string indicating date range a character string of semi-colon seperated TA calls. chart parameters chart theme color level (experimental). Indicates the degree of brightness 0 is darkest color. additional parameters

Details
These functions, when complete, will revert back to the original chartSeries naming convention.
Value
Called for graphical side effects.
Note
Highly experimental (read: alpha) use with caution.
Author(s)
Jeffrey A. Ryan

28

chob-class

chob-class

A Chart Object Class

Description
Internal Objects for Tracking and Plotting Chart Changes
Objects from the Class
Objects are created internally through the charting functions chartSeries, barChart, lineChart, and candleChart.
Slots
device: Object of class "ANY" ~~ call: Object of class "call" ~~ xdata: Object of class "ANY" ~~ xsubset: Object of class "ANY" ~~ name: Object of class "character" ~~ type: Object of class "character" ~~ passed.args: Object of class "ANY" ~~ windows: Object of class "numeric" ~~ xrange: Object of class "numeric" ~~ yrange: Object of class "numeric" ~~ log.scale: Object of class "logical" ~~ length: Object of class "numeric" ~~ color.vol: Object of class "logical" ~~ multi.col: Object of class "logical" ~~ show.vol: Object of class "logical" ~~ show.grid: Object of class "logical" ~~ line.type: Object of class "character" ~~ bar.type: Object of class "character" ~~ xlab: Object of class "character" ~~ ylab: Object of class "character" ~~ spacing: Object of class "numeric" ~~ width: Object of class "numeric" ~~ bp: Object of class "numeric" ~~
x.labels: Object of class "character" ~~ colors: Object of class "ANY" ~~ layout: Object of class "ANY" ~~ time.scale: Object of class "ANY" ~~ major.ticks: Object of class "ANY" ~~ minor.ticks: Object of class "logical" ~~

chobTA-class

29

Methods
No methods defined with class "chob" in the signature.
Author(s)
Jeffrey A. Ryan
See Also chartSeries, or chobTA for links to other classes
Examples
showClass("chob")

chobTA-class

A Technical Analysis Chart Object

Description
Internal storage class for handling arbitrary TA objects
Objects from the Class
Objects of class chobTA are created and returned invisibly through calls to addTA-style functions.
Slots
call: Object of class "call" ~~ on: Object of class "ANY" ~~ new: Object of class "logical" ~~
TA.values: Object of class "ANY" ~~ name: Object of class "character" ~~ params: Object of class "ANY" ~~
Methods
show signature(object = "chobTA"): ...
Note
It is of no external vaule to handle chobTA objects directly
Author(s)
Jeffrey A. Ryan

30

create.binding

See Also addTA, ~~~ or chob for links to other classes
Examples
showClass("chobTA")

create.binding

Create DDB Bindings

Description
Internal function used in attachSymbols to create active bindings for symbols defined in a DDB object. Usage create.binding(s, lsym, rsym, gsrc, mem.cache = TRUE, file.cache = !mem.cache, cache.dir = tempdir(), envir,...) Arguments s symbol name

lsym

function to convert to local name (legal R name)

rsym

function to convert to remote name (source name)

gsrc

corresponds to ’src’ arg in getSymbols call

mem.cache

cache to memory

file.cache

cache to disk

cache.dir

directory to cache to/from

envir

environment name (character)

...

arguments to pass to getSymbols call

Details
Low level function to create bindings during initial demand-database construction.
Value
Called for its side effect of creating active bindings to symbols.

Defaults

31

Note
This is code used internally by attachSymbols. User’s may modify this to accomodate different systems. The upstream functions needn’t maintain consistency with this interface.
Use as a guide or template.
Author(s)
Jeffrey A. Ryan
References
Mark, Roger, ?

Defaults

Manage Default Argument Values for quantmod Functions

Description
Use globally specified defaults, if set, in place of formally specified default argument values. Allows user to specify function defaults different than formally supplied values, e.g. to change poorly performing defaults, or satisfy a different preference.
Usage
setDefaults(name, ...) unsetDefaults(name, confirm = TRUE) getDefaults(name = NULL, arg = NULL) importDefaults(calling.fun) Arguments name name of function, quoted or unquoted

...

name=value default pairs

confirm

prompt before unsetting defaults

arg

values to retrieve

calling.fun

name of function to act upon

Details setDefaults Provides a wrapper to R options that allows the user to specify any name=value pair for a function’s formal arguments. Only formal name=value pairs specified will be updated.
Values do not have to be respecified in subsequent calls to setDefaults, so it is possible to add new defaults for each function one at a time, without having to retype all previous values.
Assigning NULL to any argument will remove the argument from the defaults list. unsetDefaults Removes name=value pairs from the defaults list.

32

Defaults getDefaults Provides access to the stored user defaults. Single arguments need not be quoted, multiple arguments must be in a character vector. importDefaults A call to importDefaults should be placed on the first line in the body of the function. It checks the user’s environment for globally specified default values for the called function. These defaults can be specified by the user with a call to setDefaults, and will override any default formal parameters, in effect replacing the original defaults with user supplied values instead. Any user-specified values in the parent function (that is, the function containing importDefaults) will override the values set in the global default environment.

Value setDefaults None. Used for it’s side effect of setting a list of default arguments by function.

unsetDefaults

None. Used for it’s side effect of unsetting default arguments by function.

getDefaults

A named list of defaults and associated values, similar to formals, but only returning values set by setDefaults for the name function. Calling getDefaults()
(without arguments) returns in a character vector of all functions currently having defaults set (by setDefaults).
This does not imply that the returned function names are able to accept defaults
(via importDefaults), rather that they have been set to store user defaults. All values can also be viewed with a call to getOption(name_of_function.Default).

importDefaults None. Used for its side-effect of loading all non-NULL user- specified default values into the current function’s environment, effectively changing the default values passed in the parent function call. Like formally defined defaults in the function definition, default values set by importDefaults take lower precedence than arguments specified by the user in the function call.
Note
setDefaults At present it is not possible to specify NULL as a replacement for a non-NULL default, as the process interprets NULL values as being not set, and will simply use the value specified formally in the function. If NULL is what is desired, it is necessary to include this in the function call itself.
Any arguments included in the actual function call will take precedence over setDefaults values, as well as the standard formal function values. This conforms to the current user experience in R.
Like options, default settings are not kept across sessions. Currently, it is not possible to pass values for . . . arguments, only formally specified arguments in the original function definition. unsetDefaults unsetDefaults removes the all entries from the options lists for the specified function. To remove single function default values simply set the name of the argument to
NULL in setDefaults. importDefaults When a function implements importDefaults, non-named arguments may be ignored if a global default has been set (i.e. not NULL). If this is the case, simply name the arguments in the calling function.
This should also work for functions retrieving formal parameter values from options, as it assigns a value to the parameter in a way that looks like it was passed in the function call. So any check on options would presumably disregard importDefaults values if an argument was passed to the function.

Delt

33

Author(s)
Jeffrey A. Ryan
See Also options Examples
my.fun

Similar Documents

Free Essay

Helping Hands

...Helping Hands I am most passionate about volunteering and helping people who is willing to have my help. The passion I have for helping persons started when I was at a young age. In fact, as far as I remember I always felt responsible for helping people that were around me. When I was a child I was responsible for my younger brother and my older brother in a way. As I grew up I started to think over my life on how I could attempt to find some purpose in my life. Now I understand that it was the formation of my identity to help other people to dominate in the development of my personality. I should say that I really started with the passion of helping others when I was able to help out at my church after I gotten out of school where there was an after school program called C.H.A.M.P.S. I tutored the children who was a part of the after school program. My responsibility to help the children made me have this uplifting feeling because I perfectly understood that I have some knowledge that I can share with other them. At the same time, I know that many children do not have an opportunity to get a good education but they are gifted so helping out at C.H.A.M.P.S. gave them a better opportunity. Consequently, I could help them. This is actually why I started tutoring them and this became my passion. At the same time, this passion brought me great satisfaction because I felt that my help is really useful and that those children really need me. It was a really great experience because...

Words: 466 - Pages: 2

Free Essay

Helping Hands

...Affluent businessmen in Hong Kong raised funds amounting to Ninety Million Pesos (P90,000,000.00), in just one night, to help the ‘ultrapoor’ in the Philippines. The ultrapoor they considered are the ones who live on P13.00 or less a day. This was all made possible by the International Care Ministries (ICM) who helped raise funds for 1.7 million people who are scattered in 17 provinces of the Philippines. The ICM board chairperson, David Sutherland, said that the underlying cause of poverty is rooted on fatalism and the antidote to fatalism is hope. I can relate this news to our previous lesson in our religion subject which is about the Good Samaritan. As most of us know, there are a lot of people in Hong Kong who hate on us, Filipinos. It can be clearly seen in the news nowadays how some people in Hong Kong treat our fellow Filipinos who work there. Most of the stories were usually abusing and harassing the Filipinos. I can relate this to the story of The Good Samaritan because in the story, the Samaritans and Jews were not in good terms or they generally despised each other. Yet, a Samaritan helped a Jew who got beaten up and was left almost lifeless. I can see this story in the news I chose because no matter how some of the people in Hong Kong hate the Filipinos, there are still good-hearted men out there, who I consider as Good Samaritans, who just wants peace and everything better. They see that there is fatalism going on in our country and they go out of their way just...

Words: 311 - Pages: 2

Premium Essay

Occupational Therapy Case Study

...I have wrinkly and dry hands. I grew up with eczema and other skin problems that ended up making my hands look as if they were old enough to have grandchildren. I relayed this to an elderly patient I was working with at the assisted living home I interned at as she marvelled at the not far comparison her and my hands shared. The occupational therapist had me do some hand strengthening and mobility exercises with her patients so I sat with an older resident with Parkinson's and we picked up pennies and pinched putty together. The neural issues in her right hand made it difficult to clench and unclench, but it didn’t stop her from holding my hand into hers to tell me that I was doing a fine job interning with her OT and that my old hands were going to do a lot of good in the future. This was my introduction to what occupational therapy did with others and it became my invitation to learn and do more....

Words: 1082 - Pages: 5

Free Essay

Writing an Explanatory Paper

...the person who donated the time. It is what makes a community because it assembles people to work on a goal. Whether it is a fundraiser for the research to remedy a disease that affects the whole world, or to avail a local family who has fallen in a time of calamity, volunteers make it transpire. Community life is amended by availing others and lending an availing hand to get a job done more efficaciously. More people working equals less work for each person and less time for the project. When I was a young boy and it was brought to my attention how others did not have anything or anyone. It was Christmas time and my family packed up 30 lunches, scarfs, T-shirts, blankets and we drove down to Washington DC. I was told to pick out people who I thought needed to eat and looked cold. I remember thinking everyone had a home, family and food for themselves. It never occurred to me that people lived on the street with no food, shelter or support. That day we handed our food and clothing to people who truly had nothing. As a direct result of giving and wanting to help at that moment, I was inspired to lend a helping hand and contribute to my own community. We donated our time and gave hope to someone who required it. A volunteer conjointly benefits themselves because they get to optically discern how their contribution has made a difference. This experience contributes to personal development especially in areas such as self-fulfillment and self-esteem which often flourish in the...

Words: 390 - Pages: 2

Premium Essay

Genzyme

...Case 8-4: Genzyme’s CSR Dilemma: How to Play its HAND 1. In your opinion, which of the three major HAND initiatives: TB, Malaria, or Chagas should Jim Geraghty recommend? Defend you answer by detailing how your choice is better than the other two. I think that Jim Geraghty should recommend the Malaria initiative. The Malaria initiative is the best business decision for Genzyme. There are 250 million Malaria cases every year, compared to that of 16-18 million cases of Chagas and 25 million cases of Tuberculosis. Even though Tuberculosis has more deaths per year at 1.5-2 million and could possibly be the best initiative to recommend, I still believe the Malaria initiative is the best option. Malaria is spread by Anopheles mosquitos and there is still a great need for a cure of Malaria in today’s world. In the case, Genzyme’s goal is to have the most impact possible on a deadly disease, while doing something that is within their capabilities. All three initiatives have a very important medical need, but Genzyme has the molecular knowledge to create a vaccine for Malaria. They have done a lot of research for Chagas also, but they would have to basically start from scratch if they were to go towards the Tuberculosis initiative. By going with the Malaria initiative, they would more than likely partner with Harvard, MMV, and ICGEB, which would be great for the research and development capabilities. Jim Geraghty should recommend the Malaria initiative to Henri Teermer 2. Taking the...

Words: 664 - Pages: 3

Premium Essay

Steve Jobs Essay

...A Pocket Guide to EFT (Emotional Freedom Techniques) for Addiction Treatment, Self-Help and Recovery How to use EFT for relief from addictive cravings, withdrawal symptoms, anxiety, pain and upsetting memories Masha Bennett “Addictive behaviour is the mindbody’s normal and natural response to the pathology of sobriety” (Gregory Bateson) What is EFT? The Emotional Freedom Techniques are a group of brief therapeutic interventions and self-help tools, sometimes known as “acupuncture without needles” or “tapping therapy”. EFT brings together the principles of traditional Chinese medicine, neuroscience and cognitive-behavioural therapy by combining stimulation of a series of acupressure points with cognitive restructuring (specially worded affirmations), typically leading to shifts in thought patterns and relief from both physical tension and excess negative emotions. Table 1. Uses of EFT in addiction recovery  Reducing / eliminating addictive cravings  Alleviating withdrawal symptoms  Managing anxiety, fear, grief, anger  Relieving physical pain and tension  Modifying unhelpful beliefs  Healing past trauma  Enhancing sense of control and self-efficacy  Reducing risk of relapse Day-to-day emotional & stress management  How does EFT work? There are several explanations of how EFT works. The creator of the technique and many practitioners attribute its effect to balancing the energy in meridians, as in acupuncture, in relation to a specific problem. Some neurological...

Words: 2244 - Pages: 9

Premium Essay

Creative and Therapeutic Activities in Health and Social Environment.

...create in a way that is right for them. Children aren’t the only ones who can do creative activities so for elderly in care home; you firstly have to group them seated in a circle near a table for ease of passing items, especially for residents with limited mobility. You will then introduce yourself to them before you Begin by introducing the activity you plan to do with them, therefore you will make sure you get them involved in some type of creative activity to help them to accomplishment a sense of joy. Objectives in this activity for Children and elderly as what will get out of it as a professional you have to support children's to development their hand muscle by planning play activities that provide children with regular opportunities to move their hand. You have to careful control their small muscles in the hands and fingers. Encourage them to use tools such as rolling pins or cookie cutters and to Use scissors correctly to develop fine motor skills. You have to Provide children and elderly a safe space to explore, and help them begin to recognize and handle their own feelings are an important ways for to promote children social and emotional development. As you already group children...

Words: 1027 - Pages: 5

Free Essay

Hand Test

...HAND TEST DR. EDWARD E. WAGNER HISTORICAL DEVELOPMENT • The first scientific attempts in relating the hand to personality developed out of the study of the body types (asthenic/thin; atheletic/ muscular; pyknic/ stocky) by Ernst Kretschmer in 1931. o BODY TYPES--- TRAITS( PSYCHOPATHOLOGIES ▪ PYKNIC: friendly ( depressive ▪ ASTHENIC: timid, introverted ( schizophrenic • Charlotte Wolff (1943) studied certain characteristics of the hand and handedness and derived a practical method of the hand interpretation based on the studied characteristic. o The Hand in Psychological Diagnosis (1951) considers the significance of endocrinological dysfunction, its psychological effects and chirological manifestations & outlines how and why the hand reflects temperament and personality. • The first empirical research was a report by Carmichael, Roberts and Wessell (1937) which showed that , to some degree, emotions can be encoded in and decoded from dynamic body movements, gait, and manual gestures. • The Hand Test was originated by E. Wagner in 1958 and was primarily used to differentiate normal from schizophrenic. • In 1962, Bricklin Protowski and Wagner published a monograph with an initial rationale and scoring for the Hand Test. THEORETICAL FRAMEWORK • Hand Test was developed to meet the general criteria for a projective test and also to be easily classified for empirical examination ...

Words: 893 - Pages: 4

Free Essay

Inspirational Communication

...Ben Sexton Cheongmi Shim Interpersonal Communication October 19, 2011 Good and Bad I. Introduction If I had to choose two people who I communicate with the most and know me the best, it is a simple decision. My mother, Karen Sexton, and one of my best friends Cody Woods are two people who I communicate an extreme amount with and are able to really know the strengths and weaknesses of myself. Communication is something that we all take part in every day whether its through voice, facial expressions, hand gestures or symbols, and even pure silence. The level of communication we are at is different from person to person. The purpose of this paper is to find out our level of what we succeed at and what we could use some work on. II. Summary of Interaction The interviewees I have chosen are my mother Karen Sexton and a close friend of mine Cody Woods. My mother I have known for twenty-two years and has been the closest person in my family to me. Cody is a friend I met at college and have known for three years now. Both are extremely close with me and are important to my everyday life so they are obviously two people who I communicate with a lot. The meeting with my mother took place over the phone with her because she is back at home. It was during the evening this past weekend around 9 pm on Sunday. The interview was very laid back and easily initiated. The interview with Cody was completed at my house in the living room and was also a very laid back situation...

Words: 1320 - Pages: 6

Free Essay

Role Play

...the Earth as this happened, the clons probably finally noticing the young Uchiha had a clone fighting this entire time. The real Mikamo was hidden underground, still focusing his energy. As he felt the thunk of the blade of his weapon hit the Earth, he sighed. 'Well, guess my clone wasn't enough...Oh well, time for some real fun, oh and let's not forget my snake..' he said as he performed a few handsigns, signaling the snakes mind to know to move from the gecko, as it slithered away, dirt from above the earth crumpled down onto him and into his hair. 'Oh bother,' he said in a Poo bear style,' looks like that fat gecko landed. And I hope he knows he's not the only one with tricks up his sleeve..' he said as he thrusted his arm upward, his hand pushing through the earth. Knowing that it would be hardly visible, he clawed the earth apart, digging himself out. He was wearing the same attire as the clone from before, except it was smeared with grime from underground, and his katana had been upgraded several times from the clones. As his head was able to reach through the earth, he clawed harder and eventually was able to dig himself out. He stood tall, looking at the three Jato's being confused. He chukcled. 'I told you I had many tricks, Jatomaru.' he said as he took a quick glance at the katana his clone had used. He took off his shinobi-like glove with a metallic plate on it, as he bit his thumb with his right fang, smearing a japanese symbol onto the blade. 'Rest, worhty clone...

Words: 1643 - Pages: 7

Free Essay

Introduce of a Product

...Good morning to Dr.Syed and my friends. Before I continue my presentation today, I would like to ask all of you to put up your hand and feel your face. What do you feel?? Soft, oily or rough?? Which one is it??? No mender is soft, oily or rough, I would like to ask all of you that do you use any product to make your skin fairer and better?? Slide 1 From this slide, I am sure that you all will want this kind of skin. So what if you are one of the less fortunate people and have this kind of skin, what you should do in order to have a better skin?? What is the solution to it?? Slide 2 The solution is the product that I am going to introduce to you all today. The product is Aquafirm Weekly Active Foam Mask. This mask had been introducing to the world on 22 June 2011 and arrives at Malaysia on the month of July. So why do I introduce this mask to all of you??? Slide 3 Aquafirm Weekly Active Foam Mask is a self-foaming mask helps reset depleted moisture levels while activating skin-firming collagen production with 3 special ingredients that is Marine Microspheres, Sea Nutrient Barrier and Brown Sea Kelp. Okay, why do I specialist this 3 ingredients?? The first one Marine Microspheres is to plump the skin that is in other words it swell with water to fill wrinkles and provide long-term hydration within epidermal layers. Second, Sea Nutrient Barrier is a fusion of algae and oat extract for a micro-lifting effect on the surfaces cells of the face. Third is the Brown Sea Kelp which...

Words: 765 - Pages: 4

Premium Essay

Tropical Rainforest

...Mid Term Assignment A) Plan an activity based lesson using any one of the four skills (Reading/ Listening/Writing or Speaking). Kindly note that you have to select any one subject ( for your lesson plan) from the list given below: 1. EVS 2. Math 3. Science 4. Language 5. Art and craft Your lesson can incorporate PPT, music, rhymes, story etc and the lesson should cater to the young learners’ class. * Mention age. * The time frame for the lesson needs to be within 35-40 minutes. * Use variation of activities appropriate for the selected age group * The lesson flow needs to have clear-cut steps * Please end with a recapitulation activity in the form of a worksheet/song/game. You may attach the worksheet/ or the material used with your answer sheet/ answer. Lesson Plan for young learners: (Pre – Primary) Name of the Teacher : VIJAYA LAKSHMI BHUPATHIRAJU | Date: 06-04-2014 | Age Group : 3 to 4 years | Number of Students : 20 | Name of the Activity : * To improve Listening Skills. * Total Physical Response; children to do actions, following the teacher’s example to begin with.GAME: * Roll the cubeSONGS: * Warm up song (“Genki Disco Warm up song”) * Head, shoulder, knees and toes * One little finger, one little finger. Tap, tap, tap. | Material(s) used: * Parts of Body flashcards * Old carton * Match-up the body parts worksheet * | How is it going to benefit the child: * The child can be able to...

Words: 1779 - Pages: 8

Free Essay

Body Language

...make ourselves understood not only by words. We send messages to the people around us also by facial expressions and body movements.we call it "body language ", which is also a way of communication. For example, A smile and handshake show welcome ,Waving one's hand is to say"goodbye", nodding the head means agreement,while shaking it means disgreement .Putting up a hand means"May I ask a question?". These gestures are very common and are widespread since they are having the same meanings around the world. However, different countries still have different body languages due to different culture, which will affect the way people communicate. FOR EXAMPLE, In Arab, people often greet by kissing on both cheeks. In Japan people greet by bowing .In the Unite States, people shake hands to show"their greeting". And the gesture of putting a hand on a person' neck is different for Chinese and Americans. For Chinese,it is to say"someone will be killed". For Americans, it means "I'm full, cant eat any more”. And crossing one's legs in the United States is a sign of being relaxed. However in Korea, this is not allowed. In China,people hand everything with both hands to show their respect,but for Muslims,they think the left hand is unclean, so they do not eat or pass something with it. Touch or not touch? Whether or not touching during conversation is acceptable depends on the culture in different countries. For example, the French and Italians love to continually touch as they...

Words: 641 - Pages: 3

Free Essay

Child Psychology

...substage of the sensorimotor period the child probably is in, and tied the notions of assimilation and accommodation to specific infant behaviors. Observation Paper #1 A couple (husband and wife) were sitting on the grass at a music festival with a young male infant, who was probably between 12-18 months old. He sat on his mother's lap with a group of the adult's friends around them. They were sitting together on a blanket with a clearing in the middle for the child to play and move around while they all enjoyed the music and talked to each other. As I was sitting there, I observed the infant's mother hand him a small box of wheat thins which he easily grasped in his hands and held, looking at it for a little while. Then he dropped the box which hit his mother's foot and rustled to the ground. His mother picked the box back up for him and put it back into his hands. He then dropped it again on her foot and it landed again on the ground next to them. According to Piaget the child is in substage 5 of the sensorimotor period. The child is testing the cause and effect of his dropping the box of wheat thins on his mother's foot next to him. He is causing the box to fall, and then watching and studying it as it bounces off her foot and finally rests on the ground (causing a rustling noise from the crackers). Piaget would also think that he is experimenting with varying...

Words: 815 - Pages: 4

Free Essay

Knowing Body Language

...sending a different message with something as simple as a smile.” (Krischer Goodman a40) Body language can be helpful to know the emotions of someone, and when you know someone’s emotions you can generally predict or alter their motive. Knowing these cues can be helpful in situations like a job interview, on a date, or in an argument. When at an interview it can be very stressful to figure out who would be a good applicant to hire for a job. If an applicant and the boss are talking there are a few things that the employer can notice that would be helpful. People will lie to get a job, it happens; let’s say that the boss asks a question about the applicant’s experience, and when answering, the applicant covers part of their face with their hand. They most likely are lying. When people lie they tend to take more time to think of a response and when they do respond they tend to talk faster. Men will make their voice deeper and women will make their voice higher pitched when lying. If the applicant is sitting with their arms crossed then they are closed-off to the employer, and in other words they’re just not feeling it. If the employer asks a question and the applicant touches the back of their neck that’s a pacifying act and it doesn’t mean...

Words: 972 - Pages: 4