fig9.8 | R Documentation |
Replikasjonskode for grafikk 9.8. Krever car
-pakken.
fig9.8()
Silje Synnøve Lyder Hermansen
#Last inn data data(kap9) #Estimer modell mod<-lm(Skepsis~Inntekt+ Alder+Alder2+ Prekaritet*Innvandrer, data=kap9, na.action = "na.exclude") #Hent in pakke fra biblioteket #library(car) #Lag boblegrafikk car::influencePlot(mod, main = "Boblegrafikk med innflytelsesrike uteliggere", x = "Hatverdier", y = "Studentiserte residualer")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.