ksnet_scatter: Generate a scatterplot

View source: R/ksnet_scatter.R

ksnet_scatterR Documentation

Generate a scatterplot

Description

Explore the distribution of your data with a scatterplot This function generates a ggplot2 object, so it's easily expanded with labels, themes, and other elements.

Usage

ksnet_scatter(data, xvar, yvar, color = color_ksnet()[1])

Arguments

data

data.frame

xvar

variable

yvar

variable

Value

ggplot

Examples


x <- rnorm(100)
y <-  rnorm(100, x, 1)
my_data <- data.frame(x = x, y = y)
ksnet_scatter(my_data, x, y)

octmedina/ksnet documentation built on April 18, 2023, 3:34 p.m.