@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
25 lines (20 loc) • 485 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.exampleQueryCode = void 0;
exports.exampleQueryCode = `
library(ggplot)
library(dplyr)
library(readr)
# read data with read_csv
data <- read_csv('data.csv')
data2 <- read_csv('data2.csv')
m <- mean(data$x)
print(m)
data %>%
ggplot(aes(x = x, y = y)) +
geom_point()
plot(data2$x, data2$y)
points(data2$x, data2$y)
print(mean(data2$k))
`.trim();
//# sourceMappingURL=example-query-code.js.map