Description Usage Arguments Value Examples
Reports error if type
is not the correct size specified by number
or if type
is not one of the type_options
.
1 | error_type_number(type, number, type_options)
|
type |
character vector or array. |
number |
required length of |
type_options |
character of what |
Error message if any component of type
is not the correct size or
allowed type.
1 2 3 4 5 6 | ## Reports an error because of wrong type. (not run)
#number_of_functional_predictors <- 3
#functional_coefficients_basis_type <- rep("cubic-spline",number_of_functional_predictors)
#functional_basis_options <- c("fpca","quantlet")
#error_type_number(functional_coefficients_basis_type,number_of_functional_predictors,
#functional_basis_options)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.