xyBoxplot {datana}R Documentation

Function for a scatter-plot with boxplots

Description

This function creates a scatter-plot with boxplots for the Y-axis variable.

Usage

xyBoxplot(x = x, y = y, col.dots = "blue", xlab = NULL, ylab = NULL)

Arguments

x

A numeric vector representing the X-axis variable

y

A numeric vector representing the Y-axis variable

col.dots

(optional) A string specifying the dot colors. Default is "blue".

xlab

(optional) A string specifying X-axis label.

ylab

(optional) A string specifying Y-axis label.

Value

Result of calculation

Examples

library(datana)
data(fishgrowth)
df <- fishgrowth
xyBoxplot(x=df$age,y=df$length)
xyBoxplot(x=df$age,y=df$length,col="red")

[Package datana version 1.0.3 Index]