glm.predict. | R Documentation |
This is an auxiliary function in single package. It evaluates the sigmoidal function given by the parameters slope and intercept on x.
glm.predict.(x, slope, intercept)
x |
Numeric. Values to evaluate. |
slope |
Slope of the sigmoidal function to evaluate. |
intercept |
Intercept of the sigmoidal function to evaluate. |
Numeric.
x = c(-10:10)
y = glm.predict.(x,1,2)
plot(x,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.