nt_join_tables: Join tables

View source: R/join_tables.R

nt_join_tablesR Documentation

Join tables

Description

Join tables resulting from other functions of the package ntimes.

Usage

nt_join_tables(
  tab.x,
  tab.y,
  digits = 3,
  alpha = 0.05,
  save = FALSE,
  file = "table"
)

Arguments

tab.x

a data frame with attribute ntimes.

tab.y

a data frame with attribute ntimes.

digits

a numeric value specifying the number of digits for the p values.

alpha

a numeric value specifying the significance level to indicate statistically significant multiple comparisons.

save

a logical value indicating whether the output should be saved as a csv file.

file

a character value indicating the name of output file in csv format to be saved.

Value

A data frame containing tab.x and tab.y.

Examples

library(dplyr)

iris_nt <- iris |> filter(Species != "versicolor") |>
mutate(Species = droplevels(Species))
tab01 <- nt_describe(iris_nt, group = Species)
tab02 <- nt_compare_tg(iris_nt, group = Species)
tab <- nt_join_tables(tab01, tab02)


dnzmarcio/ntimes documentation built on Jan. 4, 2024, 2:23 p.m.