iter_t: Iteration of Student's t-tests with a specific variable

View source: R/iter_t.R

iter_tR Documentation

Iteration of Student's t-tests with a specific variable

Description

This function perform Student's t-tests between a specific variable and various categorical variables

Usage

iter_t(data, varlist, var, method = 1, maxgroup = 5, p.round = 3)

Arguments

data

a dataframe to be used

varlist

a vector of categorical variables

var

a variable of interest

method

parametric (1) or non-parametric test (2)

maxgroup

a maximum number of groups

p.round

a specified number of decimal places to which rounds the values

Value

Dataframe containing the result of t-tests


nephroj/medutils documentation built on Feb. 3, 2024, 8:33 a.m.