Learn R Programming

phyclust (version 0.1-9)

print.object: Functions for printing or summarizing objects according to classes

Description

Several classes are declared in phyclust, and these are functions to print and summary objects.

Usage

## S3 method for class 'ms':
print(x, ...)
## S3 method for class 'phyclust':
print(x, digits = max(4, getOption("digits") - 3), ...)
## S3 method for class 'Pt':
print(x, ...)
## S3 method for class 'RRand':
print(x, digits = max(4, getOption("digits") - 3), ...)
## S3 method for class 'seq.data':
print(x, ...)
## S3 method for class 'seqgen':
print(x, ...)
## S3 method for class 'phyclust':
summary(object, ...)

Arguments

x
an object with the class attributes.
digits
for printing out numbers.
object
an object with the class attributes.
...
other possible options.

Value

  • The results will cat or print on the STDOUT by default.

Details

These are useful functions for summarizing and debugging.

For ms and seqgen, it will show the result as standalone versions on the STDOUT out with line by line.

For other functions, they only show summaries of objects. Use names or str to explore the details.

References

Phylogenetic Clustering Website: http://thirteen-01.stat.iastate.edu/snoweye/phyclust/

See Also

ms, phyclust, phyclust.Pt, RRand, seqgen.

Examples

Run this code
# Functions applied by directly type the names of objects.

Run the code above in your browser using DataLab