print.orbit_system: Print an orbit_system

View source: R/print.R

print.orbit_systemR Documentation

Print an orbit_system

Description

Displays a compact, human-readable summary of an 'orbit_system' showing the gravitational constant and a tibble of body states.

Usage

## S3 method for class 'orbit_system'
print(x, ...)

Arguments

x

An 'orbit_system' object.

...

Additional arguments (ignored).

Value

'x', invisibly.

Examples

create_system() |>
  add_sun() |>
  add_planet("Earth", parent = "Sun") |>
  add_planet("Mars",  parent = "Sun")

orbitr documentation built on Oct. 2, 2026, 1:06 a.m.