Displaying 5 results from an estimated 5 matches for "dose2".
Did you mean:
dose
2008 Jul 26
1
Can't get the correct order from melt.data.frame of reshape library.
Simple illustration,
> df3 <- data.frame(id=c(3,2,1,4), age=c(40,50,60,50), dose1=c(1,2,1,2), dose2=c(2,1,2,1), dose4=c(3,3,3,3))> df3 id age dose1 dose2 dose41 3 40 1 2 32 2 50 2 1 33 1 60 1 2 34 4 50 2 1 3> melt.data.frame(df3, id.var=1:2, na.rm=T) id age variable value1 3 40 dose1 12 2 50 dose1 23 1 60 d...
2008 Oct 28
3
Dose Profile
Hi Everyone,
I have data in a long format e.g. there is one row per patient but each
follow-up appointment is included in the row. So, a snippet of the data
looks like this:
TrialNo Drug Sex Rand Adate1 Date1 Dose1 Time1 Adate2 Date2 Dose2
Time2 B1001029 LTG M 15719 30/04/2003 15825 150 106 29/08/2003 15946 200
227 B1117003 LTG M 15734 30/04/2003 15825 200 91 03/09/2003 15951 250 217
B138015 LTG M 14923 06/02/2001 15012 225 89 08/05/2001 15103 300 180
B112003 TPM F 14914 15/01/2001 14990 60 76 05/03/2001 15039 100 125
Of course, no...
2010 Dec 30
1
Different results in glm() probit model using vector vs. two-column matrix response
...ot;U","M"))
dose <- rep(c(7, 8, 9, 10, 11), 2)
ldose <- log10(dose)
n <- c(8,8,8,8,8,8,8,8,8,8)
r <- c(0,1,3,8,8,0,0,0,4,5)
p <- r/n
d <- data.frame(group, dose, ldose, n, r, p)
SF <- cbind(success=d$r, failure=d$n - d$r)
#80 record set-up
dose2<-c(7,8,9,10,11)
doserep<-sort(rep(dose2,8))
x<-c(doserep,doserep)
log10x<-log10(x)
y_U<-c(rep(0,8), 1, rep(0, 7), 1, 1, 1, rep(0,5), rep(1, 16))
y_M<-c(rep(0,24), rep(1,4), rep(0,4), rep(1,5), rep(0,3))
y<-c(y_U, y_M)
trt<-c(rep(1, 40), rep(0, 40))
# print x & y's f...
2003 Jan 29
3
multinomial conditional logit models
A multinomial logit model can be specified as a conditional logit
model after restructuring the data. Doing so gives flexibility in
imposing restrictions on the dependent variable. One application is
to specify a loglinear model for square tables, e.g. quasi-symmetry
or quasi-independence, as a multinomial logit model with covariates.
Further details on this technique and examples with several
2012 Dec 29
0
shell function in R
Hi Everyone:
I am running NONMEM from R using following command.
shell("nmfe72 TOT_EST_DOSE2.CTL DOSE2.OUT",wait=T)
This command runs NONMEM successfully but does not show the progress.
Usually, intermediate outputs are displayed on CMD console when this same
command is run from CMD console. How can I view the intermediate outputs
while running NONMEM from R?
With best re...