From 7a9b49f859dccaa9850598482a6fbd54555136f3 Mon Sep 17 00:00:00 2001 From: Costa <47926492N@ICO.SCS.local> Date: Thu, 24 Feb 2022 15:49:19 +0100 Subject: [PATCH] =?UTF-8?q?A=C3=B1adiendo=20las=20modificaciones=20para=20?= =?UTF-8?q?que=20haga=20el=20facet=20correctamente.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- man/ggstats_add_xy.Rd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man/ggstats_add_xy.Rd b/man/ggstats_add_xy.Rd index 4d5785c..738129a 100644 --- a/man/ggstats_add_xy.Rd +++ b/man/ggstats_add_xy.Rd @@ -2,15 +2,17 @@ \alias{ggstats_add_xy} \title{ggstats_add_xy} \usage{ -ggstats_add_xy(table_stat, table, group, y="max", bracket.offset=0.05, bracket.inspace=0.05) +ggstats_add_xy(table_stat, table, group, xcol=NULL, y="max", bracket.offset=0.05, bracket.inspace=0.05, exclude_group=NULL) } \arguments{ \item{table_stat}{A table generated by a rstatix funcion such as t_test() or wilcox_test().} \item{table}{The original table that was introduced to ggplot.} \item{group}{The grouping variable.} + \item{group}{The X-axis variable. If null (the default), the function will pick the first column. This is intended when exclude_group is null.} \item{y}{The algorithm used to calculate the y height. Is useful to adapt to plots that show all events, bars with the mean, etc... Options are "max" (default), "mean", "mean+sd", "mean+sem".} \item{bracket.offset}{Increasing this parameter incresases the y position of the brackets.} - \item{bracket.inspace}{Incresaing this parameter increases the space between brackets.} + \item{bracket.inspace}{Increasing this parameter increases the space between brackets.} + \item{exclude_group}{Variable(s) that will not be grouped. This aims to preserve the variable in order to facet.} } \description{ Generates a table with the coordinates that is required by the ggpubr function "stat_pvalue_manual".