Learn R Programming

BiVariAn (version 1.0.3)

continuous_multg: 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)

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

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.

Examples

Run this code
data <- iris

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

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

Run the code above in your browser using DataLab