~ubuntu-branches/ubuntu/trusty/fportfolio/trusty

« back to all changes in this revision

Viewing changes to NAMESPACE

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2008-12-04 11:36:54 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081204113654-gr832nfs44blp5ph
Tags: 280.74-1
* New upstream release
* Finally uploading as r-cran-rglpk is out of NEW after five weeks

* debian/control: Updated (Build-)Depends: and Suggests:

* debian/control: Set (Build-)Depends: to current R version
* debian/control: Set Standards-Version: to current version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
################################################
 
3
## import name space
 
4
################################################
 
5
 
 
6
importFrom("fAssets",
 
7
           "assetsLPM",
 
8
           "pfolioReturn")
 
9
importFrom("fBasics",
 
10
           "seqPalette",
 
11
           "getModel",
 
12
           "interactivePlot",
 
13
           ".sliderMenu")
 
14
importFrom("graphics",
 
15
           "plot",
 
16
           "legend",
 
17
           "par",
 
18
           "polygon",
 
19
           "text",
 
20
           "abline",
 
21
           "axis",
 
22
           "mtext",
 
23
           "pie",
 
24
           "barplot",
 
25
           "title",
 
26
           "grid")
 
27
importFrom("grDevices",
 
28
           "rainbow")
 
29
importFrom("methods",
 
30
           "show",
 
31
           "@<-",
 
32
           "new")
 
33
importFrom("stats",
 
34
           "cov",
 
35
           "ts.plot",
 
36
           "weights",
 
37
           "pnorm",
 
38
           "sd",
 
39
           "optimize",
 
40
           "rcauchy",
 
41
           "rnorm")
 
42
importFrom("timeDate",
 
43
           "timeFirstDayInMonth",
 
44
           "timeLastDayInMonth",
 
45
           "getRmetricsOptions",
 
46
           "setRmetricsOptions")
 
47
importFrom("timeSeries",
 
48
           "colnames<-",
 
49
           "diff",
 
50
           "lines",
 
51
           "points",
 
52
           "rownames<-",
 
53
           "colMaxs",
 
54
           "colMins",
 
55
           "quantile",
 
56
           "description",
 
57
           "is.timeSeries",
 
58
           "series",
 
59
           "rev",
 
60
           "sort",
 
61
           "drawdowns",
 
62
           "end",
 
63
           "start",
 
64
           "time",
 
65
           "print")
 
66
 
 
67
################################################
 
68
## S4 classes
 
69
################################################
 
70
 
 
71
exportClasses("fPFOLIOCON",
 
72
              "fPFOLIODATA",
 
73
              "fPFOLIOSPEC",
 
74
              "fPORTFOLIO" )
 
75
exportMethods("show" )
 
76
 
 
77
################################################
 
78
## S3 classes
 
79
################################################
 
80
 
 
81
S3method("getAlpha", "fPFOLIOSPEC")
 
82
S3method("getAlpha", "fPORTFOLIO")
 
83
S3method("getConstraints", "fPORTFOLIO")
 
84
S3method("getCov", "fPFOLIODATA")
 
85
S3method("getCov", "fPORTFOLIO")
 
86
S3method("getCovRiskBudgets", "fPORTFOLIO")
 
87
S3method("getData", "fPFOLIODATA")
 
88
S3method("getData", "fPORTFOLIO")
 
89
S3method("getEstimator", "fPFOLIODATA")
 
90
S3method("getEstimator", "fPFOLIOSPEC")
 
91
S3method("getEstimator", "fPORTFOLIO")
 
92
S3method("getMean", "fPFOLIODATA")
 
93
S3method("getMean", "fPORTFOLIO")
 
94
S3method("getMu", "fPFOLIODATA")
 
95
S3method("getMu", "fPORTFOLIO")
 
96
S3method("getNames", "fPFOLIODATA")
 
97
S3method("getNames", "fPORTFOLIO")
 
98
S3method("getNAssets", "fPFOLIODATA")
 
99
S3method("getNAssets", "fPORTFOLIO")
 
100
S3method("getNFrontierPoints", "fPFOLIOSPEC")
 
101
S3method("getNFrontierPoints", "fPORTFOLIO")
 
102
S3method("getObjective", "fPFOLIOSPEC")
 
103
S3method("getOptim", "fPFOLIOSPEC")
 
104
S3method("getOptim", "fPORTFOLIO")
 
105
S3method("getOptimize", "fPFOLIOSPEC")
 
106
S3method("getOptimize", "fPORTFOLIO")
 
107
S3method("getParams", "fPFOLIOSPEC")
 
108
S3method("getParams", "fPORTFOLIO")
 
109
S3method("getPortfolio", "fPFOLIOSPEC")
 
110
S3method("getPortfolio", "fPORTFOLIO")
 
111
S3method("getRiskFreeRate", "fPFOLIOSPEC")
 
112
S3method("getRiskFreeRate", "fPORTFOLIO")
 
113
S3method("getSeries", "fPFOLIODATA")
 
114
S3method("getSeries", "fPORTFOLIO")
 
115
S3method("getSigma", "fPFOLIODATA")
 
116
S3method("getSigma", "fPORTFOLIO")
 
117
S3method("getSolver", "fPFOLIOSPEC")
 
118
S3method("getSolver", "fPORTFOLIO")
 
119
S3method("getSpec", "fPORTFOLIO")
 
120
S3method("getStatistics", "fPFOLIODATA")
 
121
S3method("getStatistics", "fPORTFOLIO")
 
122
S3method("getStatus", "fPFOLIOSPEC")
 
123
S3method("getStatus", "fPORTFOLIO")
 
124
S3method("getTailRiskBudgets", "fPORTFOLIO")
 
125
S3method("getTailRisk", "fPFOLIODATA")
 
126
S3method("getTailRisk", "fPFOLIOSPEC")
 
127
S3method("getTailRisk", "fPORTFOLIO")
 
128
S3method("getTargetReturn", "fPFOLIOSPEC")
 
129
S3method("getTargetReturn", "fPORTFOLIO")
 
130
S3method("getTargetRisk", "fPFOLIOSPEC")
 
131
S3method("getTargetRisk", "fPORTFOLIO")
 
132
S3method("getTrace", "fPFOLIOSPEC")
 
133
S3method("getTrace", "fPORTFOLIO")
 
134
S3method("getType", "fPFOLIOSPEC")
 
135
S3method("getType", "fPORTFOLIO")
 
136
S3method("getWeights", "fPFOLIOSPEC")
 
137
S3method("getWeights", "fPORTFOLIO")
 
138
S3method("plot", "fPORTFOLIO")
 
139
S3method("summary", "fPORTFOLIO")
 
140
 
 
141
################################################
 
142
## functions
 
143
################################################
 
144
 
 
145
export(
 
146
    ".addlegend",
 
147
    ".attributesWheel",
 
148
    ".cfgFit",
 
149
    ".checkSpecVsConstraints",
 
150
    ".checkTargetReturn",
 
151
    ".checkWeights",
 
152
    "cmlLines",
 
153
    "cmlPoints",
 
154
    "covEstimator",
 
155
    "covMcdEstimator",
 
156
    "covOGKEstimator",
 
157
    "covRisk",
 
158
    ".covRisk",
 
159
    "covRiskBudgetsLinePlot",
 
160
    "covRiskBudgetsPie",
 
161
    "covRiskBudgetsPlot",
 
162
    ".cvarRglpkArguments",
 
163
    "cvarRisk",
 
164
    ".cvarRisk",
 
165
    ".cvarSolveTwoAssets",
 
166
    "efficientPortfolio",
 
167
    "eqsumWConstraints",
 
168
    "equalWeightsPoints",
 
169
    "feasiblePortfolio",
 
170
    ".fportfolio.plot.1",
 
171
    ".fportfolio.plot.2",
 
172
    ".fportfolio.plot.3",
 
173
    ".fportfolio.plot.4",
 
174
    ".fportfolio.plot.5",
 
175
    ".fportfolio.plot.6",
 
176
    ".fportfolio.plot.7",
 
177
    ".fportfolio.plot.8",
 
178
    "frontierPlot",
 
179
    "frontierPlotControl",
 
180
    "frontierPoints",
 
181
    "getAlpha",
 
182
    "getConstraints",
 
183
    "getConstraintsTypes",
 
184
    "getCov",
 
185
    "getCovRiskBudgets",
 
186
    ".getCovRiskBudgets.fPORTFOLIO",
 
187
    "getData",
 
188
    "getEstimator",
 
189
    "getMean",
 
190
    "getModel.fPFOLIOSPEC",
 
191
    "getModel.fPORTFOLIO",
 
192
    "getMu",
 
193
    "getNames",
 
194
    "getNAssets",
 
195
    "getNFrontierPoints",
 
196
    "getObjective",
 
197
    "getOptim",
 
198
    "getOptimize",
 
199
    "getParams",
 
200
    "getPortfolio",
 
201
    "getRiskFreeRate",
 
202
    "getSeries",
 
203
    "getSigma",
 
204
    "getSolver",
 
205
    "getSpec",
 
206
    "getStatistics",
 
207
    "getStatus",
 
208
    "getTailRisk",
 
209
    "getTailRiskBudgets",
 
210
    "getTargetReturn",
 
211
    "getTargetRisk",
 
212
    "getTrace",
 
213
    "getType",
 
214
    "getWeights",
 
215
    "kendallEstimator",
 
216
    ".lambdaTailRisk",
 
217
    "listFConstraints",
 
218
    "lpmEstimator",
 
219
    ".madRglpkArguments",
 
220
    ".madSolveTwoAssets",
 
221
    "maxBConstraints",
 
222
    "maxFConstraints",
 
223
    "maxratioPortfolio",
 
224
    "maxreturnPortfolio",
 
225
    "maxsumWConstraints",
 
226
    "maxWConstraints",
 
227
    "mcdEstimator",
 
228
    "minBConstraints",
 
229
    "minFConstraints",
 
230
    "minriskPortfolio",
 
231
    "minsumWConstraints",
 
232
    "minvariancePoints",
 
233
    "minvariancePortfolio",
 
234
    "minWConstraints",
 
235
    "monteCarloPoints",
 
236
    "mveEstimator",
 
237
    ".mvSolveTwoAssets",
 
238
    "nnveEstimator",
 
239
    ".notStackedWeightsPlot",
 
240
    "portfolioConstraints",
 
241
    "portfolioData",
 
242
    "portfolioFrontier",
 
243
    ".portfolioFrontier",
 
244
    "portfolioSpec",
 
245
    ".rglpk",
 
246
    ".rglpkArguments",
 
247
    ".rglpkControl",
 
248
    "rollingCmlPortfolio",
 
249
    "rollingMinvariancePortfolio",
 
250
    "rollingPortfolioFrontier",
 
251
    "rollingTangencyPortfolio",
 
252
    "rollingWindows",
 
253
    ".rquadprog",
 
254
    ".rquadprogArguments",
 
255
    ".rquadprogControl",
 
256
    ".rshortExact",
 
257
    ".rshortExactArguments",
 
258
    ".rshortExactControl",
 
259
    "setAlpha<-",
 
260
    "setEstimator<-",
 
261
    "setNFrontierPoints<-",
 
262
    "setObjective<-",
 
263
    "setOptimize<-",
 
264
    "setParams<-",
 
265
    "setRiskFreeRate<-",
 
266
    "setSolver<-",
 
267
    "setStatus<-",
 
268
    "setTailRisk<-",
 
269
    "setTargetReturn<-",
 
270
    "setTargetRisk<-",
 
271
    "setTrace<-",
 
272
    "setType<-",
 
273
    "setWeights<-",
 
274
    "sharpeRatioLines",
 
275
    "shrinkEstimator",
 
276
    "singleAssetPoints",
 
277
    "solveRglpk",
 
278
    "solveRquadprog",
 
279
    "solveRshortExact",
 
280
    "spearmanEstimator",
 
281
    ".tailRiskBudgetsLinePlot",
 
282
    "tailRiskBudgetsPie",
 
283
    "tailRiskBudgetsPlot",
 
284
    "tangencyLines",
 
285
    "tangencyPoints",
 
286
    "tangencyPortfolio",
 
287
    "twoAssetsLines",
 
288
    "varRisk",
 
289
    ".varRisk",
 
290
    "weightedReturnsLinePlot",
 
291
    "weightedReturnsPie",
 
292
    "weightedReturnsPlot",
 
293
    "weightsLinePlot",
 
294
    "weightsPie",
 
295
    "weightsPlot",
 
296
    "weightsSlider",
 
297
    ".weightsWheel" )