sp_diff_test: Perform statistical test using given methods.

View source: R/statistics.R

sp_diff_testR Documentation

Perform statistical test using given methods.

Description

Perform statistical test using given methods.

Usage

sp_diff_test(
  data,
  stat_value_variable,
  stat_group_variable,
  statistical_method = "aov",
  add_y = TRUE,
  statistical_threshold_for_letters = 0.05
)

Arguments

data

A data matrix

stat_value_variable

The column represents the statistical value information.

stat_group_variable

The column represents the statistical group information.

statistical_method

Statistical method. For two groups, default <t.test>. For more than two groups, default .

add_y

Add positions for each statistical label.

statistical_threshold_for_letters

Threshold for treating as significance, default 0.05.

Value

A list. list(data=data, a data frame with statistical information, Tukey_HSD=Tukey_HSD)

Examples

NULL



Tong-Chen/ImageGP documentation built on April 14, 2025, 12:54 p.m.