• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: Plotting a GAM (error in the plot output)

Resolved: Plotting a GAM (error in the plot output)

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I have set up a GAM but when i plot it i run into the issue as below, does anyone know how to fix this issue? Data, model and plot code used below;
data snipet:
model and plot:
currently plot this which is incorrect;
enter image description here

Answer:

Assuming you’re using the built-in co2 and mgcv library:
enter image description here

If you have better answer, please add a comment about this, thank you!

gam ggplot2 r
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: How can I implement a function depending on picked up items?

01/04/2023

Resolved: Azuer Service Bus SDK not receiving the specified messages

01/04/2023

Resolved: how to change date format from 201904 to Apr-19 in excel

01/04/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.