search for: sructures

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

Did you mean: structures
2009 Dec 17
2
issue with using rm: cannot generate on-the-fly list
...o the scope of variables declared in the loop is global. Within this loop I generate several variables which should be removed at the end of each iteration. To do this, I wrote a function to clean up the workspace. An example is included here: cleanUpWorkspace<-function() { #Remove key data sructures, if they have been declared: delList<-list() for(varname in c("rv1","rv2", "rv3", "rv4")) { if(exists(varname)) { delList<-append(delList, varname) } } if(length(delList)>0) { rm(list=delList, pos=-...
2005 Feb 17
0
lme4--->GLMM
Hello, I'm very sorry for my repeated question, which i asked 2 weeks ago, namely: i'm interested in possibly simple random-part specification in the call of GLMM(...) (from lme4-package) i have a random blocked structure (i.e. ~var.a1+var.a2+var.a3, ~var.b1+var.b2,~var.c1+var.c2+var.c3+var.c4), and each one part of it i would like to model as Identity-structure matrix. So i had,
2005 Jun 21
1
Data.frames with different line's length
Hello, I want to create a data.frame with different number of columns per line. What I want is something like: example <- NULL begin <- 1 while (end < nrow(orig.data)) { end <- next.day(orig.data,begin) # my own function. It returns the first index from the next day. Each day has a different number of records. example <- rbind(example, c(begin, end, predictions[c(begin:end)],