找回密码
 注册
查看: 317|回复: 0

R语言 smoothSurv包 eval.Gspline()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 10:31:38 | 显示全部楼层 |阅读模式
eval.Gspline(smoothSurv)
eval.Gspline()所属R语言包:smoothSurv

                                         Evaluate a G-spline in a grid of values
                                         评估G-样条曲线在一个网格中的值

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function computes values of
此函数计算值

in a grid of x values.
在一个网格中的x值。

In above expression, phi(x; mu[j],sigma[j]^2)   denotes a density of N(mu[j], sigma[j]^2).
在上面的表达式中,phi(x; mu[j],sigma[j]^2)表示N(mu[j], sigma[j]^2)密度为。


用法----------Usage----------


  eval.Gspline(Gspline, grid)



参数----------Arguments----------

参数:Gspline
A data frame with at least three columns named “Knot”, “SD basis” and “c coef.” which determine mu[1], ..., mu[g], sigma[1], ..., sigma[g] and c[1], ..., c[g]. Data.frame with such properties can be found e.g. as spline component of the resulting object returned by functions smoothSurvReg and minPenalty.      
一个数据框至少有三个列命名为“云水谣”,“SD基础”和“C系数。”确定mu[1], ..., mu[g],sigma[1], ..., sigma[g]和c[1], ..., c[g]。数据框,可以发现具有这种性质例如spline组件生成的对象返回的功能smoothSurvReg和minPenalty。


参数:grid
A numeric vector giving the grid of x values at which the G-spline is to be evaluated.        
数值的向量,给予网格x的值,在该值的G-样条要被评估。


值----------Value----------

A data.frame with columns named “x” (grid)  and “y” (G-spline values).
数据框列名为“x”(网格)和“Y”(G-样条曲线值)。


(作者)----------Author(s)----------



Arno拧t Kom谩rek <a href="mailto:arnost.komarek[AT]mff.cuni.cz">arnost.komarek[AT]mff.cuni.cz</a>




实例----------Examples----------


  spline <- minPenalty(knots=seq(-4.2, 4.2, by=0.3), sdspline=0.2, difforder=3)$spline
  values <- eval.Gspline(spline, seq(-4.5, 4.5, by=0.05))
  plot(values, type="l", bty="n", lwd=3)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-29 07:49 , Processed in 0.025590 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表