search for: wfreqs

Displaying 2 results from an estimated 2 matches for "wfreqs".

Did you mean: freqs
2010 Nov 06
1
Hashing and environments
...uickly. But I've never really understood very well how hashing works, so I'm having trouble. Here is an example of what I've done so far: *** setClass("Lexicon",representation(e="environment")) setMethod("initialize","Lexicon",function(.Object,wfreqs) { .Object at e <- new.env(hash=T,parent=emptyenv()) assign("wfreqs",wfreqs,envir=.Object at e) return(.Object) }) ## function to access word frequencies wfreq <- function(lexicon,word) { return(get("wfreqs",envir=lexicon at e)[word]) } ## example of use my.lexicon...
2007 Dec 28
1
logistic mixed effects models with lmer
I have a question about some strange results I get when using lmer to build a logistic mixed effects model. I have a data set of about 30k points, and I'm trying to do backwards selection to reduce the number of fixed effects in my model. I've got 3 crossed random effects and about 20 or so fixed effects. At a certain point, I get a model (m17) where the fixed effects are like this