小编Lac*_*anO的帖子

R中chi-sq的事后检验

我有一张看起来像这样的桌子。

> dput(theft_loc)
structure(c(13704L, 14059L, 14263L, 14450L, 14057L, 15503L, 14230L, 
16758L, 15289L, 15499L, 16066L, 15905L, 18531L, 19217L, 12410L, 
13398L, 13308L, 13455L, 13083L, 14111L, 13068L, 19569L, 18771L, 
19626L, 20290L, 19816L, 20923L, 20466L, 20517L, 19377L, 20035L, 
20504L, 20393L, 22409L, 22289L, 7997L, 8106L, 7971L, 8437L, 8246L, 
9090L, 8363L, 7934L, 7874L, 7909L, 8150L, 8191L, 8746L, 8277L, 
27194L, 25220L, 26034L, 27080L, 27334L, 30819L, 30633L, 10452L, 
10848L, 11301L, 11494L, 11265L, 11985L, 11038L, 12104L, 13368L, 
14594L, 14702L, 13891L, 12891L, 12939L), .Dim = c(7L, 10L), .Dimnames = structure(list( …
Run Code Online (Sandbox Code Playgroud)

statistics r

4
推荐指数
2
解决办法
1万
查看次数

ggplot2中的颜色和填充参数有什么区别?

ggmap(location) +
geom_density_2d(aes(long, lat), df) +
geom_point(aes(long, lat,**color = special**),alpha = 0.5,data = df) 
Run Code Online (Sandbox Code Playgroud)

当我将颜色更改为填充时,我看不出有什么不同,例如:

ggmap(location) +
geom_density_2d(aes(long, lat), df) +
geom_point(aes(long, lat,**fill = special**),alpha = 0.5,data = df) 
Run Code Online (Sandbox Code Playgroud)

这两个论点之间的主要区别是什么?

r ggplot2

4
推荐指数
1
解决办法
2173
查看次数

标签 统计

r ×2

ggplot2 ×1

statistics ×1