Learn R Programming

stellaR (version 0.3-4)

print.trk: Print stellar track objects

Description

Format and print the contents of the objects of classes trk, hb, zahb, iso.

Usage

# S3 method for trk
print(x, …)
# S3 method for hb
print(x, …)
# S3 method for zahb
print(x, …)
# S3 method for iso
print(x, …)

Arguments

x

An object of classes trk, hb, zahb, or iso.

further arguments passed to low level print functions.

Details

The contents of the variables mass (or age), z, y, ml, alpha.enh (and massRGB if appliable) from classes trk, hb, zahb, or iso are fomatted and printed. The function returns its argument invisibly (via invisible(x)).

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
  trk <- getTrk(0.9, 0.002, 0.25, 1.7, 0)
  trk
  
# }

Run the code above in your browser using DataLab