plot_2D_data: —————— Scatter Plot of 2D data

Description Usage Arguments Value Examples

Description

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

Usage

1
plot_2D_data(Y, X, f_transform = FALSE)

Arguments

Y

A response vector of size n

X

An input matrix of size n*2.

f_transform

logical - To clarify whether or not, the names of the axes are the f transforms or the initial X's

Value

A ggplot2 scatter plot

Examples

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

PaoloLuciano/bpwpm2 documentation built on June 6, 2019, 5:47 p.m.