search for: zhixin

Displaying 3 results from an estimated 3 matches for "zhixin".

Did you mean: zhilin
2008 Dec 15
5
how to create duplicated ID in multi-records per subject dataset
...D record 1 20 1 30 1 25 2 26 2 15 3 21 4..................... That is, I have to duplicate IDs for those with multiple records. I am wondering it is possible to be done in R, and I am grateful if you would like to show me the direction. Many thanks! Zhixin
2008 Nov 11
1
using newdata in survfit with categorical variable
..., newdata=temp) Then I got error message: Error in `contrasts<-`(`*tmp*`, value = "contr.treatment") : contrasts can be applied only to factors with 2 or more levels I do not know what this error message indicates, do I have to recode gender to 0,1 to get it through? Many thanks Zhixin
2004 Jun 14
1
olesolve: stepsize
Hi, I am doing a project on the simulation of glucose metabolism based on a pharmacokinetic modeling in which we have 4 differential equations. I did this in R by using the odesolve package. It works very well, but I have two questions: Here is the odemodel function _________________________________________________ Ogtt.Odemodel <- function(t, y, p) { absx <- c(-60, -45, -30,