dif: Raju & Mantel-Haenszel method

View source: R/dif.h.R

difR Documentation

Raju & Mantel-Haenszel method

Description

Raju & Mantel-Haenszel method

Usage

dif(
  data,
  vars,
  group,
  raju = FALSE,
  mh = FALSE,
  padjust = "BH",
  padjust1 = "BH",
  zplot = FALSE,
  plot3 = FALSE,
  plot1 = FALSE,
  gmh = FALSE,
  fn = "2,3,4",
  plot2 = FALSE,
  padjust2 = "BH",
  width1 = 500,
  height1 = 500,
  width2 = 500,
  height2 = 500,
  width3 = 500,
  height3 = 500,
  width4 = 500,
  height4 = 500,
  num = 1
)

Arguments

data

The data as a data frame.

vars

.

group

A string naming the grouping variable from data

raju

.

mh

.

padjust

.

padjust1

.

zplot

.

plot3

.

plot1

.

gmh

.

fn

.

plot2

.

padjust2

.

width1

.

height1

.

width2

.

height2

.

width3

.

height3

.

width4

.

height4

.

num

.

Value

A results object containing:

results$instructions a html
results$text a preformatted
results$raju a table
results$mh a table
results$zplot an image
results$plot1 an image
results$gmh a table
results$plot2 an image
results$plot3 an image

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$raju$asDF

as.data.frame(results$raju)


hyunsooseol/snowIRT documentation built on March 20, 2024, 8 p.m.