[R] Printing the function t.test() in R

2010-03-31 Thread Luwis Tapiwa Diya
Dear R Users,

I have a question, how does one print an r function like t.test in R (to get
the whole function and not just a summary of the environment)?   For example
if I type the following:

 t.test
function (x, ...)
UseMethod(t.test)
environment: namespace:stats
 print(t.test)
function (x, ...)
UseMethod(t.test)
environment: namespace:stats

I don't get the entire function printed.

Kind regards,


-- 
Luwis Diya,
Leuven Biostatistics and Statistical Bioinformatics Centre (L-BioStat),
Kapucijnenvoer 35 blok d - bus 7001,
3000 Leuven,
Belgium

Tel: +32 16 336886 or +32 16 336892
Fax: +32 16 337015

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R2WinBUGS and R-2.10.0: The school example not running

2009-11-03 Thread Luwis Tapiwa Diya
Dear R users

I have been encountering an error (in the Winbugs window: Blackbox - index
out of range . ). So to me it seems R2WinBUGS is not linking up well
with the new R version since the same model runs well under r-2.9.2. So is
my assumption correct or am I doing something wrong. The data I used and the
code are in the help of R2WinBUGS (?bugs).


Regards,

-- 
Luwis Diya,
Leuven Biostatistics and Statistical Bioinformatics Centre (L-BioStat),
Kapucijnenvoer 35 blok d - bus 7001,
3000 Leuven,
Belgium

Tel: +32 16 336886 or +32 16 336892
Fax: +32 16 337015

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] How to fit a hierarchical model using Umacs

2009-07-01 Thread Luwis Tapiwa Diya
Dear R Users,

I have been trying to fit models using Umacs. However I seem to be lost in
specifying random effects. Can anyone advise me (if possible with a small
hierarchical or mixed models data set) on how one can specify the random
effects sampling algorithm or possibly point me to the examples or papers
where hierarchical models were fitted using Umacs.

Regards,



-- 
Luwis Diya,
Leuven Biostatistics and Statistical Bioinformatics Centre (L-BioStat),
Kapucijnenvoer 35 blok d - bus 7001,
3000 Leuven,
Belgium

Tel: +32 16 336886 or +32 16 336892
Fax: +32 16 337015

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Problems trying to run R2jags on a Linux Cluster

2009-06-22 Thread Luwis Tapiwa Diya
Dear R users,

I am having problems in trying to run R2jags on a Linux Cluster. When I
tried to run the model given in the R2jags manual I get the following error
error message:

Error in FUN(X[[3L]], ...) : object 'J' not found

Can any one help me with this problem?

Looking to hear from you all.

Regards,


-- 
Luwis Diya,
Leuven Biostatistics and Statistical Bioinformatics Centre (L-BioStat),
Kapucijnenvoer 35 blok d - bus 7001,
3000 Leuven,
Belgium

Tel: +32 16 336886 or +32 16 336892
Fax: +32 16 337015

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Cross classified or Multiple membership or Hierarchical (3 level ) logistic models using Umacs

2009-02-17 Thread Luwis Tapiwa Diya
Dear R users,

I would like to fit cross classified or multiple membership logistic models
or a 3 level hierarchical logistic model using the Umacs package. Can anyone
advise me on how to proceed or better point me to examples of  how its done.

Regards,

-- 
Luwis Diya,
Leuven Biostatistics and Statistical Bioinformatics Centre (L-BioStat),
Kapucijnenvoer 35 blok d - bus 7001,
3000 Leuven,
Belgium

Tel: +32 16 336886 or +32 16 336892
Fax: +32 16 337015

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Obtaining the first /or last record of a subject in a longitudinal study

2008-08-07 Thread Luwis Tapiwa Diya
Dear R users,

I was wondering if anyone knows how to obtain(subset) the first and/or the
last record of a subject in a longitudinal setup.

Normally in SAS one uses first.variable1 and last.variable1. So my question
is that is there an R way of doing this.

Regards,

-- 
Luwis Diya, Phd student (Biostatistics),
Biostatistical Center,
School Of Public Health,
Catholic University of Leuven,
U.Z. St Raphael,
Kapucijnenvoer 35,
B-3000 Leuven,
Belgium,

Cell: +32(0)497 22 94 83
Phone:+32(0)16 32 68 86 [Office]
Phone:+32(0)16 32 98 76 [Home]
Fax: +32(0)16 33 70 15

Email: [EMAIL PROTECTED]
http://med.kuleuven.be/biostat/staff/LD.htm

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.