Learn R Programming

RMark (version 2.1.1)

release.gof: Runs RELEASE for goodness of fit test

Description

Creates input file for RELEASE with the specified data, runs RELEASE and extracts the summary results for TEST2 and TEST3. Output file is named Releasennn.tmp where nnn is an increasing numeric value to create a unique filename.

Usage

release.gof(data, invisible = TRUE,
    title = "Release-gof", view = FALSE)

Arguments

data
processed RMark data
invisible
if TRUE, RELEASE run window is hidden from view
title
title for output
view
if TRUE, shows release output in a viewer window

Value

  • results: a dataframe giving chi-square, degrees of freedom and P value for TEST2, TEST3 and total of tests

Examples

Run this code
data(dipper)
dipper.processed=process.data(dipper,groups=("sex"))
# The following is commented out because it does not run
# under check for some reason; very weird error lurking somewhere
#release.gof(dipper.processed)

Run the code above in your browser using DataLab