File: NAMESPACE

package info (click to toggle)
r-cran-timereg 2.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,468 kB
  • sloc: ansic: 9,075; makefile: 2
file content (271 lines) | stat: -rw-r--r-- 6,678 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
useDynLib(timereg) 

import(survival)
import(numDeriv)
import(lava)

export("aalen", ## {{{ 
       "aalen.des",
       "aalen.des2",
       "aalenBase",
       "aalenBaseC",
###    "additive.pls",
       "additive.compSs",
###    "additive.plsR",
       "check.missing",
       "rm.missing",
       "cluster.index.timereg",
       "coefBase",
       "cox.ipw",
       "coefcox",
       "cox.marg",
       "comp.risk",
       "comprisk.ipw",
       "const",       
       "cox",
       "cox.aalen",	
       "cox.aalenBase",
       "cum.residuals",
       "Cpred",
       "Csmooth2B",	
       "CsmoothB",	
       "cum.residuals",
###    "cv.folds",
       "dynreg",   	
       "dynregBase",	
       "Event",	
       "event.split",	
       "as.matrix.Event",	
       "as.character.Event",	
       "format.Event",	
       "print.Event",	
       "summary.Event",	
       "rbind.Event",	
       "[.Event",	
       "Gprop.odds",
###    "Gprop.odds.subdist",
       "is.diag",
###       "invsubdist",
###       "subdist",
       "krylow.pls",
       "kmplot",
       "localTimeReg",
       "nameestimate",	
       "namematrix",
       "names2formula",
       "pava.pred",
       "pe.sasieni",
       "percen",
       "plotConfregion",
       "pred.cum",
       "pred.des",
       "predictpropodds",
###    "summary.pls",
       "prep.comp.risk",	
###       "pre.cifs",	
       "prep.glm.comprisk",	
       "pred.stratKM",	
       "prop",	"prop.excess",	"prop.excessBase",
       "prop.odds",
###    "prop.odds.gam",
       "prop.odds.subdist",
       "prop.odds.subdist.ipw",
       "pval",
       "pava",
       "qcut",
       "res.mean",
###       "rchaz",
###       "rcrisk",
       "recurrent.marginal.mean",
       "recurrent.marginal.coxmean",
       "read.design",
       "read.surv",
###       "read.fit",
       "residualsTimereg",
       "restricted.residual.mean",
       "semiaalen",	
       "semicox",	
       "semiregBase",
       "sindex.prodlim",
###       "simsubdist",
###    "setup.cif",
###    "pls.surv.cv",
###       "pc.hazard",
###    "pchazard.sim",
###       "simrchaz",
###       "sim.cif",
###       "sim.cifs",
###       "sim.cifsRestrict",
###       "sim.cox",
###       "sim.base",
###       "sim.cause.cox",
       "timecox",
       "timecoxBase",
       "timetest",
       "timereg.formula",
       "two.stage",
       "wald.test"
) ## }}} 

S3method(coef,comprisk.ipw)
S3method(print,comprisk.ipw)
S3method(summary,comprisk.ipw)
export("coef.comprisk.ipw","print.comprisk.ipw","summary.comprisk.ipw")

S3method(coef,cox.ipw)
S3method(print,cox.ipw)
S3method(summary,cox.ipw)
export("coef.cox.ipw","print.cox.ipw","summary.cox.ipw")

S3method(coef,cox.marg)
S3method(print,cox.marg)
S3method(summary,cox.marg)
export("coef.cox.marg","print.cox.marg","summary.cox.marg")


S3method(coef,resmean)
S3method(plot,resmean)
S3method(print,resmean)
S3method(summary,resmean)
export("coef.resmean","plot.resmean","print.resmean","summary.resmean")

S3method(plot,restricted.residual.mean)
S3method(summary,restricted.residual.mean)
export("plot.restricted.residual.mean","summary.restricted.residual.mean")
###S3method(print,restricted.residual.resmean)
###export("plot.restricted.residual.mean","print.restricted.residual.mean","summary.restricted.residual.mean")


S3method(plot,aalen)
S3method(plot,comprisk)
S3method(plot,cum.residuals)
S3method(plot,cox.aalen)
S3method(plot,dynreg)
S3method(plot,predict.timereg)
S3method(plot,prop.excess)
S3method(plot,timecox)
S3method(plot,two.stage)
S3method(plot,predict.timereg)

S3method(print,aalen)
S3method(print,cox.aalen)
S3method(print,comprisk)
S3method(print,cum.residuals)
S3method(print,dynreg)
S3method(print,pe.sasieni)
S3method(print,predict.timereg)
S3method(print,prop.excess)
S3method(print,timecox)
S3method(print,two.stage)
###S3method(print,pls)

S3method(summary,aalen)
S3method(summary,cox.aalen)
S3method(summary,comprisk)
S3method(summary,cum.residuals)
S3method(summary,dynreg)
S3method(summary,pe.sasieni)
S3method(summary,predict.timereg)
S3method(summary,prop.excess)
S3method(summary,timecox)
S3method(summary,two.stage)
###S3method(summary,pls)

S3method(predict,aalen)
S3method(predict,comprisk)
S3method(predict,cox.aalen)
S3method(predict,two.stage)
###S3method(predict,pls)

S3method(coef,aalen)
S3method(coef,cox.aalen)
S3method(coef,dynreg)
S3method(coef,timecox)
S3method(coef,two.stage)

S3method(print,Event)
S3method(summary,Event)
S3method(rbind,Event)
S3method(as.matrix,Event)
S3method(as.character,Event)
S3method(format,Event)
S3method("[",Event)

S3method(coef,comprisk)
S3method(predict,timereg)
S3method(plot,cums)

S3method(vcov,aalen)
S3method(vcov,cox.aalen)
###S3method(coef,dynreg)
###S3method(coef,timecox)
S3method(vcov,two.stage)
S3method(vcov,comp.risk)

export("plot.aalen",
       "plot.comprisk",
       "plot.cum.residuals",
       "plot.cox.aalen",
       "plot.cums",
       "plotScore",
       "plot.dynreg",
       "plot.predict.timereg",
       "plot.prop.excess",
       "plot.timecox",
       "plot.two.stage",
       "print.aalen",
       "print.cox.aalen",
       "print.comprisk",
       "print.cum.residuals",
       "print.dynreg",
       "print.pe.sasieni",
       "print.predict.timereg",
       "print.prop.excess",
       "print.timecox",
       "print.two.stage",
###    "print.pls",
       "summary.aalen",
       "summary.cox.aalen",
       "summary.comprisk",
       "summary.cum.residuals",
       "summary.dynreg",
       "summary.pe.sasieni",
###    "summary.pls",
       "summary.predict.timereg",
       "summary.prop.excess",
       "summary.timecox",
       "summary.two.stage",
       "predict.aalen",
###    "predict.pls",
       "predict.comprisk",
       "predict.timereg",
       "predict.cox.aalen",
       "predict.two.stage",
       "predict.timereg",
       "coef.aalen",
       "coef.cox.aalen",
       "coef.comprisk",
       "coef.dynreg",
       "coef.timecox",
       "coef.two.stage",
       "vcov.two.stage",
       "vcov.comp.risk",
       "vcov.cox.aalen",
       "vcov.aalen"
)


importFrom("grDevices", "col2rgb", "rgb")
importFrom("graphics", "abline", "legend", "lines", "matplot", "plot", "points", "polygon", "title")
importFrom("stats", "approx", "as.formula", "coef", "delete.response", "formula", "glm", "model.extract", "model.frame",
   "model.matrix", "na.omit","pchisq", "pnorm", "predict", "qnorm", "quantile", "runif", "terms", "time", "update")
importFrom("utils", "head","tail")
importFrom("stats", "rexp")
importFrom("stats", "rbinom")
importFrom("stats", "get_all_vars")
importFrom("stats", "vcov")
importFrom("methods", "hasArg")

importFrom("stats", "model.response", "model.weights")