search for: edata_long

Displaying 1 result from an estimated 1 matches for "edata_long".

Did you mean: data_long
2023 Oct 31
1
weights vs. offset (negative binomial regression)
...on of a fitted (e.g. Poisson) model, as below. > > ? ?cheers > ? ? Ben Bolker > > > edata <- data.frame(Catch, Effort, xx1, xx2, xx3) > > ## graphical exploration > > library(ggplot2); theme_set(theme_bw()) > library(tidyr) > edata_long <- edata |> pivot_longer(names_to="var", cols =-c("Catch", > "Effort")) > ggplot(edata_long, aes(value, Catch)) + > ? ? ?geom_point(alpha = 0.2, aes(size = Effort)) + > ? ? ?facet_wrap(~var, scale="free_x") + > ? ?...