plot_2D_data: Scatter Plot of 2D data

Description Usage Arguments Value Examples

View source: R/plot_funcs.R

Description

Scatter plot to visualize the data and it's corresponding groups.

Usage

1

Arguments

Y

A response vector of size n

X

An input matrix of size n*2.

Value

A ggplot2 scatter plot

Examples

1
(Y = rbinom(100, 1, 4), X = cbind(rnorm(100), rnorm(100)))

PaoloLuciano/bpwpm documentation built on May 20, 2019, 4:25 p.m.