default_test: Guess the default test

Description Usage Arguments Value Examples

Description

Find an appropriate test to use in dropterm if not specified

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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

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

BillVenables/WWRUtilities documentation built on Jan. 26, 2021, 10:18 p.m.