plot.sshaped | R Documentation |
sshaped
objectThis function takes a fitted sshaped
object produced
by sshapedreg
or cvxreg
, and plots the observations, the fitted function and the location of the estimated inflection point (where applicable).
## S3 method for class 'sshaped' plot(x, ...)
x |
A fitted |
... |
Other arguments passed to |
A plot that shows the observations, the fitted function and the location of the estimated inflection point (where applicable, i.e. when object$shape
equals "sshaped
".).
No return value. A plot is produced.
sshapedreg
, cvxreg
## See examples for the functions sshapedreg and cvxreg.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.