cran / jtools

:exclamation: This is a read-only mirror of the CRAN R package repository. jtools — Analysis and Presentation of Social Scientific Data. Homepage: https://jtools.jacob-long.com Report bugs for this package: https://github.com/jacob-long/jtools/issues
0 stars 0 forks source link

Plotting partial residuals with a logged offset #2

Open sjacobson1112 opened 3 years ago

sjacobson1112 commented 3 years ago

Hello, this package looks amazing and I appreciated your vignette about it. My question is probably not a technical issue with the package so if this is an inappropriate place for this question, please let me know and I'll ask elsewhere. I am trying to plot the results of a negative binomial model which includes a logged offset, based on your vignette it appears that it is most appropriate to plot the partial residuals which will account for my offset but when I choose to include partial residuals my dependent variable is graphed on a log scale which makes it impossible to see the data. I've included an example for one categorical variable of the predicted and observed data with and without the partial residuals. What is the best way to change the code so that I am still plotting accounting for the offset but able to visualize the data? Thank you! daynight daynightpartialres

gaborcsardi commented 3 years ago

Hi, this is a read only mirror of CRAN, please see the package authors and possibly URLs in the DESCRIPTION file. Thanks!