![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
R
AetherTL
这个作者很懒,什么都没留下…
展开
-
R 语言地图可视化 美国2016大选
rm(list=ls())load(file = "/Users/n.w./Documents/countypres_2000-2016.rdata")library(tidyverse)library(here)library(janitor)library(albersusa)library(sf)library(sp)library(rgeos)library(maptools)library(ggthemes)library(viridis)library(scales)l原创 2021-05-17 14:42:31 · 574 阅读 · 0 评论 -
2020-10-28 LogisticRegression Exercise
## ## Call:## glm(formula = OnlineOrderFlag ~ Bikes + Clothing + Components + ## Accessories, family = binomial(link = "logit"), data = data)## ## Deviance Residuals: ## Min 1Q Median 3Q Max ## -3.5203 0.0639 0.0736原创 2020-10-28 23:11:17 · 316 阅读 · 0 评论 -
glm() and lm()
In R, using lm() is a special case of glm().lm() fits models following the form Y = Xb + e, where e is Normal (0 , s^2).glm() fits models following the form f(Y) = Xb + e. However, in glm both the function f(Y) (the ‘link function’) and the distribution转载 2020-10-23 15:39:00 · 2101 阅读 · 0 评论