default_test: Guess the default test

default_testR Documentation

Guess the default test

Description

Find an appropriate test to use in dropterm if not specified

Usage

default_test(object)

## Default S3 method:
default_test(object)

## S3 method for class 'negbin'
default_test(object)

## S3 method for class 'lmerMod'
default_test(object)

## S3 method for class 'glmerMod'
default_test(object)

## S3 method for class 'multinom'
default_test(object)

## S3 method for class 'polr'
default_test(object)

## S3 method for class 'glm'
default_test(object)

## S3 method for class 'lm'
default_test(object)

Arguments

object

a fitted model object accommodated by dropterm

Value

A character string, one of "F", "Chisq", or "none"

Examples

fm <- glm.nb(Days ~ .^3, quine)
default_test(fm)

MASSExtra documentation built on Feb. 16, 2023, 10:55 p.m.