Skip to content

Commit

Permalink
Change keep interpolation to na
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Sep 17, 2024
1 parent 9597d65 commit 6533eac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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

0 comments on commit 6533eac

Please sign in to comment.