continuous_multg: Bivariate analysis for more than 2 groups

View source: R/continuous_multg.R

continuous_multgR Documentation

Bivariate analysis for more than 2 groups

Description

Generates a HTML table of bivariate analysis for 2 groups.

Usage

continuous_multg(data, groupvar, flextableformat = TRUE)

Arguments

data

Data frame from which variables will be extracted.

groupvar

Grouping variable. Must have exactly 2 levels.

flextableformat

Logical operator to indicate the output desired. Default is TRUE. When FALSE, function will return a dataframe format.

Value

A dataframe or flextable containing pvalues for each test along with the normality and homocedasticity tests p values. An extra column will be shown indicating the recommended significant test

Examples

data <- iris

data$Species<-as.factor(data$Species)

continuous_multg(data = data, groupvar = "Species", flextableformat = FALSE)


BiVariAn documentation built on April 4, 2025, 1:04 a.m.