> checkUsage(glm.fit)
I don't understand what it really means. Apparently, `n' was not globally defined but was used inside the glm.fit(). Nonetheless, this is really not a bug.
I found checkUsage() and checkUsagePacakge() are useful in finding redundant code. For example:
bar <- function(x){
x.bar <- mean(x)
mu <- mean(x, na.rm=TRUE)
return(mu)
}
> checkUsage(bar)
No comments:
Post a Comment