Export results to a table

Share:

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

1
2
3
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.

Note

For obvious reasons At least one of NR.res, NRET.res, NRETp.res or ET.res, or any combination of those, must be specified.

Author(s)

m.eik michalke meik.michalke@uni-duesseldorf.de