Closed CoryMcCartan closed 2 years ago
Summary function errors out partway through when using init_particles
init_particles
plans <- redist_smc(map, nsims = nsims * 2, runs = 1L, ncores = 2, counties = county, verbose = TRUE, constraints = constraints, init_particles = prep_mat, pop_temper = pop_temp) summary(plans) #' SMC: 10,000 sampled plans of 38 districts on 9,007 units #' `adapt_k_thresh`=0.985 • `seq_alpha`=0.5 #' `est_label_mult`=1 • `pop_temper`=0.02 #' #' Plan diversity 80% range: 0.063 to 0.880 #' #' Error in `.rowNamesDF<-`(x, value = value) : invalid 'row.names' length
Summary function errors out partway through when using
init_particles