Description Usage Arguments Value Examples
View source: R/nonparmut_func.R
Mutates the model structure, leaving the included variables unchanged. Internal use only.
1 | nonparmut_func(mutation_row, Kvar, Kint, pnonpar, pintnonpar)
|
mutation_row |
Vector containing a model. |
Kvar |
Maximum number of variables allowed in the final model |
Kint |
Maximum number of interactions allowed in the final model |
pnonpar |
Mutation rate for model structure of main terms. |
pintnonpar |
Mutation rate for model structure of interaction terms. |
Vector containing the mutated model.
1 2 3 4 5 6 7 8 9 10 | mutation_row <- c("x1","0","x4","x3","0","x8","1","0","0","0","0","1")
Kvar <- 10
Kint <- 0
pnonpar <- 0.1
pintnonpar <- 0.1
## Not run:
nonparmut_func(mutation_row,Kvar,Kint,pnonpar,pintnonpar)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.