survfitcoxph.fit(survival)
survfitcoxph.fit()所属R语言包:survival
A direct interface to the ‘computational engine’ of survfit.coxph
直接连接到“计算引擎”survfit.coxph
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This program is mainly supplied to allow other packages to invoke the survfit.coxph function at a "data" level rather than a "user" level. It does no checks on the input data that is provided, which can lead to unexpected errors if that data is wrong.
这项计划主要是提供给其他包调用survfit.coxph功能,在“数据”,而不是一个“用户”级别的水平。它并没有检查所提供的,这可能会导致意想不到的错误,如果该数据是错误的输入数据。
用法----------Usage----------
survfitcoxph.fit(y, x, wt, x2, risk, newrisk, strata, se.fit, survtype,
vartype, varmat, id, y2, strata2, unlist=TRUE)
参数----------Arguments----------
参数:y
the response variable used in the Cox model. (Missing values removed of course.)
用Cox模型响应变量。 (缺失值,当然删除。)
参数:x
covariate matrix used in the Cox model
在Cox模型中使用的协矩阵
参数:wt
weight vector for the Cox model. If the model was unweighted use a vector of 1s.
Cox模型的权重向量。如果模型是加权使用1S向量,。
参数:x2
matrix describing the hypothetical subjects for which a curve is desired. Must have the same number of columns as x.
矩阵描述曲线所需的假想对象。必须有相同数量的列x。
参数:risk
the risk score exp(X beta) from the fitted Cox model. If the model had an offset, include it in the argument to exp.
拟合Cox模型的风险得分EXP(xβ)。如果模型的偏移,包括它在为exp的参数。
参数:newrisk
risk scores for the hypothetical subjects
为假想对象的风险评分
参数:strata
strata variable used in the Cox model. This will be a factor.
地层变量Cox模型。这将是一个因素。
参数:se.fit
if TRUE the standard errors of the curve(s) are returned
如果TRUE曲线的标准误差(S)返回
参数:survtype
1=Kalbfleish-Prentice, 2=Nelson-Aalen, 3=Efron. It is usual to match this to the approximation for ties used in the coxph model: KP for "exact", N-A for "breslow" and Efron for "efron".
1 = Kalbfleish的徒弟,2 =纳尔逊·阿伦,3 =埃弗龙。它通常是为使用coxph模型的近似关系:为布瑞斯罗夫“和埃弗龙京都议定书”精确“,不适用”埃弗龙匹配。
参数:vartype
1=Greenwood, 2=Aalen, 3=Efron
1 = 2 =阿伦,3 =埃弗龙格林伍德
参数:varmat
the variance matrix of the coefficients
系数的方差矩阵
参数:id
optional; if present and not NULL this should be a vector of identifiers of length nrow(x2). A mon-null value signifies that x2 contains time dependent covariates, in which case this identifies which rows of x2 go with each subject.
可选的;如果存在的话,而不是空的,这应该是一个标识符长度nrow(x2)向量。一个星期一空值表示,x2包含随时间变化的协变量,在这种情况下,这个标识x2每个主题行。
参数:y2
survival times, for time dependent prediction. It gives the time range (time1,time2] for each row of x2. Note: this must be a Surv object and thus contains a status indicator, which is never used in the routine, however.
生存时间,随时间变化的预测。它给人的时间范围内(时间1,时间2]:x2注意的每一行。这必须是一个幸存者对象,因而包含一个状态指示灯,这是从来没有在日常使用的,但是。
参数:strata2
vector of strata indicators for x2. This must be a factor.
x2阶层指标的向量。这必须是一个因素。
参数:unlist
if FALSE the result will be a list with one element for each strata. Otherwise the strata are “unpacked” into the form found in a survfit object.
如果FALSE结果将是一个列表,每个阶层的一个元素。否则,地层“解压”到survfit对象发现的形式。
值----------Value----------
a list containing nearly all the components of a survfit object. All that is missing is to add the confidence intervals, the type of the original model's response (as in a coxph object), and the class.
一个列表,包含几乎所有的组件survfit对象。缺少的是添加的置信区间,原模型的响应类型(如在coxph对象),和类。
注意----------Note----------
The source code for for both this function and survfit.coxph is written using noweb. For complete documentation see the inst/sourcecode.pdf file.
源代码的功能和survfit.coxph用noweb。完整的文档,看到inst/sourcecode.pdf文件。
作者(S)----------Author(s)----------
Terry Therneau
参见----------See Also----------
survfit.coxph
survfit.coxph
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|