search for: case5

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

Did you mean: case
2008 Jun 23
1
problem in R for Linear mixed model~
...lude both random intercept and slope ,correct?? case4:omitting the random intercept case4<-update(case1,random=B-1|C) this code I got from some paper,it said by inputing B-1|C,then the random intercept is removed,so,if I want to remove random slode,I input B-2|C,it doesnt work out. case5 :how to know the both random effect of B,and C,I dont know how to wirtie this in R . And I am a little confused of these R code,especially the #|# part,what deos this syntax really mean in LME package, Thank you for your time~ [[alternative HTML version deleted]]
2012 Dec 06
1
clustering of binary data
...ubset from my dataset: variable1 variable2 variable3 variable4 variable5 variable6 variable7 variable8 variable9 variable10 variable11 variable12 variable13 case1 0 0 0 0 0 1 0 0 1 1 0 0 0 case2 0 0 0 0 0 1 0 NA NA 1 0 0 0 case3 0 0 0 0 0 1 0 0 1 1 0 0 0 case4 1 0 0 0 0 1 0 1 0 1 0 0 0 case5 0 0 0 0 0 1 0 0 1 1 0 0 0 case6 0 1 0 0 0 1 0 1 0 1 0 0 0 case7 0 1 0 0 0 1 0 0 1 1 0 0 0 case8 0 0 0 0 0 1 0 1 0 1 0 0 0 case9 0 0 0 0 0 1 0 1 0 1 0 0 0 case10 0 0 0 0 0 1 0 0 1 1 0 0 0 case11 1 0 0 1 0 1 1 1 0 1 0 0 0 case12 0 0 0 1 1 0 1 1 0 1 0 0 0 ..... So, my questions ar...
2002 Jun 24
10
code optimization
I have a function "eval.delta" which does what I want but isn't very elegant. I have consulted the R documents, MASS, and S Programming. Is there a practical way to optimize the code? Thank you very much. Peter B. Function: eval.delta <- function(delta){ cat("VALUES\n") vlr <- NULL k <- 0 for(j in 1:length(delta)) if(delta[j] <= 2){