Learn R Programming

Rrepest (version 1.5.2)

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

Value

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

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)

Examples

Run this code
inv_test(rrepest_pisa_age_gender, name_index = 6) 

Run the code above in your browser using DataLab