在Choroplethr中调整字体和其他图形参数

问题描述

我正在使用Choroplethr软件包为即将出版的出版物生成一些地图。有谁知道如何调整输出图形的图形参数? (具体地说,我希望将字体更改为日记所需的字体。)

library(choroplethr)
library(choroplethrMaps)
library(ggplot2)

data(county.regions)
texas.counties<-county.regions[county.regions$state.name=="texas",]

fakedata<-as.data.frame(texas.counties$region)
fakedata$value<-runif(n=254,min=0,max=1)
colnames(fakedata)[1]<-"region"

county_choropleth(fakedata,state_zoom = c("texas"),num_colors=1,legend = "test") 

Example Output

因此,在这个特定示例中,我希望更改图例中显示的字体(“ test”,“ 0.25”,“ 0.50”,“ 0.75”)。

非常感谢!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)