# NOT RUN {
data(inv_comm)
data(inv_plot_attr)
inv_mob_in = make_mob_in(inv_comm, inv_plot_attr, coord_names = c('x', 'y'))
inv_mob_out = get_delta_stats(inv_mob_in, 'group', ref_level='uninvaded',
type='discrete', log_scale=TRUE, n_perm=4)
plot(inv_mob_out, 'b1')
# }
# NOT RUN {
plot(inv_mob_out, 'b1', scale_by = 'indiv')
# }
Run the code above in your browser using DataLab