全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
1415 0
2016-05-25

http://www.inside-r.org/packages/cran/JM/docs/simulate这是这个函数的用法,但我没有看懂赋值的方法。尤其是里面的thetas,formulas 和data
说明是list,但是我不知道该以什么格式去赋值。
有大神可以教教吗?help文件下的example没有用。

simulate {JM}

R Documentation

Simulate from Joint Models.Description

simulate longitudinal responses and event times from joint models

UsagesimulateJM(nsim, nsub, thetas, times, formulas, Data = NULL,     method = c("weibull-PH", "weibull-AFT", "piecewise-PH", "spline-PH"),     lag = 0, censoring = "uniform", max.FUtime = NULL, seed = NULL,     return.ranef = FALSE)## S3 method for class 'jointModel'simulate(object, nsim, seed = NULL, times = NULL,     Data = NULL, ...)
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群