Displaying 6 results from an estimated 6 matches for "bibek".
2013 Jan 18
3
longitudinal study
...sired resulst:
1 no 7
2 yes 5
3 Unknown 4
Sample data
id status week
1 no 1
1 no 2
1 no 3
1 no 4
1 no 5
1 no 6
1 no 7
2 no 1
2 no 2
2 no 3
2 no 4
2 yes 5
2 yes 6
2 na 7
2 na 8
2 na 9
3 no 1
3 no 2
3 no 3
3 Unknown 4
3 unknown 5
3 na 6
3 na 7
3 na 8
Any suggestion is much appreciated!
Thank you.
Bibek
2012 Nov 30
3
(no subject)
Hello R usuer,
The code given below superimposes a pie diagram on another plot
containing some points. However, I would like to center the pie
diagram on the xy location on the plot, but not on the center. is
there any way to re-center pic diagram.
Any suggestion or better alternative are highly appreciated.
Thank you in advance for your help.
Regards,
Bibke
library(visualFields)
library(car)
2012 Oct 01
3
(no subject)
...peated subject id, I got larger data
set which is not accurate.
I would like to connect twi data sets by id and response in such a
way that data are connected by same id and response type and if the
same subject has less data point in one data set, then produce NA.
Sample data sets is attached.
Bibek
2012 Oct 11
2
Selecting n observation
Hello R help,
I have a question similar to what is posted by someone before. my
problem is that Instead of last assessment, I want to choose last two.
I have a data set with several time assessments for each participant.
I want to select the last assessment for each participant. My dataset
looks like this:
ID week outcome
1 2 14
1 4 28
1 6 42
4 2 14
4 6 46
4 9 64
4 9
2012 Nov 13
4
for loop
HI,
You can do this in many ways:
dat1<-read.table(text="
med1,med2,med3????
?1,0,1??????
0,1,1???
2,0,0
",sep=",",header=TRUE)??
#1st method
library(reshape)
dat2<-melt(dat1)
dat3<-aggregate(dat2$value,by=list(dat2$variable),sum)
?colnames(dat3)<-c("name","sum(n11)")
?dat3
#? name sum(n11)
#1 med1??????? 3
#2 med2??????? 1
#3 med3??????? 2
2012 Oct 16
0
Test for treatment effect in a logistic regression
...es for treatment group.
## Comparing GRoup B to Group C
l <- cbind(0, 1,-1, 0,0,0,0,0,0,0)
wald.test(b = coef(fit), Sigma = vcov(fit), L =1
Error Message
Error in wald.test(b = coef(), sigma = vcov(), Terms = 2:3) :
unused argument(s) (sigma = vcov())
Thanks in advance for your suggestion,
Bibek