pistar: The Mixture Index of Fit

View source: R/pistar.R

pistarR Documentation

The Mixture Index of Fit

Description

pistar is a wrapper function for all functions estimating the Rudas-Clogg-Lindsay pi* mixture index of fit from package pistar.

Usage

pistar(proc, ...)

Arguments

proc
"uv"

for pistar.uv

"ct"

for pistar.ct

"ll"

for pistar.ll

"2by2"

for pistar.2by2

"mvn"

for pistar.mvn

"bvn"

for pistar.bvn

...

arguments passed to the function.

Value

An object of class "Pistar".

Author(s)

Juraj Medzihorsky

Examples

	# 	create data in a 2-by-2 table
	H <- matrix(rpois(4, 20), ncol=2)

	#	find pi* for independence (i.e. odds ratio of 1)
	h <- pistar(proc="2by2", data=H, alpha=1, jack=FALSE)

	h

jmedzihorsky/pistar documentation built on June 4, 2022, 9:58 a.m.