Specific method for printing the multiroot class, created for multiroot
function, in a pleasing form.
Usage
# S3 method for multiroot
print(x, ...)
Arguments
- x
a list.
- ...
additional arguments, will be ignored.
Details
The multiroot class is a list with slots root, iter, err.
Examples
mt <- structure(list(root = 1, iter = 20, err = 1e-8), class = "multiroot")
print(mt)
#> root: 1
#> iter: 20
#> err: 1e-08