plot_points: plot points

View source: R/graphics.R

plot_pointsR Documentation

plot points

Description

plot points

Usage

plot_points(data, label_x = "", label_y = "", colors = NULL)

Arguments

data

data.frame contain x, value, and variable

label_x

x-axis label

label_y

y-axis label

colors

color vector

Value

ggplot graphic

Examples

x <- seq(0, 10, 0.25)
data <- data.frame(x, sin=sin(x), cosine=cos(x)+5)
head(data)

grf <- plot_points(data, colors=c("red", "green"))
plot(grf)

daltoolbox documentation built on May 29, 2024, 1:57 a.m.