Skip to content

Commit 0ee3a87

Browse files
committed
helper functions consistent with data files
1 parent 6decabc commit 0ee3a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

knitr/car-iar-poisson/update_2021_02/bym2_helpers.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ index_components <- function(nb_obj) {
9191
edges = nb_to_edge_array(sub_nb)
9292
scaling_factors[k] = scaling_factor(edges)
9393
} else {
94-
scaling_factors[k] = 1.0/num_comps
94+
scaling_factors[k] = 1.0
9595
}
9696
}
9797

0 commit comments

Comments
 (0)