curveLambda | R Documentation |
generates lambda values between 0 and lambdaMax using the function described here: https://math.stackexchange.com/questions/384613/exponential-function-with-values-between-0-and-1-for-x-values-between-0-and-1. The function is identical to the one implemented in the regCtsem package.
curveLambda(maxLambda, lambdasAutoCurve, lambdasAutoLength)
maxLambda |
maximal lambda value |
lambdasAutoCurve |
controls the curve. A value close to 1 will result in a linear increase, larger values in lambdas more concentrated around 0 |
lambdasAutoLength |
number of lambda values to generate |
numeric vector
library(lessSEM)
plot(curveLambda(maxLambda = 10, lambdasAutoCurve = 1, lambdasAutoLength = 100))
plot(curveLambda(maxLambda = 10, lambdasAutoCurve = 5, lambdasAutoLength = 100))
plot(curveLambda(maxLambda = 10, lambdasAutoCurve = 100, lambdasAutoLength = 100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.