diff --git a/dev/apple-touch-icon-120x120.png b/dev/apple-touch-icon-120x120.png index 0542257..028c20a 100644 Binary files a/dev/apple-touch-icon-120x120.png and b/dev/apple-touch-icon-120x120.png differ diff --git a/dev/apple-touch-icon-152x152.png b/dev/apple-touch-icon-152x152.png index 0142707..e41ae7c 100644 Binary files a/dev/apple-touch-icon-152x152.png and b/dev/apple-touch-icon-152x152.png differ diff --git a/dev/apple-touch-icon-180x180.png b/dev/apple-touch-icon-180x180.png index 925a7fc..89673b7 100644 Binary files a/dev/apple-touch-icon-180x180.png and b/dev/apple-touch-icon-180x180.png differ diff --git a/dev/apple-touch-icon-60x60.png b/dev/apple-touch-icon-60x60.png index 8f3c022..1d20bfe 100644 Binary files a/dev/apple-touch-icon-60x60.png and b/dev/apple-touch-icon-60x60.png differ diff --git a/dev/apple-touch-icon-76x76.png b/dev/apple-touch-icon-76x76.png index e2a8e6b..e860aed 100644 Binary files a/dev/apple-touch-icon-76x76.png and b/dev/apple-touch-icon-76x76.png differ diff --git a/dev/apple-touch-icon.png b/dev/apple-touch-icon.png index 3e861c1..ab8b472 100644 Binary files a/dev/apple-touch-icon.png and b/dev/apple-touch-icon.png differ diff --git a/dev/articles/examples.html b/dev/articles/examples.html index 19108f5..a316996 100644 --- a/dev/articles/examples.html +++ b/dev/articles/examples.html @@ -126,7 +126,7 @@

## dplyr::filter() masks stats::filter() ## dplyr::lag() masks stats::lag() ## recipes::step() masks stats::step() - ## Search for functions across packages at https://www.tidymodels.org/find/ + ## Use tidymodels_prefer() to resolve common conflicts.
   library(censored)
  ## Loading required package: survival
@@ -6175,14 +6175,14 @@

## attr(,"response") ## [1] 1 ## attr(,".Environment") - ## <environment: 0x5646980bc350> + ## <environment: 0x56103e42d360> ## attr(,"Formula_with_dot") ## Surv(time, status) ~ . - ## <environment: 0x5646980bc350> + ## <environment: 0x56103e42d360> ## attr(,"Formula_without_dot") ## Surv(time, status) ~ inst + age + sex + ph.ecog + ph.karno + ## pat.karno + meal.cal + wt.loss - ## <environment: 0x5646980bc350> + ## <environment: 0x56103e42d360> ## attr(,"dot") ## [1] "sequential" ## @@ -6254,7 +6254,7 @@

## X <- as.list(X) ## .Internal(lapply(X, FUN)) ## } - ## <bytecode: 0x564685103b20> + ## <bytecode: 0x56102b473b20> ## <environment: namespace:base> ## ## $info$control$saveinfo @@ -6274,8 +6274,8 @@

## .select(model, trafo, data, subset, weights, whichvar, ctrl, ## FUN = .ctree_test) ## } - ## <bytecode: 0x56469791a758> - ## <environment: 0x5646980966c0> + ## <bytecode: 0x56103dc8b768> + ## <environment: 0x56103e4076d0> ## ## $info$control$splitfun ## function (model, trafo, data, subset, weights, whichvar, ctrl) @@ -6285,8 +6285,8 @@

## .split(model, trafo, data, subset, weights, whichvar, ctrl, ## FUN = .ctree_test) ## } - ## <bytecode: 0x56469791caa0> - ## <environment: 0x5646980967a0> + ## <bytecode: 0x56103dc8dab0> + ## <environment: 0x56103e4077b0> ## ## $info$control$svselectfun ## function (model, trafo, data, subset, weights, whichvar, ctrl) @@ -6296,8 +6296,8 @@

## .select(model, trafo, data, subset, weights, whichvar, ctrl, ## FUN = .ctree_test) ## } - ## <bytecode: 0x56469791a758> - ## <environment: 0x564698096880> + ## <bytecode: 0x56103dc8b768> + ## <environment: 0x56103e407890> ## ## $info$control$svsplitfun ## function (model, trafo, data, subset, weights, whichvar, ctrl) @@ -6307,8 +6307,8 @@

## .split(model, trafo, data, subset, weights, whichvar, ctrl, ## FUN = .ctree_test) ## } - ## <bytecode: 0x56469791caa0> - ## <environment: 0x5646980969d0> + ## <bytecode: 0x56103dc8dab0> + ## <environment: 0x56103e4079e0> ## ## $info$control$teststat ## [1] "quadratic" @@ -6352,8 +6352,8 @@

## $trafo ## function (subset, weights, info, estfun, object, ...) ## list(estfun = Y, unweighted = TRUE) - ## <bytecode: 0x5646931d0a50> - ## <environment: 0x564698094688> + ## <bytecode: 0x561039540920> + ## <environment: 0x56103e405698> ## ## $predictf ## ~inst + age + sex + ph.ecog + ph.karno + pat.karno + meal.cal + @@ -6381,14 +6381,14 @@

## attr(,"response") ## [1] 0 ## attr(,".Environment") - ## <environment: 0x5646980bc350> + ## <environment: 0x56103e42d360> ## attr(,"Formula_with_dot") ## Surv(time, status) ~ . - ## <environment: 0x5646980bc350> + ## <environment: 0x56103e42d360> ## attr(,"Formula_without_dot") ## Surv(time, status) ~ inst + age + sex + ph.ecog + ph.karno + ## pat.karno + meal.cal + wt.loss - ## <environment: 0x5646980bc350> + ## <environment: 0x56103e42d360> ## attr(,"dot") ## [1] "sequential" ## diff --git a/dev/favicon-16x16.png b/dev/favicon-16x16.png index a398519..d3ea42c 100644 Binary files a/dev/favicon-16x16.png and b/dev/favicon-16x16.png differ diff --git a/dev/favicon-32x32.png b/dev/favicon-32x32.png index 34763fa..f936d90 100644 Binary files a/dev/favicon-32x32.png and b/dev/favicon-32x32.png differ diff --git a/dev/pkgdown.yml b/dev/pkgdown.yml index 2d1b646..b9f2ddc 100644 --- a/dev/pkgdown.yml +++ b/dev/pkgdown.yml @@ -3,7 +3,7 @@ pkgdown: 2.0.7 pkgdown_sha: ~ articles: examples: examples.html -last_built: 2023-12-20T17:38Z +last_built: 2023-12-20T18:17Z urls: reference: https://censored.tidymodels.org/reference article: https://censored.tidymodels.org/articles diff --git a/dev/reference/coxnet_train.html b/dev/reference/coxnet_train.html index bc510fd..3abdea3 100644 --- a/dev/reference/coxnet_train.html +++ b/dev/reference/coxnet_train.html @@ -119,7 +119,7 @@

Value

Details

This wrapper translates from formula interface to glmnet's matrix due to how stratification can be specified. glmnet requires that the response is -stratified via glmnet::stratifySurv(). censored allows specification via a +stratified via glmnet::stratifySurv(). censored allows specification via a survival::strata() term on the right-hand side of the formula. The formula is used to generate the stratification information needed for stratifying the response. The formula without the strata term is used for generating the diff --git a/dev/reference/survival_time_survbagg.html b/dev/reference/survival_time_survbagg.html index 129685b..a5e4c06 100644 --- a/dev/reference/survival_time_survbagg.html +++ b/dev/reference/survival_time_survbagg.html @@ -82,7 +82,7 @@

Examples
library(ipred)
 bagged_tree <- bagging(Surv(time, status) ~ age + ph.ecog, data = lung)
 survival_time_survbagg(bagged_tree, lung[1:3, ])
-#> [1] 306 353 433
+#> [1] 350 350 433