An S4 Class to Represent a Points
Use length(object)
to get the number of points.
Use point.x(object)
or point.y(object)
to access the x-coordinates or y-coordinates, respectively.
Use differentiate(x)
to take the derivative of each polynomial.
Use points(x)
to plot the points.
Use []
to access a subset of points.
x
A vector that stores x-coordinates.
y
A vector that stores y-coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.