☰
Debian Codegraph
@
1.13.0+dfsg-1
/
/
tests
/
test-modules
/
107_scatterplot
/
R
/
scatterplot.R
☽
☼
tests/test-modules/107_scatterplot/R/scatterplot.R
code
plain
raw
MIT
2013-2025 Posit Software, PBC; Joe Cheng, JJ Allaire, Yihui Xie, Jonathan McPherson,; RStudio, jQuery Foundation, jQuery contributors,; R Core Team
debian/copyright
1
alpha_val <- 0.2
2
3
scatterPlot <- function(data, cols) {
4
ggplot(data, aes_string(x = cols[1], y = cols[2])) +
5
geom_point(aes(color = selected_), alpha = alpha_val) +
6
scale_color_manual(values = c("black", "#66D65C"), guide = FALSE)
7
}