See 'shade' parameter in ?plot.gam (mgcv)
On 06/04/17 00:34, Husam El Alqamy wrote:> Dear List
> I am fitting some GAM models using the package mgcv. When plotting the
> response curves of the individual predictors using gam.plot I get a dotted
> line of the confidence interval around the fitted line. Does anybody know a
> way to make these as grey area around the fitted lined instead of the
> dotted lines/ Thanks in advance
> Regards
>
> *BCTS*
>
> GIS
>
> *Hossameldin ELALKAMY, **MPhill., PhD.*
>
> *GIS Analyst *
>
> BC Timber Sales | Prince George
>
> Ministry of Forests, Lands and Natural Resource Operations
>
> P. 250.614.7521 C. 778.896.3229 | 2000 Ospika Blvd. PG, BC., V2N 4W5
>
>
>
> Webpage <https://www.for.gov.bc.ca/bcts/> | GIS Requests
>
<https://spc-bcts.gov.bc.ca/BCTSNGG/SitePages/TPG%20Prince%20George.aspx>
|
> Profile <https://www.linkedin.com/in/husam-el-alqamy-82212b6a/>
>
> [image: BC FLNRO]
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Simon Wood, School of Mathematics, University of Bristol BS8 1TW UK
+44 (0)117 33 18273 http://www.maths.bris.ac.uk/~sw15190