Skip to content

Commit

Permalink
Merge pull request #792 from nlmixr2/792-keep-na
Browse files Browse the repository at this point in the history
the keep interpolaton default should be "na"
  • Loading branch information
mattfidler authored Sep 17, 2024
2 parents 9597d65 + f342604 commit 6004041
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
- Note: when interpolation is linear/midpoint for
factors/characters it changes to locf with a warning (#759)

- Also note, that the default keep interpolation is `na`

- Now you can specify the interpolation method per covariate in the model:

- `linear(var1, var2)` says both `var1` and `var2` would use linear
Expand Down
2 changes: 1 addition & 1 deletion R/rxsolve.R
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ rxSolve <- function(object, params = NULL, events = NULL, inits = NULL,
cores,
covsInterpolation = c("locf", "linear", "nocb", "midpoint"),
naInterpolation = c("locf", "nocb"),
keepInterpolation=c("locf", "nocb", "na"),
keepInterpolation=c("na", "locf", "nocb"),
addCov = TRUE, sigma = NULL, sigmaDf = NULL,
sigmaLower = -Inf, sigmaUpper = Inf,
nCoresRV = 1L, sigmaIsChol = FALSE,
Expand Down
5 changes: 3 additions & 2 deletions man/forderForceBase.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/reexports.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/rxSolve.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/rxode2.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6004041

Please sign in to comment.