View source: R/FMPMonotonicityCheck.R
FMPMonotonicityCheck | R Documentation |
Utility function for checking whether candidate FMP coefficients yield a monotonically increasing polynomial.
FMPMonotonicityCheck(b, lower = -20, upper = 20, PLOT = FALSE)
b |
A vector of 8 polynomial coefficients ( |
lower , upper |
|
PLOT |
Logical (default = FALSE). If PLOT = TRUE the function will
plot the original polynomial function for |
increasing |
Logical indicating whether function is monotonically increasing. |
minDeriv |
Minimum value of the derivative for the polynomial. |
minTheta |
Value of |
Niels Waller
## A set of candidate coefficients for an FMP model.
## These coefficients fail the test and thus
## should not be used with genFMPdata to generate
## item response data that are consistent with an
## FMP model.
b <- c(1.21, 1.87, -1.02, 0.18, 0.18, 0, 0, 0)
FMPMonotonicityCheck(b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.