hyperbolaSim | R Documentation |
Return the time values of the hyperbola as a function of the position
values x
.
hyperbolaSim(x, hyp)
x |
[ |
hyp |
[ |
[\code{numeric}] |
The time values of the hyperbola. |
hyperbolaSim
, hyperbolaPlot
xy <- list( x = c( 11.8, 15.0, 17.7, 20.3, 24.4, 27.4, 30.9, 35.2),
y = c(142.2, 119.8, 107.7, 99.5, 97.5, 105.6, 120.9, 138.1))
hyp <- hyperbolaFit(xy)
x <- seq(10, 40, by = 0.1)
y <- hyperbolaSim(x, hyp)
plot(x, y, type = "l", ylim = rev(range(y)))
hyp2 <- list(x0 = hyp$x0, t0 = hyp$t0, vrms = hyp$vrms)
y <- hyperbolaSim(x, hyp)
plot(x, y, type = "l", ylim = rev(range(y)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.