Browse Source

Añadiendo las modificaciones para que haga el facet correctamente.

main
Costa 2 years ago
parent
commit
7a9b49f859
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      man/ggstats_add_xy.Rd

+ 4
- 2
man/ggstats_add_xy.Rd

@ -2,15 +2,17 @@
\alias{ggstats_add_xy} \alias{ggstats_add_xy}
\title{ggstats_add_xy} \title{ggstats_add_xy}
\usage{ \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{ \arguments{
\item{table_stat}{A table generated by a rstatix funcion such as t_test() or wilcox_test().} \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{table}{The original table that was introduced to ggplot.}
\item{group}{The grouping variable.} \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{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.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{ \description{
Generates a table with the coordinates that is required by the ggpubr function "stat_pvalue_manual". Generates a table with the coordinates that is required by the ggpubr function "stat_pvalue_manual".

Loading…
Cancel
Save