inv_test: inv_test

View source: R/inv_test.R

inv_testR Documentation

inv_test

Description

Invert test column from Rrepest test = TRUE by name on "b." and "se." in the column name and by sign (*-1) on "b."

Usage

inv_test(data, name_index)

Arguments

data

(dataframe) df to analyze

name_index

(string/numeric) name or index for the estimate (b.) columns containing the data for the test in Rrepest)

Value

Dataframe cointaining inverted test column names for "b." and "se." according to Rrepest structure and column multiplied by (-1) for "b."

Examples

inv_test(rrepest_pisa_age_gender, name_index = 6) 

Rrepest documentation built on April 4, 2025, 2:07 a.m.