Learn R Programming

asremlPlus (version 4.4.46)

print.predictions.frame: 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 predictions.frame
print(x, title = NULL,  
      which.predictions = c("title", "heading", "table"), 
      colourise = FALSE, ...)

Value

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

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.

Author

Chris Brien

See Also

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

Examples

Run this code
if (FALSE) {
print.predictions.frame(diffs$predictions, which = "all")
}

Run the code above in your browser using DataLab