[R] plot in generalized additive model (GAM)

David Winsemius dwinsemius at comcast.net
Wed Jul 2 01:50:13 CEST 2014


On Jul 1, 2014, at 12:02 AM, adc wrote:

>  I performed the following GAM by the MGCV package: 

I think it's actually spelled in all lower case.

> gam(mortality ~
> (PM10) + (Tmax) + (umidity), data = data, family = quasipoisson) 
> 
> How
> can I obtain a plot of Log-relative risk of mortality vs. PM10 ? 
> thanks

Shouldn't we need to know more details about the experimental setup to answer that question? And what sort of comparisons you are requesting? And about what parts of  ?mgcv::plot.gam you need further explanations to answer the question?

> agostino   
> 
snipped
> --
snipped
> Sent from the R help mailing list archive at Nabble.com.
> 	[[alternative HTML version deleted]]
snipped
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list