Function use the raw data for made a boxplot graphic

plot_raw(
  data,
  type = "boxplot",
  x,
  y,
  group = NULL,
  xlab = NULL,
  ylab = NULL,
  glab = NULL,
  ylimits = NULL,
  xrotation = NULL,
  legend = "top",
  xtext = NULL,
  gtext = NULL,
  color = TRUE,
  opt = NULL
)

Arguments

data

raw data

type

Type of graphic. c("boxplot", "scatterplot")

x

Axis x variable

y

Axis y variable

group

Group variable

xlab

Title for the axis x

ylab

Title for the axis y

glab

Title for the legend

ylimits

Limits and break of the y axis c(init, end, brakes)

xrotation

Rotation in x axis c(angle, h, v)

legend

the position of legends ("none", "left", "right", "bottom", "top", or two-element numeric vector)

xtext

Text labels in x axis

gtext

Text labels in groups

color

Colored figure (TRUE), otherwise black & white (FALSE)

opt

Add new layers to the plot

Value

plot

Examples

if (FALSE) { library(inti) library(gsheet) url <- paste0("https://docs.google.com/spreadsheets/d/" , "1D1KYc5FMTHow_PpW6ijravmkF_z9zES8Incfroi-Tc4/edit#gid=1336259432") # browseURL(url) # fb <- gsheet2tbl(url) fb %>% plot_raw(type = "sca" , x = "elt_test" , y = "tam_test" , group = "testiculo" , color = T , ylimits = c(0, 1500, 300) ) }