myboxplot2: myboxplot2

View source: R/ACutils_export.R

myboxplot2R Documentation

myboxplot2

Description

Useful function to produce boxplot within for loops.

Usage

myboxplot2(mydata, myexposure = NULL, myoutcome)

Arguments

mydata

tibble the dataset

myexposure

string the name of the numerical variable whose boxplot must the produced.

myoutcome

string the name of the categorical variable that defines the different levels. One boxplot for each level.

Examples

myboxplot2(mydata = data, myexposure =  "treatment", myoutcome =  "age")

alessandrocolombi/ACutils documentation built on March 3, 2023, 4:06 a.m.