Description Usage Arguments Value Examples
hmodelfile
returns historical model BUGS file
1 | hmodelfile(ntrt, family, myhfile)
|
ntrt |
number of arms. |
family |
outcome distribution. |
myhfile |
the historical model BUGS file. |
historical model BUGS file
1 2 3 4 5 6 7 | ## Not run:
hmodelfile(2,"binomial",paste(tempdir(),"\\","hmodelfile.txt",sep=""))
hmodelfile(3,"gaussian",paste(tempdir(),"\\","hmodelfile.txt",sep=""))
hmodelfile(4,"poisson",paste(tempdir(),"\\","hmodelfile.txt",sep=""))
file.show(paste(tempdir(),"\\","hmodelfile.txt",sep=""))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.