Skip to content

Commit

Permalink
Updating ep spec overview article with only_strata_with_events
Browse files Browse the repository at this point in the history
  • Loading branch information
nsjohnsen committed Apr 16, 2024
1 parent 2151cd9 commit 798226e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vignettes/ep_overview.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ For more details on the internal steps of {chef} see [Getting Started with Pipel
The parameters of each endpoint specification can be grouped in to the sets below, which are explained in their respective sections:
```{r, echo=FALSE}
dt <- data.table::data.table(
Type = c(rep("Population and outcome", 13), rep("Methods", 6)),
Type = c(rep("Population and outcome", 14), rep("Methods", 6)),
Section = c(
rep(
"[ADaM data](ep_spec_adam_data.html). What data to use and how to consolidate it into a single data table for the endpoint that is used to calculate statistics.",
Expand All @@ -61,6 +61,7 @@ dt <- data.table::data.table(
4),
"[Strata](ep_spec_strata_def.html). How to slice the data within the endpoint.",
"[Endpoint label](ep_spec_label.html). What events the endpoint describes.",
"[Processing of strata without events](ep_spec_strata_w_events.html). Specification of whether only strata levels with events are to be incorporated in the endpoint.",
rep(
"[Criteria methods](methods_criteria.html). Requirements that must be met to include different types of statistics in the endpoint results.",
3),
Expand All @@ -82,6 +83,7 @@ dt <- data.table::data.table(
"`group_by`",
"`stratify_by`",
"`endpoint_label`",
"`only_strata_with_events`",
"`crit_endpoint`",
"`crit_by_strata_by_trt`",
"`crit_by_strata_across_trt`",
Expand Down
20 changes: 20 additions & 0 deletions vignettes/ep_spec_strata_w_events.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "Processing of strata without events"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Processing of strata without events}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```

# Overview

The `only_strata_with_events` endpoint parameter specifies whether the endpoint upon completion in the {chef} framework will include all strata levels or only those levels that contain events. By default, all levels will be included in the endpoint.

0 comments on commit 798226e

Please sign in to comment.