hazard.smoothSurvReg(smoothSurv)
hazard.smoothSurvReg()所属R语言包:smoothSurv
Hazard Curves for Objects of Class 'smoothSurvReg'
危险曲线的为类“smoothSurvReg的对象”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Compute and plot hazard function for given combinations of covariates based on the fitted model.
计算和图风险函数的协变量的组合拟合模型的基础上。
用法----------Usage----------
## S3 method for class 'smoothSurvReg'
hazard(x, cov, logscale.cov, time0 = 0, plot = TRUE,
by, xlim, ylim, xlab = "t", ylab = "h(t)",
type = "l", lty, main, sub, legend, bty = "n", ...)
参数----------Arguments----------
参数:x
Object of class smoothSurvReg.
对象的类smoothSurvReg。
参数:cov
Vector or matrix with covariates values for which the survivor curve/cdf is to be computed and plotted. It must be a matrix with as many columns as is the number of covariates (interactions included) or the vector of length equal to the number of covariates (interactions included). Intercept is not to be included in cov. If cov is missing a survivor curve for the value of a covariate vector equal to zero is plotted. If there is only intercept in the model the survivor curve based on the fitted error distribution is always plotted.
向量或矩阵与协变量值的存活曲线/累积分布函数是可以计算和绘制。它必须是一个矩阵,多列数的协变量(交互)或向量的长度等于数的协变量的相互作用,包括。拦截是不被包含在cov。如果cov缺少一个协变量矢量的值等于零的幸存者曲线绘制。如果有只拦截在模型中的存活曲线拟合的误差分布的基础上,总是绘制。
参数:logscale.cov
Vector or matrix with covariate values for the expression of log-scale (if this depended on covariates). It can be omitted in the case that log-scale was common for all observations.
log尺度(如果这取决于协变量)的表达与协变量值的向量或矩阵。可以省略的情况下,该log规模是共同的所有观测值。
参数:time0
Starting time of the follow-up as used in the model. I.e. the model is assumed to be log(T-time0) = x'beta + sigma*epsilon
后续的模型中使用的开始时间。即模型被假定为log(T-time0) = x'beta + sigma*epsilon
参数:plot
If TRUE the plot is directly produced, otherwise only a data.frame with information used for later plotting is returned.
如果TRUE的图直接产生,否则就只能一个data.frame使用后绘制返回的信息。
参数:by
Step for a ploting grid. If missing it is automatically computed.
一步的作图网。如果missing它会自动计算。
参数:xlim, ylim
Arguments passed to the plot function.
plot函数传递参数。
参数:xlab, ylab
Arguments passed to the plot function.
plot函数传递参数。
参数:type, lty
Arguments passed to the plot function.
plot函数传递参数。
参数:main, sub
Arguments passed to the plot function.
plot函数传递参数。
参数:legend, bty
Argument passed to the plot function.
参数传递给plot功能。
参数:...
Arguments passed to the plot function.
plot函数传递参数。
值----------Value----------
A dataframe with columns named x and y where x gives the grid and y the values of the hazard function at that grid.
一个数据框的列名为x和yx给出了网格和y在该网格的风险函数的值。
(作者)----------Author(s)----------
Arno拧t Kom谩rek <a href="mailto:arnost.komarek[AT]mff.cuni.cz">arnost.komarek[AT]mff.cuni.cz</a>
参见----------See Also----------
smoothSurvReg, plot
smoothSurvReg,plot
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|