Displaying 1 result from an estimated 1 matches for "n_effect".
Did you mean:
_effect
2010 Sep 16
0
improvements to plm fitting
...a 'num_blocks' or 'block_size'. A nice way to handle
this would be for it to be left as a parameter that, by default, is set to
do the entire data set at once.
Tapply.default <- function (x, effect, func, ...)
{
na.x <- is.na(x)
effect_unique <- unique(effect)
n_effects <- length( effect_unique )
uniqval <- array(dim=n_effects)
attr(uniqval, "dimnames")[[1]] <- as.character(effect_unique)
# change this back so that it can handle larger datasets
block_size <- n_effects
num_blocks <- ceiling( n_effects / block_size )...