print.predictions.frame: Prints the values in a 'predictions.frame', with or without...

print.predictions.frameR Documentation

Prints the values in a predictions.frame, with or without title and heading.

Description

Prints the predictions from a fitted model, along with their standard errors and, if present, their error intervals, with or without title and headings.

Usage

## S3 method for class 'predictions.frame'
print(x, title = NULL,  
      which.predictions = c("title", "heading", "table"), 
      colourise = FALSE, ...)

Arguments

x

An object that, ideally, is of class predictions.frame.

title

A character giving a title to be printed out before the heading and table for the predictions.frame,

which.predictions

what Which elements of the predictions.frame to print. Possible values are some combination of title, heading, table and all. The heading is an attribute of x.

colourise

A logical which, if TRUE, results in the header text produced by predict.asreml being displayed in a different colour, if supported by the output terminal device. It overrides the TRUE setting of the colourise argument of asreml::asreml.options, but is only operational when the table is also printed.

...

further arguments passed to print.predictions.frame.

Value

No value is returned, but the components of x are printed.

Author(s)

Chris Brien

See Also

print.alldiffs, as.alldiffs, allDifferences.data.frame

Examples

## Not run: 
print.predictions.frame(diffs$predictions, which = "all")

## End(Not run)

asremlPlus documentation built on Oct. 27, 2024, 5:06 p.m.