From 779cb0eff2c37403e3418917bac3f79db3afc58a Mon Sep 17 00:00:00 2001 From: Antoine Filipovic-Pierucci Date: Wed, 23 Nov 2016 15:59:02 +0100 Subject: [PATCH] :beetle:fix error in example --- inst/examples/example_update.R | 2 +- man/update-model.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/examples/example_update.R b/inst/examples/example_update.R index 67dabf5f..bbe5c706 100644 --- a/inst/examples/example_update.R +++ b/inst/examples/example_update.R @@ -56,7 +56,7 @@ summary(ndt) new_tab2 <- data.frame( age_init = 40:45, - .weights = runif(41) + .weights = runif(6) ) ndt2 <- update(res, newdata = new_tab2) diff --git a/man/update-model.Rd b/man/update-model.Rd index a841638f..a330f0e5 100644 --- a/man/update-model.Rd +++ b/man/update-model.Rd @@ -122,7 +122,7 @@ summary(ndt) new_tab2 <- data.frame( age_init = 40:45, - .weights = runif(41) + .weights = runif(6) ) ndt2 <- update(res, newdata = new_tab2)