Learn R Programming

haplo.stats (version 1.7.6)

print.haplo.score: Print a haplo.score object

Description

Method function to print a class of type haplo.score

Usage

## S3 method for class 'haplo.score':
print(x, digits, nlines=NULL, ...)

Arguments

x
The object returned from haplo.score (which has class haplo.score).
digits
Number of digits to round the numeric output.
nlines
Print the first 'nlines' rows of the large data frame for fast, short view of the results.
...
Dynamic parameter for the values of additional parameters for the print method.

Value

  • If print is assigned, the object contains the table of haplotype scores that was printed by the method

Details

This is a print method function used to print information from haplo.score class, with haplotype-specific information given in a table. Because haplo.score is a class, the generic print function can be used, which in turn calls this print.haplo.score function.

See Also

haplo.score