Learn R Programming

klausuR (version 0.12-14)

grand.table: Export results to a table

Description

Try this function to combine results from an evaluated test into a matrix and export it to a table, e.g. to import in other software products. It can be particularily helpful for ET/NRET coded tests, if you want to compare the results of different valid scoring functions.

Usage

grand.table(
  NR.res = NULL,
  NRET.res = NULL,
  NRETp.res = NULL,
  ET.res = NULL,
  rescale = TRUE,
  file = NULL,
  csv2 = TRUE,
  encoding = "CP1252",
  ...
)

Arguments

NR.res

An object of class klausuR which was evaluated according to the NR scoring policy. Usual MC tests must be given as NR.res, too.

NRET.res

An object of class klausuR which was evaluated according to the NRET scoring policy.

NRETp.res

An object of class klausuR which was evaluated according to the NRET+ scoring policy.

ET.res

An object of class klausuR which was evaluated according to the ET scoring policy.

rescale

Logical, whether ET/NRET scaled results should be rescaled by nret.rescale.

file

A character string giving a file name to save to. If NULL, no file will be written.

csv2

Logical. If FALSE, write.csv will be used instead of write.csv2.

encoding

Encoding of the exported table.

...

Additional options for write.csv/write.csv2.

Value

A data.frame.