शुरू करेंमुफ़्त में शुरू करें

Poisson regression plotting

Using geom_smooth to plot data from a Poisson regression is similar to plotting a binomial. However, you need to change the family argument in geom_smooth(). During this exercise, you will plot the number of cancer cells per cm\(^2\) and use a geom_smooth(). This is the same simulated dataset you saw in the video.

यह अभ्यास पाठ्यक्रम का हिस्सा है

Generalized Linear Models in R

पाठ्यक्रम देखें

अभ्यास निर्देश

  • Use geom_jitter() to set both the jitter width and height to 0.05.
  • Use geom_smooth() to create a line-based on a Poisson regression.

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# Use geom_smooth to plot a continuous predictor variable
ggplot(data = dat, aes(x = dose, y = cells)) + 
	___(___ = ___, ___ = ___) + 
	___(method = '___', method.args = list(___ = '___'))
कोड संपादित करें और चलाएँ