spec/langs/R/ex1_after.R in qlang-0.0.27180000 vs spec/langs/R/ex1_after.R in qlang-0.0.27182000
- old
+ new
@@ -15,10 +15,10 @@
print_zip_choropleth = function(choropleth.df, states, scaleName, theme, min, max)
{
stopifnot(states %in% state.abb)
- a = (1 3 4)
+a = c(1, 3, 4)
state.df = subset_map("state", states)
colnames(state.df)[names(state.df) == "long"] = "longitude"
colnames(state.df)[names(state.df) == "lat"] = "latitude"
state.df = arrange(state.df, group, order);