The values of a result's operating-point plot (.op), named by
variable: node voltages and source currents.
Arguments
- result
A
spice_resultwith an operating point.- vars
Optional: names of the variables to keep, as in
spice_tidy(), in the order of the plot.
Examples
res <- spice_run("divider\nv1 1 0 dc 10\nr1 1 2 1k\nr2 2 0 3k\n.op\n.end")
spice_op(res)
#> v(1) i(v1) v(2)
#> 10.0000 -0.0025 7.5000
res |> spice_op("v(2)")
#> v(2)
#> 7.5