Learn R Programming

RMark (version 3.0.0)

print.marklist: Print MARK list objects

Description

Displays the model.table if it exists. To display the output for a mark model contained in a list, simply type the list value (e.g., typing mymarklist[[2]] will display output for the second model). The function print.marklist was created to avoid accidental typing of the model list which would call print.mark for each of the models.

Usage

# S3 method for marklist
print(x,...)

Value

None

Arguments

x

mark model object; or list of mark model objects created with collect.models

...

additional non-specified argument for S3 generic function

Author

Jeff Laake

Details

If the model has been run (model$output exists) the output file stored in the directory as identified by the basefile name (model$output) and the suffix ".out" is displayed with a call to MarkViewer. If input is set to TRUE then the MARK input file is displayed instead. By default the MarkViewer is notepad but any program can be used in its place that accepts the filename as the first argument. For example setting MarkViewer="wp" will use wordperfect (wp.exe) as long as wp.exe is in the search path. MarkViewer must be set during each R session, so it is best to include it in your .First function to change it permanently. Since print.mark is the generic function to print mark objects you can use it by just typing the name of a mark object at the R prompt and it will call print.mark. For example, if mod is a mark object then typing mod is the same as print.mark(mod)

See Also

summary.mark