Skip to content

How to extend to a new model? #223

@billdenney

Description

@billdenney

Related to #177

I'm looking to use extract_eq() to help with the nlmixr2 package. It typically uses nonlinear, mixed-effect models that are defined by multiple equations.

For that, I was looking at several items of how this is working and I have a few questions and thoughts:

  1. Do you have some documentation of how to implement a new model? My specific thought is that it would help to provide guidance on how to do the final wrapping of the output in multiple equations. There are probably a lot more questions that would help.
  2. When writing for nlmixr2 models, many of the arguments for extract_eq() don't apply. As part of Refectoring for Extensibility #177, have you considered having the generic as something much simpler like extract_eq <- function(model, ...) {UseMethod("extract_eq")}?
  3. Would you consider exporting the escape_tex() function? Are there other internal helper functions that may be necessary for generating high-quality outputs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions