diff --git a/main/404.html b/main/404.html index 532fa172e6..493d936acc 100644 --- a/main/404.html +++ b/main/404.html @@ -29,7 +29,7 @@ tern - 0.9.6.9001 + 0.9.6.9002
r "Sex" ) -result <- basic_table(show_colcounts = TRUE) %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% +result <- basic_table(show_colcounts = TRUE) %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% analyze_vars( vars = vars, var_labels = var_labels ) %>% - build_table(adsl) + build_table(adsl) result #> A: Drug X B: Placebo C: Combination All Patients #> (N=69) (N=73) (N=58) (N=200) @@ -241,14 +210,14 @@ Including Missing Values in r adsl$SEX[adsl$SEX == "M"] <- NA adsl <- df_explicit_na(adsl, na_level = "Missing Values") -result <- basic_table(show_colcounts = TRUE) %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% +result <- basic_table(show_colcounts = TRUE) %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% analyze_vars( vars = vars, var_labels = var_labels ) %>% - build_table(adsl) + build_table(adsl) result #> A: Drug X B: Placebo C: Combination All Patients #> (N=69) (N=73) (N=58) (N=200) @@ -284,14 +253,14 @@ Missing Values in Numeric Variables "Sex" ) -result <- basic_table(show_colcounts = TRUE) %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% +result <- basic_table(show_colcounts = TRUE) %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% analyze_vars( vars = vars, var_labels = var_labels ) %>% - build_table(adsl) + build_table(adsl) result #> A: Drug X B: Placebo C: Combination All Patients #> (N=69) (N=73) (N=58) (N=200) diff --git a/main/articles/tables.html b/main/articles/tables.html index 595cc30055..660cdd01a3 100644 --- a/main/articles/tables.html +++ b/main/articles/tables.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -144,10 +113,10 @@ rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analyze functions are wrappers around -rtables::analyze function, they offer various methods +rtables::analyze function, they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analyze functions are @@ -174,26 +143,26 @@ Internals of tern Anal rcell type formatting themselves. formatted analysis functions a_*. These have the same arguments as the corresponding statistics functions, and can be further -customized by calling rtables::make_afun() on them. They -are used as afun in rtables::analyze(). +customized by calling rtables::make_afun() on them. They +are used as afun in rtables::analyze(). analyze functions rtables::analyze(..., afun = make_afun(tern::a_*)). Analyze functions are used in combination with the rtables layout functions, in the pipeline which creates the table. They are the last element of the chain. -We will use the native rtables::analyze function with +We will use the native rtables::analyze function with the tern formatted analysis functions as a afun parameter. -l <- basic_table() %>% - split_cols_by(var = "ARM") %>% - split_rows_by(var = "AVISIT") %>% - analyze(vars = "AVAL", afun = a_summary) +l <- basic_table() %>% + split_cols_by(var = "ARM") %>% + split_rows_by(var = "AVISIT") %>% + analyze(vars = "AVAL", afun = a_summary) -build_table(l, df = adrs) -The rtables::make_afun function is helpful when somebody +build_table(l, df = adrs) +The rtables::make_afun function is helpful when somebody wants to attach some format to the formatted analysis function. -afun <- make_afun( +afun <- make_afun( a_summary, .stats = NULL, .formats = c(median = "xx."), @@ -201,12 +170,12 @@ Internals of tern Anal .indent_mods = c(median = 1L) ) -l2 <- basic_table() %>% - split_cols_by(var = "ARM") %>% - split_rows_by(var = "AVISIT") %>% - analyze(vars = "AVAL", afun = afun) +l2 <- basic_table() %>% + split_cols_by(var = "ARM") %>% + split_rows_by(var = "AVISIT") %>% + analyze(vars = "AVAL", afun = afun) -build_table(l2, df = adrs) +build_table(l2, df = adrs) @@ -261,15 +230,15 @@ Demographic Tablevars <- c("AGE", "SEX") var_labels <- c("Age (yr)", "Sex") -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels ) %>% - build_table(adsl) + build_table(adsl) #> A: Drug X B: Placebo C: Combination All Patients #> (N=134) (N=134) (N=132) (N=400) #> —————————————————————————————————————————————————————————————————————————————— @@ -296,15 +265,15 @@ Demographic Table# Reorder the levels in the SEX variable. adsl$SEX <- factor(adsl$SEX, levels = c("M", "F", "U", "UNDIFFERENTIATED")) -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels ) %>% - build_table(adsl) + build_table(adsl) #> B: Placebo A: Drug X C: Combination All Patients #> (N=134) (N=134) (N=132) (N=400) #> —————————————————————————————————————————————————————————————————————————————— @@ -324,8 +293,8 @@ Demographic Tableanalyze(), analyze_colvars() and -summarize_row_groups() and provide options for easy +analyze(), analyze_colvars() and +summarize_row_groups() and provide options for easy formatting and analysis modifications. To customize the display for the demographics table, we can do so via the arguments in analyze_vars(). Most layout creating @@ -344,17 +313,17 @@ Demographic Table # Select statistics and modify default formats. -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels, .stats = c("n", "mean_sd", "count"), .formats = c(mean_sd = "xx.xx (xx.xx)") ) %>% - build_table(adsl) + build_table(adsl) #> B: Placebo A: Drug X C: Combination All Patients #> (N=134) (N=134) (N=132) (N=400) #> ———————————————————————————————————————————————————————————————————————————————— @@ -372,16 +341,16 @@ Demographic Table -lyt <- basic_table() %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% - add_colcounts() %>% +lyt <- basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels ) -build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "BRA")) +build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "BRA")) #> B: Placebo A: Drug X C: Combination All Patients #> (N=7) (N=13) (N=10) (N=30) #> —————————————————————————————————————————————————————————————————————————————— @@ -397,7 +366,7 @@ Demographic Table#> U 0 0 0 0 #> UNDIFFERENTIATED 0 0 0 0 -build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "CHN")) +build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "CHN")) #> B: Placebo A: Drug X C: Combination All Patients #> (N=81) (N=74) (N=64) (N=219) #> —————————————————————————————————————————————————————————————————————————————— @@ -426,10 +395,10 @@ Adverse Event Tablesummarize_num_patients(): -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -438,7 +407,7 @@ Adverse Event Table= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -450,7 +419,7 @@ Adverse Event Tablebuild_table(), +the alt_df_counts argument in build_table(), which provides an alternative data set for deriving the counts in the header. This is often required when we work with data sets that include multiple records per patient as df, such as @@ -509,16 +478,16 @@ Statistics Functionssummarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = "unique_count", .labels = c(unique_count = "Total number of patients with at least one AE") ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -530,13 +499,13 @@ Statistics Functionssplit_rows_by() before calling again +with split_rows_by() before calling again summarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -545,7 +514,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -560,7 +529,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -596,12 +565,12 @@ Statistics Functionscount_occurrences(). Let’s first try using this function in a simpler layout without row splits: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%) Putting everything together, the final AE table looks like this: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion() layout creating function: -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2) To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables. @@ -148,7 +117,7 @@ Argumentsdo_summarize_row_groups (flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels. @@ -205,14 +174,14 @@ Arguments Value - A layout object suitable for passing to further layouting functions, or to rtables::build_table(). + A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout. Note -This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() +This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() that may be subjected to changes as rtables extends its support to more complex analysis pipelines in the column space. We encourage users to read the examples carefully and file issues for different use cases. In this function, labelstr behaves atypically. If labelstr = NULL (the default), row labels are assigned @@ -221,7 +190,7 @@ Note See also - analyze_vars(), rtables::analyze_colvars(). + analyze_vars(), rtables::analyze_colvars(). diff --git a/main/reference/append_varlabels.html b/main/reference/append_varlabels.html index 847cad73ef..63b3cc9e90 100644 --- a/main/reference/append_varlabels.html +++ b/main/reference/append_varlabels.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/apply_auto_formatting.html b/main/reference/apply_auto_formatting.html index c2143e89b7..e8c2ef6415 100644 --- a/main/reference/apply_auto_formatting.html +++ b/main/reference/apply_auto_formatting.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/argument_convention.html b/main/reference/argument_convention.html index 38e63f9e88..5437d98e56 100644 --- a/main/reference/argument_convention.html +++ b/main/reference/argument_convention.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -99,7 +68,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .df_row @@ -193,7 +162,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. diff --git a/main/reference/arrange_grobs.html b/main/reference/arrange_grobs.html index 724cfd33fb..9f91e79111 100644 --- a/main/reference/arrange_grobs.html +++ b/main/reference/arrange_grobs.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as.rtable.html b/main/reference/as.rtable.html index 8716b9da86..45840e3655 100644 --- a/main/reference/as.rtable.html +++ b/main/reference/as.rtable.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as_factor_keep_attributes.html b/main/reference/as_factor_keep_attributes.html index 7a80536208..5f2a7f8fe4 100644 --- a/main/reference/as_factor_keep_attributes.html +++ b/main/reference/as_factor_keep_attributes.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/assertions.html b/main/reference/assertions.html index 6bf063b098..644af7abfd 100644 --- a/main/reference/assertions.html +++ b/main/reference/assertions.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bins_percent_labels.html b/main/reference/bins_percent_labels.html index 2f3a732445..f656bf4a18 100644 --- a/main/reference/bins_percent_labels.html +++ b/main/reference/bins_percent_labels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bland_altman.html b/main/reference/bland_altman.html index 6d349b7c1a..e1b6dde0ba 100644 --- a/main/reference/bland_altman.html +++ b/main/reference/bland_altman.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/c_label_n.html b/main/reference/c_label_n.html index d8fb94cf37..e2cf9a6daf 100644 --- a/main/reference/c_label_n.html +++ b/main/reference/c_label_n.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -112,7 +81,7 @@ Arguments Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. Note diff --git a/main/reference/c_label_n_alt.html b/main/reference/c_label_n_alt.html index 8ace5db811..9e61d9bdf5 100644 --- a/main/reference/c_label_n_alt.html +++ b/main/reference/c_label_n_alt.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,13 +70,13 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. See also diff --git a/main/reference/cfun_by_flag.html b/main/reference/cfun_by_flag.html index 4dc256a74f..f7bc45e087 100644 --- a/main/reference/cfun_by_flag.html +++ b/main/reference/cfun_by_flag.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_diff_prop_ci.html b/main/reference/check_diff_prop_ci.html index cfa6600e59..6bb23e9e84 100644 --- a/main/reference/check_diff_prop_ci.html +++ b/main/reference/check_diff_prop_ci.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_same_n.html b/main/reference/check_same_n.html index b6bd65c6fe..230c27513d 100644 --- a/main/reference/check_same_n.html +++ b/main/reference/check_same_n.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combination_function.html b/main/reference/combination_function.html index f30d92a5b2..7d98c6d6ee 100644 --- a/main/reference/combination_function.html +++ b/main/reference/combination_function.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_counts.html b/main/reference/combine_counts.html index 4deba1b2fe..deb1229c3f 100644 --- a/main/reference/combine_counts.html +++ b/main/reference/combine_counts.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_groups.html b/main/reference/combine_groups.html index 7cc3d90c46..8d92853e87 100644 --- a/main/reference/combine_groups.html +++ b/main/reference/combine_groups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_levels.html b/main/reference/combine_levels.html index 060a39cfcb..c8963cd6c4 100644 --- a/main/reference/combine_levels.html +++ b/main/reference/combine_levels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_vectors.html b/main/reference/combine_vectors.html index 492bbe1e8c..bf3be4a50f 100644 --- a/main/reference/combine_vectors.html +++ b/main/reference/combine_vectors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/compare_variables.html b/main/reference/compare_variables.html index d0abf884e5..d56ee311ed 100644 --- a/main/reference/compare_variables.html +++ b/main/reference/compare_variables.html @@ -25,7 +25,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -43,37 +43,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ for numeric variables can be viewed by running get_stats("analyze_vars_numeric", add_pval = TRUE) and for non-numeric variables by running get_stats("analyze_vars_counts", add_pval = TRUE). Use the .stats parameter to specify the statistics to include in your output summary table. -Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column +Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column split on the variable to be used in comparisons, and specify a reference group via the ref_group parameter. Comparisons can be performed for each group (column) against the specified reference group by including the p-value statistic. @@ -250,7 +219,7 @@ ArgumentsValue compare_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_compare() to the table layout. s_compare() returns output of s_summary() and comparisons versus the reference group in the form of p-values. @@ -258,7 +227,7 @@ ValueFunctions compare_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_compare(): S3 generic function to produce a comparison summary. s_compare(numeric): Method for numeric class. This uses the standard t-test to calculate the p-value. diff --git a/main/reference/control_analyze_vars.html b/main/reference/control_analyze_vars.html index 1be5a04c97..1078371bf7 100644 --- a/main/reference/control_analyze_vars.html +++ b/main/reference/control_analyze_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_annot.html b/main/reference/control_annot.html index 90398288c9..3b70e7f74e 100644 --- a/main/reference/control_annot.html +++ b/main/reference/control_annot.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxph.html b/main/reference/control_coxph.html index 2bc84ded72..56a5de1af1 100644 --- a/main/reference/control_coxph.html +++ b/main/reference/control_coxph.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxreg.html b/main/reference/control_coxreg.html index 10fa198c10..f1bc41395e 100644 --- a/main/reference/control_coxreg.html +++ b/main/reference/control_coxreg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_incidence_rate.html b/main/reference/control_incidence_rate.html index 54df4de699..836397b300 100644 --- a/main/reference/control_incidence_rate.html +++ b/main/reference/control_incidence_rate.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_lineplot_vars.html b/main/reference/control_lineplot_vars.html index 27f0172aa3..881754fed8 100644 --- a/main/reference/control_lineplot_vars.html +++ b/main/reference/control_lineplot_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_logistic.html b/main/reference/control_logistic.html index 5064ed810f..6d2553575e 100644 --- a/main/reference/control_logistic.html +++ b/main/reference/control_logistic.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_riskdiff.html b/main/reference/control_riskdiff.html index 5b9034b9d9..9b30c90cdd 100644 --- a/main/reference/control_riskdiff.html +++ b/main/reference/control_riskdiff.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_step.html b/main/reference/control_step.html index 4f5edc7ec3..5a490cfc4e 100644 --- a/main/reference/control_step.html +++ b/main/reference/control_step.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_time.html b/main/reference/control_surv_time.html index dd3a50ff23..fd3247973a 100644 --- a/main/reference/control_surv_time.html +++ b/main/reference/control_surv_time.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_timepoint.html b/main/reference/control_surv_timepoint.html index 6149465fa1..34e02b09e1 100644 --- a/main/reference/control_surv_timepoint.html +++ b/main/reference/control_surv_timepoint.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/count_cumulative.html b/main/reference/count_cumulative.html index 90d68f8cf5..67dfa57606 100644 --- a/main/reference/count_cumulative.html +++ b/main/reference/count_cumulative.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -224,17 +193,17 @@ ArgumentsValue count_cumulative() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_cumulative() to the table layout. s_count_cumulative() returns a named list of count_fractions: a list with each thresholds value as a component, each component containing a vector for the count and fraction. -a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). +a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). Functions count_cumulative(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_cumulative(): Statistics function that produces a named list given a numeric vector of thresholds. a_count_cumulative(): Formatted analysis function which is used as afun in count_cumulative(). diff --git a/main/reference/count_missed_doses.html b/main/reference/count_missed_doses.html index e5dc01442f..833e3b457c 100644 --- a/main/reference/count_missed_doses.html +++ b/main/reference/count_missed_doses.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -195,17 +164,17 @@ ArgumentsValue count_missed_doses() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_missed_doses() to the table layout. s_count_nonmissing() returns the statistic n which is the count of non-missing values in x. s_count_missed_doses() returns the statistics n and count_fraction with one element for each threshold. -a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). +a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). Functions count_missed_doses(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_nonmissing(): Statistics function to count non-missing values. s_count_missed_doses(): Statistics function to count patients with missed doses. a_count_missed_doses(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences.html b/main/reference/count_occurrences.html index f336adc2fe..c2a2930e38 100644 --- a/main/reference/count_occurrences.html +++ b/main/reference/count_occurrences.html @@ -23,7 +23,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -41,37 +41,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -264,7 +233,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -272,24 +241,24 @@ ArgumentsValue count_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences() to the table layout. summarize_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences() to the table layout. s_count_occurrences() returns a list with:count: list of counts with one element per occurrence. count_fraction: list of counts and fractions with one element per occurrence. fraction: list of numerators and denominators with one element per occurrence. -a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). Functions count_occurrences(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). summarize_occurrences(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_occurrences(): Statistics function which counts number of patients that report an occurrence. a_count_occurrences(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences_by_grade.html b/main/reference/count_occurrences_by_grade.html index 7c837a348b..7934a93f2d 100644 --- a/main/reference/count_occurrences_by_grade.html +++ b/main/reference/count_occurrences_by_grade.html @@ -27,7 +27,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -45,37 +45,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -266,7 +235,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -274,22 +243,22 @@ ArgumentsValue count_occurrences_by_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences_by_grade() to the table layout. summarize_occurrences_by_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences_by_grade() to the table layout. s_count_occurrences_by_grade() returns a list of counts and fractions with one element per grade level or grade level grouping. -a_count_occurrences_by_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences_by_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_occurrences_by_grade(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). summarize_occurrences_by_grade(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_occurrences_by_grade(): Statistics function which counts the number of patients by highest grade. a_count_occurrences_by_grade(): Formatted analysis function which is used as afun diff --git a/main/reference/count_patients_events_in_cols.html b/main/reference/count_patients_events_in_cols.html index 260ca73eb5..73a0e9327b 100644 --- a/main/reference/count_patients_events_in_cols.html +++ b/main/reference/count_patients_events_in_cols.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -175,7 +144,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -188,7 +157,7 @@ ArgumentsValue summarize_patients_events_in_cols() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_patients_and_multiple_events() to the table layout. s_count_patients_and_multiple_events() returns a list with the statistics:unique: number of unique patients in df. all: number of rows in df. @@ -200,7 +169,7 @@ ValueFunctions summarize_patients_events_in_cols(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +arguments and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_patients_and_multiple_events(): Statistics function which counts numbers of patients and multiple events defined by filters. Used as analysis function afun in summarize_patients_events_in_cols(). diff --git a/main/reference/count_patients_with_event.html b/main/reference/count_patients_with_event.html index bd21bddef8..966c83eb83 100644 --- a/main/reference/count_patients_with_event.html +++ b/main/reference/count_patients_with_event.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -227,16 +196,16 @@ ArgumentsValue count_patients_with_event() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_patients_with_event() to the table layout. s_count_patients_with_event() returns the count and fraction of unique identifiers with the defined event. -a_count_patients_with_event() returns the corresponding list with formatted rtables::CellValue(). +a_count_patients_with_event() returns the corresponding list with formatted rtables::CellValue(). Functions count_patients_with_event(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_patients_with_event(): Statistics function which counts the number of patients for which the defined event has occurred. a_count_patients_with_event(): Formatted analysis function which is used as afun diff --git a/main/reference/count_patients_with_flags.html b/main/reference/count_patients_with_flags.html index c85e01f4e6..2c801a952a 100644 --- a/main/reference/count_patients_with_flags.html +++ b/main/reference/count_patients_with_flags.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -237,17 +206,17 @@ ArgumentsValue count_patients_with_flags() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_patients_with_flags() to the table layout. s_count_patients_with_flags() returns the count and the fraction of unique identifiers with each particular flag as a list of statistics n, count, count_fraction, and n_blq, with one element per flag. -a_count_patients_with_flags() returns the corresponding list with formatted rtables::CellValue(). +a_count_patients_with_flags() returns the corresponding list with formatted rtables::CellValue(). Functions count_patients_with_flags(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_patients_with_flags(): Statistics function which counts the number of patients for which a particular flag variable is TRUE. a_count_patients_with_flags(): Formatted analysis function which is used as afun diff --git a/main/reference/count_values.html b/main/reference/count_values.html index 007176c16d..1bb3924d97 100644 --- a/main/reference/count_values.html +++ b/main/reference/count_values.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -222,16 +191,16 @@ ArgumentsValue count_values() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_values() to the table layout. s_count_values() returns output of s_summary() for specified values of a non-numeric variable. -a_count_values() returns the corresponding list with formatted rtables::CellValue(). +a_count_values() returns the corresponding list with formatted rtables::CellValue(). Functions count_values(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_values(): S3 generic function to count values. s_count_values(character): Method for character class. s_count_values(factor): Method for factor class. This makes an automatic diff --git a/main/reference/cox_regression.html b/main/reference/cox_regression.html index bf7d0cc132..197cc1a5b6 100644 --- a/main/reference/cox_regression.html +++ b/main/reference/cox_regression.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -213,7 +182,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -239,10 +208,10 @@ ArgumentsValue summarize_coxreg() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add a Cox regression table +or to rtables::build_table(). Adding this function to an rtable layout will add a Cox regression table containing the chosen statistics to the table layout. s_coxreg() returns the selected statistic for from the Cox regression model for the selected variable(s). -a_coxreg() returns formatted rtables::CellValue(). +a_coxreg() returns formatted rtables::CellValue(). Details @@ -258,11 +227,11 @@ Functionsrtables::analyze_colvars() and rtables::summarize_row_groups(). +is a wrapper for rtables::analyze_colvars() and rtables::summarize_row_groups(). s_coxreg(): Statistics function that transforms results tabulated from fit_coxreg_univar() or fit_coxreg_multivar() into a list. -a_coxreg(): Analysis function which is used as afun in rtables::analyze() -and cfun in rtables::summarize_row_groups() within summarize_coxreg(). +a_coxreg(): Analysis function which is used as afun in rtables::analyze() +and cfun in rtables::summarize_row_groups() within summarize_coxreg(). See also diff --git a/main/reference/cox_regression_inter.html b/main/reference/cox_regression_inter.html index 8b9e8d702d..c846ef70ed 100644 --- a/main/reference/cox_regression_inter.html +++ b/main/reference/cox_regression_inter.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -211,7 +180,7 @@ Note Automatic conversion of character to factor does not guarantee results can be generated correctly. It is therefore better to always pre-process the dataset such that factors are manually created from character -variables before passing the dataset to rtables::build_table(). +variables before passing the dataset to rtables::build_table(). diff --git a/main/reference/cut_quantile_bins.html b/main/reference/cut_quantile_bins.html index 4b2f9b95ee..ea28a709be 100644 --- a/main/reference/cut_quantile_bins.html +++ b/main/reference/cut_quantile_bins.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_count_abnormal_by_baseline.html b/main/reference/d_count_abnormal_by_baseline.html index b4e3b7e8f7..11cbc092dc 100644 --- a/main/reference/d_count_abnormal_by_baseline.html +++ b/main/reference/d_count_abnormal_by_baseline.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_count_cumulative.html b/main/reference/d_count_cumulative.html index 050e270808..63a8d1b7a6 100644 --- a/main/reference/d_count_cumulative.html +++ b/main/reference/d_count_cumulative.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_count_missed_doses.html b/main/reference/d_count_missed_doses.html index 24d427ec8e..0e2a6b3874 100644 --- a/main/reference/d_count_missed_doses.html +++ b/main/reference/d_count_missed_doses.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_onco_rsp_label.html b/main/reference/d_onco_rsp_label.html index 06d01f9ee1..cfc8d67437 100644 --- a/main/reference/d_onco_rsp_label.html +++ b/main/reference/d_onco_rsp_label.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_pkparam.html b/main/reference/d_pkparam.html index 3cd2230385..0c54023d7d 100644 --- a/main/reference/d_pkparam.html +++ b/main/reference/d_pkparam.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_proportion.html b/main/reference/d_proportion.html index e76f3615d5..4f03cf7c34 100644 --- a/main/reference/d_proportion.html +++ b/main/reference/d_proportion.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_proportion_diff.html b/main/reference/d_proportion_diff.html index 16d19aa38f..b73b30e974 100644 --- a/main/reference/d_proportion_diff.html +++ b/main/reference/d_proportion_diff.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_rsp_subgroups_colvars.html b/main/reference/d_rsp_subgroups_colvars.html index f0b5623b59..7ff8b4d1f0 100644 --- a/main/reference/d_rsp_subgroups_colvars.html +++ b/main/reference/d_rsp_subgroups_colvars.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_survival_subgroups_colvars.html b/main/reference/d_survival_subgroups_colvars.html index 984caa96f6..7d3b735d17 100644 --- a/main/reference/d_survival_subgroups_colvars.html +++ b/main/reference/d_survival_subgroups_colvars.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_test_proportion_diff.html b/main/reference/d_test_proportion_diff.html index f16cce8e7a..b93eb0a375 100644 --- a/main/reference/d_test_proportion_diff.html +++ b/main/reference/d_test_proportion_diff.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/day2month.html b/main/reference/day2month.html index 0b6beb03ef..c42d80d049 100644 --- a/main/reference/day2month.html +++ b/main/reference/day2month.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/decorate_grob.html b/main/reference/decorate_grob.html index 31753cda9b..507b7d2236 100644 --- a/main/reference/decorate_grob.html +++ b/main/reference/decorate_grob.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/decorate_grob_factory.html b/main/reference/decorate_grob_factory.html index bf5e23f4b3..8269d413f2 100644 --- a/main/reference/decorate_grob_factory.html +++ b/main/reference/decorate_grob_factory.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/decorate_grob_set.html b/main/reference/decorate_grob_set.html index 44604bd013..5f44128122 100644 --- a/main/reference/decorate_grob_set.html +++ b/main/reference/decorate_grob_set.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/default_na_str.html b/main/reference/default_na_str.html index 818e079b24..c1a89e8bc3 100644 --- a/main/reference/default_na_str.html +++ b/main/reference/default_na_str.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/default_stats_formats_labels.html b/main/reference/default_stats_formats_labels.html index 2f8fc139cc..e326861a91 100644 --- a/main/reference/default_stats_formats_labels.html +++ b/main/reference/default_stats_formats_labels.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -224,7 +193,7 @@ Note These defaults are experimental because we use the names of functions to retrieve the default statistics. This should be generalized in groups of methods according to more reasonable groupings. Formats in tern and rtables can be functions that take in the table cell value and -return a string. This is well documented in vignette("custom_appearance", package = "rtables"). +return a string. This is well documented in vignette("custom_appearance", package = "rtables"). See also diff --git a/main/reference/desctools_binom.html b/main/reference/desctools_binom.html index e341a5e14f..cfdbd78f3c 100644 --- a/main/reference/desctools_binom.html +++ b/main/reference/desctools_binom.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/df2gg.html b/main/reference/df2gg.html index eb5a049173..5d8662dccd 100644 --- a/main/reference/df2gg.html +++ b/main/reference/df2gg.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/df_explicit_na.html b/main/reference/df_explicit_na.html index 0c9e2fe1e6..c5a4d238de 100644 --- a/main/reference/df_explicit_na.html +++ b/main/reference/df_explicit_na.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/dot-is_equal_float.html b/main/reference/dot-is_equal_float.html index cb1a428c72..4dc8382938 100644 --- a/main/reference/dot-is_equal_float.html +++ b/main/reference/dot-is_equal_float.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/draw_grob.html b/main/reference/draw_grob.html index 5a72e5fc22..11c258a862 100644 --- a/main/reference/draw_grob.html +++ b/main/reference/draw_grob.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/empty_vector_if_na.html b/main/reference/empty_vector_if_na.html index 3359fcba6f..6e5822e90a 100644 --- a/main/reference/empty_vector_if_na.html +++ b/main/reference/empty_vector_if_na.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/estimate_coef.html b/main/reference/estimate_coef.html index bad71cac63..1610dd2fdf 100644 --- a/main/reference/estimate_coef.html +++ b/main/reference/estimate_coef.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/estimate_multinomial_rsp.html b/main/reference/estimate_multinomial_rsp.html index b6061227d5..1d311a3d51 100644 --- a/main/reference/estimate_multinomial_rsp.html +++ b/main/reference/estimate_multinomial_rsp.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -178,17 +147,17 @@ ArgumentsValue estimate_multinomial_response() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_length_proportion() to the table layout. s_length_proportion() returns statistics from s_proportion(). -a_length_proportion() returns the corresponding list with formatted rtables::CellValue(). +a_length_proportion() returns the corresponding list with formatted rtables::CellValue(). Functions estimate_multinomial_response(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze() and -rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::analyze() and +rtables::summarize_row_groups(). s_length_proportion(): Statistics function which feeds the length of x as number of successes, and .N_col as total number of successes and failures into s_proportion(). a_length_proportion(): Formatted analysis function which is used as afun diff --git a/main/reference/estimate_proportion.html b/main/reference/estimate_proportion.html index 7dc19ab2b5..e4601dc9a4 100644 --- a/main/reference/estimate_proportion.html +++ b/main/reference/estimate_proportion.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -244,17 +213,17 @@ ArgumentsValue estimate_proportion() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_proportion() to the table layout. s_proportion() returns statistics n_prop (n and proportion) and prop_ci (proportion CI) for a given variable. -a_proportion() returns the corresponding list with formatted rtables::CellValue(). +a_proportion() returns the corresponding list with formatted rtables::CellValue(). Functions estimate_proportion(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_proportion(): Statistics function estimating a proportion along with its confidence interval. a_proportion(): Formatted analysis function which is used as afun diff --git a/main/reference/ex_data.html b/main/reference/ex_data.html index 5a710a78c0..4618306800 100644 --- a/main/reference/ex_data.html +++ b/main/reference/ex_data.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/explicit_na.html b/main/reference/explicit_na.html index bf9bdca95b..693f816c5f 100644 --- a/main/reference/explicit_na.html +++ b/main/reference/explicit_na.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/extract_by_name.html b/main/reference/extract_by_name.html index 9482955892..69fb2bdb3d 100644 --- a/main/reference/extract_by_name.html +++ b/main/reference/extract_by_name.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/extract_rsp_biomarkers.html b/main/reference/extract_rsp_biomarkers.html index 4ca3440817..eb32a6b14f 100644 --- a/main/reference/extract_rsp_biomarkers.html +++ b/main/reference/extract_rsp_biomarkers.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/extract_rsp_subgroups.html b/main/reference/extract_rsp_subgroups.html index 43bfb7a00b..f5b4405e77 100644 --- a/main/reference/extract_rsp_subgroups.html +++ b/main/reference/extract_rsp_subgroups.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/extract_survival_biomarkers.html b/main/reference/extract_survival_biomarkers.html index 27c1c3d3c9..5bcbfc96b0 100644 --- a/main/reference/extract_survival_biomarkers.html +++ b/main/reference/extract_survival_biomarkers.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/extract_survival_subgroups.html b/main/reference/extract_survival_subgroups.html index e4b70a44d5..779a4c19ea 100644 --- a/main/reference/extract_survival_subgroups.html +++ b/main/reference/extract_survival_subgroups.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/extreme_format.html b/main/reference/extreme_format.html index 473abf11da..7927848ea4 100644 --- a/main/reference/extreme_format.html +++ b/main/reference/extreme_format.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/f_conf_level.html b/main/reference/f_conf_level.html index 81b4bcf761..93952bd7a8 100644 --- a/main/reference/f_conf_level.html +++ b/main/reference/f_conf_level.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/f_pval.html b/main/reference/f_pval.html index c42548209f..4c285dfed6 100644 --- a/main/reference/f_pval.html +++ b/main/reference/f_pval.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fct_collapse_only.html b/main/reference/fct_collapse_only.html index 9f6afe5eee..ec7c1215ce 100644 --- a/main/reference/fct_collapse_only.html +++ b/main/reference/fct_collapse_only.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fct_discard.html b/main/reference/fct_discard.html index 3edfa711bd..84c061e2c9 100644 --- a/main/reference/fct_discard.html +++ b/main/reference/fct_discard.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fct_explicit_na_if.html b/main/reference/fct_explicit_na_if.html index be8d18d163..4e5577b8bc 100644 --- a/main/reference/fct_explicit_na_if.html +++ b/main/reference/fct_explicit_na_if.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fit_coxreg.html b/main/reference/fit_coxreg.html index 390ea26ead..ecba6b212c 100644 --- a/main/reference/fit_coxreg.html +++ b/main/reference/fit_coxreg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fit_logistic.html b/main/reference/fit_logistic.html index a810c84e5e..44a4cdaeb1 100644 --- a/main/reference/fit_logistic.html +++ b/main/reference/fit_logistic.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fit_rsp_step.html b/main/reference/fit_rsp_step.html index 9eb9d85ebb..e3548b2f45 100644 --- a/main/reference/fit_rsp_step.html +++ b/main/reference/fit_rsp_step.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fit_survival_step.html b/main/reference/fit_survival_step.html index 1fec7eb53e..b21e0d01d3 100644 --- a/main/reference/fit_survival_step.html +++ b/main/reference/fit_survival_step.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/forest_viewport.html b/main/reference/forest_viewport.html index 4bb6225445..563fbcb32d 100644 --- a/main/reference/forest_viewport.html +++ b/main/reference/forest_viewport.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_auto.html b/main/reference/format_auto.html index 2e801c8122..e0f0cb748a 100644 --- a/main/reference/format_auto.html +++ b/main/reference/format_auto.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -107,7 +76,7 @@ Argumentsdt_var (numeric) variable data the statistics were calculated from. Used only to find significant digits. In analyze_vars this comes from .df_row (see -rtables::additional_fun_params), and it is the row data after the above row splits. No +rtables::additional_fun_params), and it is the row data after the above row splits. No column split is considered. diff --git a/main/reference/format_count_fraction.html b/main/reference/format_count_fraction.html index 709b9ae61d..15bfd86238 100644 --- a/main/reference/format_count_fraction.html +++ b/main/reference/format_count_fraction.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_count_fraction_fixed_dp.html b/main/reference/format_count_fraction_fixed_dp.html index 850b14fd3d..7113920aab 100644 --- a/main/reference/format_count_fraction_fixed_dp.html +++ b/main/reference/format_count_fraction_fixed_dp.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_count_fraction_lt10.html b/main/reference/format_count_fraction_lt10.html index 34ec15258d..9607819695 100644 --- a/main/reference/format_count_fraction_lt10.html +++ b/main/reference/format_count_fraction_lt10.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_extreme_values.html b/main/reference/format_extreme_values.html index 3d754ce0c0..0882ae4491 100644 --- a/main/reference/format_extreme_values.html +++ b/main/reference/format_extreme_values.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_extreme_values_ci.html b/main/reference/format_extreme_values_ci.html index d778a43775..b154485443 100644 --- a/main/reference/format_extreme_values_ci.html +++ b/main/reference/format_extreme_values_ci.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_fraction.html b/main/reference/format_fraction.html index 298bc4f3f3..8cdf9ffa03 100644 --- a/main/reference/format_fraction.html +++ b/main/reference/format_fraction.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_fraction_fixed_dp.html b/main/reference/format_fraction_fixed_dp.html index f048a524da..40ca42fa28 100644 --- a/main/reference/format_fraction_fixed_dp.html +++ b/main/reference/format_fraction_fixed_dp.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_fraction_threshold.html b/main/reference/format_fraction_threshold.html index c6ba020959..8a804fd476 100644 --- a/main/reference/format_fraction_threshold.html +++ b/main/reference/format_fraction_threshold.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_sigfig.html b/main/reference/format_sigfig.html index 4418f55f09..efb508d057 100644 --- a/main/reference/format_sigfig.html +++ b/main/reference/format_sigfig.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_xx.html b/main/reference/format_xx.html index 3f75b62d59..0bba9c2b2d 100644 --- a/main/reference/format_xx.html +++ b/main/reference/format_xx.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/formatting_functions.html b/main/reference/formatting_functions.html index 52b31d2e9a..8156444277 100644 --- a/main/reference/formatting_functions.html +++ b/main/reference/formatting_functions.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/g_forest.html b/main/reference/g_forest.html index 1c38bdf841..247a2e4e54 100644 --- a/main/reference/g_forest.html +++ b/main/reference/g_forest.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -222,7 +191,7 @@ Value Details - Given a rtables::rtable() object with at least one column with a single value and one column with 2 + Given a rtables::rtable() object with at least one column with a single value and one column with 2 values, converts table to a ggplot2::ggplot() object and generates an accompanying forest plot. The table and forest plot are printed side-by-side. diff --git a/main/reference/g_ipp.html b/main/reference/g_ipp.html index 84f03badaf..af57ea2f72 100644 --- a/main/reference/g_ipp.html +++ b/main/reference/g_ipp.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/g_km.html b/main/reference/g_km.html index f5c4884495..c71eaa8dd7 100644 --- a/main/reference/g_km.html +++ b/main/reference/g_km.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/g_lineplot.html b/main/reference/g_lineplot.html index 9baccf8dd7..c2e4d50553 100644 --- a/main/reference/g_lineplot.html +++ b/main/reference/g_lineplot.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/g_step.html b/main/reference/g_step.html index 6510d9957b..d90a8601d1 100644 --- a/main/reference/g_step.html +++ b/main/reference/g_step.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/g_waterfall.html b/main/reference/g_waterfall.html index 6f71726b0a..fa410cf0b0 100644 --- a/main/reference/g_waterfall.html +++ b/main/reference/g_waterfall.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/get_covariates.html b/main/reference/get_covariates.html index 7b80dc8301..4f34d05415 100644 --- a/main/reference/get_covariates.html +++ b/main/reference/get_covariates.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/get_smooths.html b/main/reference/get_smooths.html index cb848ed0a7..075dffbc06 100644 --- a/main/reference/get_smooths.html +++ b/main/reference/get_smooths.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/groups_list_to_df.html b/main/reference/groups_list_to_df.html index f305722480..71ef9ac168 100644 --- a/main/reference/groups_list_to_df.html +++ b/main/reference/groups_list_to_df.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -77,7 +46,7 @@ - This converts a list of group levels into a data frame format which is expected by rtables::add_combo_levels(). + This converts a list of group levels into a data frame format which is expected by rtables::add_combo_levels(). diff --git a/main/reference/h_adlb_abnormal_by_worst_grade.html b/main/reference/h_adlb_abnormal_by_worst_grade.html index adc301e006..f44c4cef7e 100644 --- a/main/reference/h_adlb_abnormal_by_worst_grade.html +++ b/main/reference/h_adlb_abnormal_by_worst_grade.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_adlb_worsen.html b/main/reference/h_adlb_worsen.html index d9ee154732..210d42713c 100644 --- a/main/reference/h_adlb_worsen.html +++ b/main/reference/h_adlb_worsen.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_adsl_adlb_merge_using_worst_flag.html b/main/reference/h_adsl_adlb_merge_using_worst_flag.html index 08de958efd..dddaa26604 100644 --- a/main/reference/h_adsl_adlb_merge_using_worst_flag.html +++ b/main/reference/h_adsl_adlb_merge_using_worst_flag.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_ancova.html b/main/reference/h_ancova.html index a06392ae4c..c705402084 100644 --- a/main/reference/h_ancova.html +++ b/main/reference/h_ancova.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_append_grade_groups.html b/main/reference/h_append_grade_groups.html index f0a2dd9026..c25c158ba7 100644 --- a/main/reference/h_append_grade_groups.html +++ b/main/reference/h_append_grade_groups.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_col_indices.html b/main/reference/h_col_indices.html index bed4c1ba30..e0c8a38e62 100644 --- a/main/reference/h_col_indices.html +++ b/main/reference/h_col_indices.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_count_cumulative.html b/main/reference/h_count_cumulative.html index 0d13dfaea6..f52f270cee 100644 --- a/main/reference/h_count_cumulative.html +++ b/main/reference/h_count_cumulative.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_cox_regression.html b/main/reference/h_cox_regression.html index 978da15453..83e5bbe5e4 100644 --- a/main/reference/h_cox_regression.html +++ b/main/reference/h_cox_regression.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_data_plot.html b/main/reference/h_data_plot.html index 7210f8c753..2a7b9e4d10 100644 --- a/main/reference/h_data_plot.html +++ b/main/reference/h_data_plot.html @@ -27,7 +27,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -45,37 +45,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_decompose_gg.html b/main/reference/h_decompose_gg.html index f93e6ab2a1..7f9ca01207 100644 --- a/main/reference/h_decompose_gg.html +++ b/main/reference/h_decompose_gg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_format_row.html b/main/reference/h_format_row.html index f0fc50e02b..d79cb7fa36 100644 --- a/main/reference/h_format_row.html +++ b/main/reference/h_format_row.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -96,7 +65,7 @@ Argumentsformat (named character or NULL) format patterns for x. Names of the format must -match the names of x. This parameter is passed directly to the rtables::format_rcell +match the names of x. This parameter is passed directly to the rtables::format_rcell function through the format parameter. diff --git a/main/reference/h_g_ipp.html b/main/reference/h_g_ipp.html index 4d6e330110..a8cad01395 100644 --- a/main/reference/h_g_ipp.html +++ b/main/reference/h_g_ipp.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_ggkm.html b/main/reference/h_ggkm.html index 93e36e235f..dd5338c995 100644 --- a/main/reference/h_ggkm.html +++ b/main/reference/h_ggkm.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_glm_count.html b/main/reference/h_glm_count.html index 75fe32aad7..2adc1b0e60 100644 --- a/main/reference/h_glm_count.html +++ b/main/reference/h_glm_count.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_grob_coxph.html b/main/reference/h_grob_coxph.html index 186367a584..a9def2a6db 100644 --- a/main/reference/h_grob_coxph.html +++ b/main/reference/h_grob_coxph.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_grob_median_surv.html b/main/reference/h_grob_median_surv.html index ccfebc8dd7..0b2e384592 100644 --- a/main/reference/h_grob_median_surv.html +++ b/main/reference/h_grob_median_surv.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_grob_tbl_at_risk.html b/main/reference/h_grob_tbl_at_risk.html index a9c48946fb..6880ca9436 100644 --- a/main/reference/h_grob_tbl_at_risk.html +++ b/main/reference/h_grob_tbl_at_risk.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_grob_y_annot.html b/main/reference/h_grob_y_annot.html index 6fa5817624..9fce0c16a6 100644 --- a/main/reference/h_grob_y_annot.html +++ b/main/reference/h_grob_y_annot.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_incidence_rate.html b/main/reference/h_incidence_rate.html index 4c244c64c8..733703b7c9 100644 --- a/main/reference/h_incidence_rate.html +++ b/main/reference/h_incidence_rate.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_km_layout.html b/main/reference/h_km_layout.html index 265c45807b..11b7fe2f18 100644 --- a/main/reference/h_km_layout.html +++ b/main/reference/h_km_layout.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_logistic_regression.html b/main/reference/h_logistic_regression.html index c9ee065c55..140b43d79f 100644 --- a/main/reference/h_logistic_regression.html +++ b/main/reference/h_logistic_regression.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_map_for_count_abnormal.html b/main/reference/h_map_for_count_abnormal.html index e491bb2b3c..8be6401f17 100644 --- a/main/reference/h_map_for_count_abnormal.html +++ b/main/reference/h_map_for_count_abnormal.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_odds_ratio.html b/main/reference/h_odds_ratio.html index a783bbe45d..fa33e903a4 100644 --- a/main/reference/h_odds_ratio.html +++ b/main/reference/h_odds_ratio.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -87,7 +56,7 @@ Usage or_glm(data, conf_level) -or_clogit(data, conf_level) +or_clogit(data, conf_level, method = "exact") @@ -102,6 +71,11 @@ Argumentsconf_level (proportion) confidence level of the interval. + +method +(string) whether to use the correct ("exact") calculation in the conditional likelihood or one +of the approximations. See survival::clogit() for details. + Value diff --git a/main/reference/h_pkparam_sort.html b/main/reference/h_pkparam_sort.html index 04291aeb34..827856aa65 100644 --- a/main/reference/h_pkparam_sort.html +++ b/main/reference/h_pkparam_sort.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_ppmeans.html b/main/reference/h_ppmeans.html index 68afa4f062..8f7e3ee11b 100644 --- a/main/reference/h_ppmeans.html +++ b/main/reference/h_ppmeans.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_prop_diff.html b/main/reference/h_prop_diff.html index 8430ab2b75..4c17f19b90 100644 --- a/main/reference/h_prop_diff.html +++ b/main/reference/h_prop_diff.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_prop_diff_test.html b/main/reference/h_prop_diff_test.html index ce87457dc0..389ee06fc1 100644 --- a/main/reference/h_prop_diff_test.html +++ b/main/reference/h_prop_diff_test.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_proportions.html b/main/reference/h_proportions.html index 9ec5b7c710..2d847e9478 100644 --- a/main/reference/h_proportions.html +++ b/main/reference/h_proportions.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_response_biomarkers_subgroups.html b/main/reference/h_response_biomarkers_subgroups.html index 11eaa85bbd..758e0a5c09 100644 --- a/main/reference/h_response_biomarkers_subgroups.html +++ b/main/reference/h_response_biomarkers_subgroups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_response_subgroups.html b/main/reference/h_response_subgroups.html index dc42b79cd1..6916eaeb05 100644 --- a/main/reference/h_response_subgroups.html +++ b/main/reference/h_response_subgroups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_split_by_subgroups.html b/main/reference/h_split_by_subgroups.html index 366ae0e9de..8850959957 100644 --- a/main/reference/h_split_by_subgroups.html +++ b/main/reference/h_split_by_subgroups.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_split_param.html b/main/reference/h_split_param.html index 14926ecda5..46f367eab7 100644 --- a/main/reference/h_split_param.html +++ b/main/reference/h_split_param.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_stack_by_baskets.html b/main/reference/h_stack_by_baskets.html index 1c8074c1c0..26444725ea 100644 --- a/main/reference/h_stack_by_baskets.html +++ b/main/reference/h_stack_by_baskets.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_step.html b/main/reference/h_step.html index cd58988116..6988cb2dee 100644 --- a/main/reference/h_step.html +++ b/main/reference/h_step.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_survival_biomarkers_subgroups.html b/main/reference/h_survival_biomarkers_subgroups.html index fcb46cfa79..0969fd2ff0 100644 --- a/main/reference/h_survival_biomarkers_subgroups.html +++ b/main/reference/h_survival_biomarkers_subgroups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_survival_duration_subgroups.html b/main/reference/h_survival_duration_subgroups.html index eab6d97447..8fe75abde8 100644 --- a/main/reference/h_survival_duration_subgroups.html +++ b/main/reference/h_survival_duration_subgroups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_tab_one_biomarker.html b/main/reference/h_tab_one_biomarker.html index 98eade144b..d56f5bb12e 100644 --- a/main/reference/h_tab_one_biomarker.html +++ b/main/reference/h_tab_one_biomarker.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -83,7 +52,7 @@ Please see h_tab_surv_one_biomarker() and h_tab_rsp_one_biomarker(), which use this function for examples. -This function is a wrapper for rtables::summarize_row_groups(). +This function is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/h_tbl_coxph_pairwise.html b/main/reference/h_tbl_coxph_pairwise.html index 4ac10748a4..18d015679e 100644 --- a/main/reference/h_tbl_coxph_pairwise.html +++ b/main/reference/h_tbl_coxph_pairwise.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_tbl_median_surv.html b/main/reference/h_tbl_median_surv.html index 9254238af5..fb85f13c3e 100644 --- a/main/reference/h_tbl_median_surv.html +++ b/main/reference/h_tbl_median_surv.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_worsen_counter.html b/main/reference/h_worsen_counter.html index 22b0256cd0..4999a3287a 100644 --- a/main/reference/h_worsen_counter.html +++ b/main/reference/h_worsen_counter.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_xticks.html b/main/reference/h_xticks.html index 883c97ac34..939724df4b 100644 --- a/main/reference/h_xticks.html +++ b/main/reference/h_xticks.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/imputation_rule.html b/main/reference/imputation_rule.html index e84dd39750..cea4d3d73a 100644 --- a/main/reference/imputation_rule.html +++ b/main/reference/imputation_rule.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/incidence_rate.html b/main/reference/incidence_rate.html index 6e10813711..ca88da0a04 100644 --- a/main/reference/incidence_rate.html +++ b/main/reference/incidence_rate.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -240,7 +209,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -252,7 +221,7 @@ ArgumentsValue estimate_incidence_rate() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_incidence_rate() to the table layout. s_incidence_rate() returns the following statistics:person_years: Total person-years at risk. n_events: Total number of events observed. @@ -261,13 +230,13 @@ Valuen_unique: Total number of patients with at least one event observed. n_rate: Total number of events observed & estimated incidence rate. -a_incidence_rate() returns the corresponding list with formatted rtables::CellValue(). +a_incidence_rate() returns the corresponding list with formatted rtables::CellValue(). Functions estimate_incidence_rate(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_incidence_rate(): Statistics function which estimates the incidence rate and the associated confidence interval. a_incidence_rate(): Formatted analysis function which is used as afun in estimate_incidence_rate(). diff --git a/main/reference/index.html b/main/reference/index.html index a5e4ca2bc6..05fdc3a7b4 100644 --- a/main/reference/index.html +++ b/main/reference/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -197,7 +166,7 @@ Analysis FunctionsAnalyze functions with their corresponding statistics functions and formatted analysis functions.Analyze functions are used in combination with rtables layout functions in the pipeline which creates the table. Statistics functions (denoted by s_ prefix) compute the numbers that are tabulated later. In order to separate computation from formatting, they do not take care of rcell type formatting themselves. -Formatted analysis functions (denoted by a_ prefix) have the same arguments as the corresponding statistics functions, and can be further customized by calling rtables::make_afun() on them. They are used as afun in rtables::analyze(). +Formatted analysis functions (denoted by a_ prefix) have the same arguments as the corresponding statistics functions, and can be further customized by calling rtables::make_afun() on them. They are used as afun in rtables::analyze(). diff --git a/main/reference/labels_or_names.html b/main/reference/labels_or_names.html index 4bc2f743c1..23f2c08260 100644 --- a/main/reference/labels_or_names.html +++ b/main/reference/labels_or_names.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/labels_use_control.html b/main/reference/labels_use_control.html index ca87f5d24d..1a0038551b 100644 --- a/main/reference/labels_use_control.html +++ b/main/reference/labels_use_control.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/logistic_regression_cols.html b/main/reference/logistic_regression_cols.html index 045a3ab268..8ed3de8d96 100644 --- a/main/reference/logistic_regression_cols.html +++ b/main/reference/logistic_regression_cols.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -83,7 +52,7 @@ Layout-creating function which creates a multivariate column layout summarizing logistic -regression results. This function is a wrapper for rtables::split_cols_by_multivar(). +regression results. This function is a wrapper for rtables::split_cols_by_multivar(). diff --git a/main/reference/logistic_summary_by_flag.html b/main/reference/logistic_summary_by_flag.html index 9852d0c761..27881b95e2 100644 --- a/main/reference/logistic_summary_by_flag.html +++ b/main/reference/logistic_summary_by_flag.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -83,7 +52,7 @@ Constructor for content functions to be used in summarize_logistic() to summarize -logistic regression results. This function is a wrapper for rtables::summarize_row_groups(). +logistic regression results. This function is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/make_names.html b/main/reference/make_names.html index f284683e79..7b4ee3400d 100644 --- a/main/reference/make_names.html +++ b/main/reference/make_names.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/month2day.html b/main/reference/month2day.html index ebccda4c5c..f531351d53 100644 --- a/main/reference/month2day.html +++ b/main/reference/month2day.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/muffled_car_anova.html b/main/reference/muffled_car_anova.html index f2ff117e7d..0268ad03ee 100644 --- a/main/reference/muffled_car_anova.html +++ b/main/reference/muffled_car_anova.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/n_available.html b/main/reference/n_available.html index dd3f611ae3..df03cfce8e 100644 --- a/main/reference/n_available.html +++ b/main/reference/n_available.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/odds_ratio.html b/main/reference/odds_ratio.html index 5e7c6d55fe..26027c67df 100644 --- a/main/reference/odds_ratio.html +++ b/main/reference/odds_ratio.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -105,7 +74,7 @@ Usage groups_list = NULL, na_str = default_na_str(), nested = TRUE, - ..., + method = "exact", show_labels = "hidden", table_names = vars, var_labels = vars, @@ -123,7 +92,8 @@ Usage .df_row, variables = list(arm = NULL, strata = NULL), conf_level = 0.95, - groups_list = NULL + groups_list = NULL, + method = "exact" ) a_odds_ratio( @@ -134,7 +104,8 @@ Usage .df_row, variables = list(arm = NULL, strata = NULL), conf_level = 0.95, - groups_list = NULL + groups_list = NULL, + method = "exact" ) @@ -173,8 +144,9 @@ Arguments... -arguments passed to s_odds_ratio(). +method +(string) whether to use the correct ("exact") calculation in the conditional likelihood or one +of the approximations. See survival::clogit() for details. show_labels @@ -234,17 +206,17 @@ ArgumentsValue estimate_odds_ratio() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_odds_ratio() to the table layout. s_odds_ratio() returns a named list with the statistics or_ci (containing est, lcl, and ucl) and n_tot. -a_odds_ratio() returns the corresponding list with formatted rtables::CellValue(). +a_odds_ratio() returns the corresponding list with formatted rtables::CellValue(). Functions estimate_odds_ratio(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_odds_ratio(): Statistics function which estimates the odds ratio between a treatment and a control. A variables list with arm and strata variable names must be passed if a stratified analysis is required. diff --git a/main/reference/prop_diff.html b/main/reference/prop_diff.html index ddaf19fae8..8c0b0df9aa 100644 --- a/main/reference/prop_diff.html +++ b/main/reference/prop_diff.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -238,16 +207,16 @@ ArgumentsValue estimate_proportion_diff() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_proportion_diff() to the table layout. s_proportion_diff() returns a named list of elements diff and diff_ci. -a_proportion_diff() returns the corresponding list with formatted rtables::CellValue(). +a_proportion_diff() returns the corresponding list with formatted rtables::CellValue(). Functions estimate_proportion_diff(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_proportion_diff(): Statistics function estimating the difference in terms of responder proportion. a_proportion_diff(): Formatted analysis function which is used as afun in estimate_proportion_diff(). diff --git a/main/reference/prop_diff_test.html b/main/reference/prop_diff_test.html index fae3cf8dff..ff5a687bfb 100644 --- a/main/reference/prop_diff_test.html +++ b/main/reference/prop_diff_test.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -218,17 +187,17 @@ ArgumentsValue test_proportion_diff() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_test_proportion_diff() to the table layout. s_test_proportion_diff() returns a named list with a single item pval with an attribute label describing the method used. The p-value tests the null hypothesis that proportions in two groups are the same. -a_test_proportion_diff() returns the corresponding list with formatted rtables::CellValue(). +a_test_proportion_diff() returns the corresponding list with formatted rtables::CellValue(). Functions test_proportion_diff(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_test_proportion_diff(): Statistics function which tests the difference between two proportions. a_test_proportion_diff(): Formatted analysis function which is used as afun in test_proportion_diff(). diff --git a/main/reference/prune_occurrences.html b/main/reference/prune_occurrences.html index e50cb6ce21..d3d4e41d66 100644 --- a/main/reference/prune_occurrences.html +++ b/main/reference/prune_occurrences.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@
r adsl$SEX[adsl$SEX == "M"] <- NA adsl <- df_explicit_na(adsl, na_level = "Missing Values") -result <- basic_table(show_colcounts = TRUE) %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% +result <- basic_table(show_colcounts = TRUE) %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% analyze_vars( vars = vars, var_labels = var_labels ) %>% - build_table(adsl) + build_table(adsl) result #> A: Drug X B: Placebo C: Combination All Patients #> (N=69) (N=73) (N=58) (N=200) @@ -284,14 +253,14 @@ Missing Values in Numeric Variables "Sex" ) -result <- basic_table(show_colcounts = TRUE) %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% +result <- basic_table(show_colcounts = TRUE) %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% analyze_vars( vars = vars, var_labels = var_labels ) %>% - build_table(adsl) + build_table(adsl) result #> A: Drug X B: Placebo C: Combination All Patients #> (N=69) (N=73) (N=58) (N=200) diff --git a/main/articles/tables.html b/main/articles/tables.html index 595cc30055..660cdd01a3 100644 --- a/main/articles/tables.html +++ b/main/articles/tables.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -144,10 +113,10 @@ rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analyze functions are wrappers around -rtables::analyze function, they offer various methods +rtables::analyze function, they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analyze functions are @@ -174,26 +143,26 @@ Internals of tern Anal rcell type formatting themselves. formatted analysis functions a_*. These have the same arguments as the corresponding statistics functions, and can be further -customized by calling rtables::make_afun() on them. They -are used as afun in rtables::analyze(). +customized by calling rtables::make_afun() on them. They +are used as afun in rtables::analyze(). analyze functions rtables::analyze(..., afun = make_afun(tern::a_*)). Analyze functions are used in combination with the rtables layout functions, in the pipeline which creates the table. They are the last element of the chain. -We will use the native rtables::analyze function with +We will use the native rtables::analyze function with the tern formatted analysis functions as a afun parameter. -l <- basic_table() %>% - split_cols_by(var = "ARM") %>% - split_rows_by(var = "AVISIT") %>% - analyze(vars = "AVAL", afun = a_summary) +l <- basic_table() %>% + split_cols_by(var = "ARM") %>% + split_rows_by(var = "AVISIT") %>% + analyze(vars = "AVAL", afun = a_summary) -build_table(l, df = adrs) -The rtables::make_afun function is helpful when somebody +build_table(l, df = adrs) +The rtables::make_afun function is helpful when somebody wants to attach some format to the formatted analysis function. -afun <- make_afun( +afun <- make_afun( a_summary, .stats = NULL, .formats = c(median = "xx."), @@ -201,12 +170,12 @@ Internals of tern Anal .indent_mods = c(median = 1L) ) -l2 <- basic_table() %>% - split_cols_by(var = "ARM") %>% - split_rows_by(var = "AVISIT") %>% - analyze(vars = "AVAL", afun = afun) +l2 <- basic_table() %>% + split_cols_by(var = "ARM") %>% + split_rows_by(var = "AVISIT") %>% + analyze(vars = "AVAL", afun = afun) -build_table(l2, df = adrs) +build_table(l2, df = adrs) @@ -261,15 +230,15 @@ Demographic Tablevars <- c("AGE", "SEX") var_labels <- c("Age (yr)", "Sex") -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels ) %>% - build_table(adsl) + build_table(adsl) #> A: Drug X B: Placebo C: Combination All Patients #> (N=134) (N=134) (N=132) (N=400) #> —————————————————————————————————————————————————————————————————————————————— @@ -296,15 +265,15 @@ Demographic Table# Reorder the levels in the SEX variable. adsl$SEX <- factor(adsl$SEX, levels = c("M", "F", "U", "UNDIFFERENTIATED")) -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels ) %>% - build_table(adsl) + build_table(adsl) #> B: Placebo A: Drug X C: Combination All Patients #> (N=134) (N=134) (N=132) (N=400) #> —————————————————————————————————————————————————————————————————————————————— @@ -324,8 +293,8 @@ Demographic Tableanalyze(), analyze_colvars() and -summarize_row_groups() and provide options for easy +analyze(), analyze_colvars() and +summarize_row_groups() and provide options for easy formatting and analysis modifications. To customize the display for the demographics table, we can do so via the arguments in analyze_vars(). Most layout creating @@ -344,17 +313,17 @@ Demographic Table # Select statistics and modify default formats. -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels, .stats = c("n", "mean_sd", "count"), .formats = c(mean_sd = "xx.xx (xx.xx)") ) %>% - build_table(adsl) + build_table(adsl) #> B: Placebo A: Drug X C: Combination All Patients #> (N=134) (N=134) (N=132) (N=400) #> ———————————————————————————————————————————————————————————————————————————————— @@ -372,16 +341,16 @@ Demographic Table -lyt <- basic_table() %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% - add_colcounts() %>% +lyt <- basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels ) -build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "BRA")) +build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "BRA")) #> B: Placebo A: Drug X C: Combination All Patients #> (N=7) (N=13) (N=10) (N=30) #> —————————————————————————————————————————————————————————————————————————————— @@ -397,7 +366,7 @@ Demographic Table#> U 0 0 0 0 #> UNDIFFERENTIATED 0 0 0 0 -build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "CHN")) +build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "CHN")) #> B: Placebo A: Drug X C: Combination All Patients #> (N=81) (N=74) (N=64) (N=219) #> —————————————————————————————————————————————————————————————————————————————— @@ -426,10 +395,10 @@ Adverse Event Tablesummarize_num_patients(): -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -438,7 +407,7 @@ Adverse Event Table= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -450,7 +419,7 @@ Adverse Event Tablebuild_table(), +the alt_df_counts argument in build_table(), which provides an alternative data set for deriving the counts in the header. This is often required when we work with data sets that include multiple records per patient as df, such as @@ -509,16 +478,16 @@ Statistics Functionssummarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = "unique_count", .labels = c(unique_count = "Total number of patients with at least one AE") ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -530,13 +499,13 @@ Statistics Functionssplit_rows_by() before calling again +with split_rows_by() before calling again summarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -545,7 +514,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -560,7 +529,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -596,12 +565,12 @@ Statistics Functionscount_occurrences(). Let’s first try using this function in a simpler layout without row splits: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%) Putting everything together, the final AE table looks like this: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion() layout creating function: -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2) To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables. @@ -148,7 +117,7 @@ Argumentsdo_summarize_row_groups (flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels. @@ -205,14 +174,14 @@ Arguments Value - A layout object suitable for passing to further layouting functions, or to rtables::build_table(). + A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout. Note -This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() +This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() that may be subjected to changes as rtables extends its support to more complex analysis pipelines in the column space. We encourage users to read the examples carefully and file issues for different use cases. In this function, labelstr behaves atypically. If labelstr = NULL (the default), row labels are assigned @@ -221,7 +190,7 @@ Note See also - analyze_vars(), rtables::analyze_colvars(). + analyze_vars(), rtables::analyze_colvars(). diff --git a/main/reference/append_varlabels.html b/main/reference/append_varlabels.html index 847cad73ef..63b3cc9e90 100644 --- a/main/reference/append_varlabels.html +++ b/main/reference/append_varlabels.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/apply_auto_formatting.html b/main/reference/apply_auto_formatting.html index c2143e89b7..e8c2ef6415 100644 --- a/main/reference/apply_auto_formatting.html +++ b/main/reference/apply_auto_formatting.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/argument_convention.html b/main/reference/argument_convention.html index 38e63f9e88..5437d98e56 100644 --- a/main/reference/argument_convention.html +++ b/main/reference/argument_convention.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -99,7 +68,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .df_row @@ -193,7 +162,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. diff --git a/main/reference/arrange_grobs.html b/main/reference/arrange_grobs.html index 724cfd33fb..9f91e79111 100644 --- a/main/reference/arrange_grobs.html +++ b/main/reference/arrange_grobs.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as.rtable.html b/main/reference/as.rtable.html index 8716b9da86..45840e3655 100644 --- a/main/reference/as.rtable.html +++ b/main/reference/as.rtable.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as_factor_keep_attributes.html b/main/reference/as_factor_keep_attributes.html index 7a80536208..5f2a7f8fe4 100644 --- a/main/reference/as_factor_keep_attributes.html +++ b/main/reference/as_factor_keep_attributes.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/assertions.html b/main/reference/assertions.html index 6bf063b098..644af7abfd 100644 --- a/main/reference/assertions.html +++ b/main/reference/assertions.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bins_percent_labels.html b/main/reference/bins_percent_labels.html index 2f3a732445..f656bf4a18 100644 --- a/main/reference/bins_percent_labels.html +++ b/main/reference/bins_percent_labels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bland_altman.html b/main/reference/bland_altman.html index 6d349b7c1a..e1b6dde0ba 100644 --- a/main/reference/bland_altman.html +++ b/main/reference/bland_altman.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/c_label_n.html b/main/reference/c_label_n.html index d8fb94cf37..e2cf9a6daf 100644 --- a/main/reference/c_label_n.html +++ b/main/reference/c_label_n.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -112,7 +81,7 @@ Arguments Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. Note diff --git a/main/reference/c_label_n_alt.html b/main/reference/c_label_n_alt.html index 8ace5db811..9e61d9bdf5 100644 --- a/main/reference/c_label_n_alt.html +++ b/main/reference/c_label_n_alt.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,13 +70,13 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. See also diff --git a/main/reference/cfun_by_flag.html b/main/reference/cfun_by_flag.html index 4dc256a74f..f7bc45e087 100644 --- a/main/reference/cfun_by_flag.html +++ b/main/reference/cfun_by_flag.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_diff_prop_ci.html b/main/reference/check_diff_prop_ci.html index cfa6600e59..6bb23e9e84 100644 --- a/main/reference/check_diff_prop_ci.html +++ b/main/reference/check_diff_prop_ci.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_same_n.html b/main/reference/check_same_n.html index b6bd65c6fe..230c27513d 100644 --- a/main/reference/check_same_n.html +++ b/main/reference/check_same_n.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combination_function.html b/main/reference/combination_function.html index f30d92a5b2..7d98c6d6ee 100644 --- a/main/reference/combination_function.html +++ b/main/reference/combination_function.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_counts.html b/main/reference/combine_counts.html index 4deba1b2fe..deb1229c3f 100644 --- a/main/reference/combine_counts.html +++ b/main/reference/combine_counts.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_groups.html b/main/reference/combine_groups.html index 7cc3d90c46..8d92853e87 100644 --- a/main/reference/combine_groups.html +++ b/main/reference/combine_groups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_levels.html b/main/reference/combine_levels.html index 060a39cfcb..c8963cd6c4 100644 --- a/main/reference/combine_levels.html +++ b/main/reference/combine_levels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_vectors.html b/main/reference/combine_vectors.html index 492bbe1e8c..bf3be4a50f 100644 --- a/main/reference/combine_vectors.html +++ b/main/reference/combine_vectors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/compare_variables.html b/main/reference/compare_variables.html index d0abf884e5..d56ee311ed 100644 --- a/main/reference/compare_variables.html +++ b/main/reference/compare_variables.html @@ -25,7 +25,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -43,37 +43,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ for numeric variables can be viewed by running get_stats("analyze_vars_numeric", add_pval = TRUE) and for non-numeric variables by running get_stats("analyze_vars_counts", add_pval = TRUE). Use the .stats parameter to specify the statistics to include in your output summary table. -Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column +Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column split on the variable to be used in comparisons, and specify a reference group via the ref_group parameter. Comparisons can be performed for each group (column) against the specified reference group by including the p-value statistic. @@ -250,7 +219,7 @@ ArgumentsValue compare_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_compare() to the table layout. s_compare() returns output of s_summary() and comparisons versus the reference group in the form of p-values. @@ -258,7 +227,7 @@ ValueFunctions compare_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_compare(): S3 generic function to produce a comparison summary. s_compare(numeric): Method for numeric class. This uses the standard t-test to calculate the p-value. diff --git a/main/reference/control_analyze_vars.html b/main/reference/control_analyze_vars.html index 1be5a04c97..1078371bf7 100644 --- a/main/reference/control_analyze_vars.html +++ b/main/reference/control_analyze_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_annot.html b/main/reference/control_annot.html index 90398288c9..3b70e7f74e 100644 --- a/main/reference/control_annot.html +++ b/main/reference/control_annot.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxph.html b/main/reference/control_coxph.html index 2bc84ded72..56a5de1af1 100644 --- a/main/reference/control_coxph.html +++ b/main/reference/control_coxph.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxreg.html b/main/reference/control_coxreg.html index 10fa198c10..f1bc41395e 100644 --- a/main/reference/control_coxreg.html +++ b/main/reference/control_coxreg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_incidence_rate.html b/main/reference/control_incidence_rate.html index 54df4de699..836397b300 100644 --- a/main/reference/control_incidence_rate.html +++ b/main/reference/control_incidence_rate.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_lineplot_vars.html b/main/reference/control_lineplot_vars.html index 27f0172aa3..881754fed8 100644 --- a/main/reference/control_lineplot_vars.html +++ b/main/reference/control_lineplot_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_logistic.html b/main/reference/control_logistic.html index 5064ed810f..6d2553575e 100644 --- a/main/reference/control_logistic.html +++ b/main/reference/control_logistic.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_riskdiff.html b/main/reference/control_riskdiff.html index 5b9034b9d9..9b30c90cdd 100644 --- a/main/reference/control_riskdiff.html +++ b/main/reference/control_riskdiff.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_step.html b/main/reference/control_step.html index 4f5edc7ec3..5a490cfc4e 100644 --- a/main/reference/control_step.html +++ b/main/reference/control_step.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_time.html b/main/reference/control_surv_time.html index dd3a50ff23..fd3247973a 100644 --- a/main/reference/control_surv_time.html +++ b/main/reference/control_surv_time.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_timepoint.html b/main/reference/control_surv_timepoint.html index 6149465fa1..34e02b09e1 100644 --- a/main/reference/control_surv_timepoint.html +++ b/main/reference/control_surv_timepoint.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/count_cumulative.html b/main/reference/count_cumulative.html index 90d68f8cf5..67dfa57606 100644 --- a/main/reference/count_cumulative.html +++ b/main/reference/count_cumulative.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -224,17 +193,17 @@ ArgumentsValue count_cumulative() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_cumulative() to the table layout. s_count_cumulative() returns a named list of count_fractions: a list with each thresholds value as a component, each component containing a vector for the count and fraction. -a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). +a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). Functions count_cumulative(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_cumulative(): Statistics function that produces a named list given a numeric vector of thresholds. a_count_cumulative(): Formatted analysis function which is used as afun in count_cumulative(). diff --git a/main/reference/count_missed_doses.html b/main/reference/count_missed_doses.html index e5dc01442f..833e3b457c 100644 --- a/main/reference/count_missed_doses.html +++ b/main/reference/count_missed_doses.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -195,17 +164,17 @@ ArgumentsValue count_missed_doses() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_missed_doses() to the table layout. s_count_nonmissing() returns the statistic n which is the count of non-missing values in x. s_count_missed_doses() returns the statistics n and count_fraction with one element for each threshold. -a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). +a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). Functions count_missed_doses(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_nonmissing(): Statistics function to count non-missing values. s_count_missed_doses(): Statistics function to count patients with missed doses. a_count_missed_doses(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences.html b/main/reference/count_occurrences.html index f336adc2fe..c2a2930e38 100644 --- a/main/reference/count_occurrences.html +++ b/main/reference/count_occurrences.html @@ -23,7 +23,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -41,37 +41,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -264,7 +233,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -272,24 +241,24 @@ ArgumentsValue count_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences() to the table layout. summarize_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences() to the table layout. s_count_occurrences() returns a list with:count: list of counts with one element per occurrence. count_fraction: list of counts and fractions with one element per occurrence. fraction: list of numerators and denominators with one element per occurrence. -a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). Functions count_occurrences(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). summarize_occurrences(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_occurrences(): Statistics function which counts number of patients that report an occurrence. a_count_occurrences(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences_by_grade.html b/main/reference/count_occurrences_by_grade.html index 7c837a348b..7934a93f2d 100644 --- a/main/reference/count_occurrences_by_grade.html +++ b/main/reference/count_occurrences_by_grade.html @@ -27,7 +27,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -45,37 +45,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -266,7 +235,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -274,22 +243,22 @@ ArgumentsValue count_occurrences_by_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences_by_grade() to the table layout. summarize_occurrences_by_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences_by_grade() to the table layout. s_count_occurrences_by_grade() returns a list of counts and fractions with one element per grade level or grade level grouping. -a_count_occurrences_by_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences_by_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_occurrences_by_grade(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). summarize_occurrences_by_grade(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_occurrences_by_grade(): Statistics function which counts the number of patients by highest grade. a_count_occurrences_by_grade(): Formatted analysis function which is used as afun diff --git a/main/reference/count_patients_events_in_cols.html b/main/reference/count_patients_events_in_cols.html index 260ca73eb5..73a0e9327b 100644 --- a/main/reference/count_patients_events_in_cols.html +++ b/main/reference/count_patients_events_in_cols.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -175,7 +144,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -188,7 +157,7 @@ ArgumentsValue summarize_patients_events_in_cols() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_patients_and_multiple_events() to the table layout. s_count_patients_and_multiple_events() returns a list with the statistics:unique: number of unique patients in df. all: number of rows in df. @@ -200,7 +169,7 @@ ValueFunctions summarize_patients_events_in_cols(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +arguments and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_patients_and_multiple_events(): Statistics function which counts numbers of patients and multiple events defined by filters. Used as analysis function afun in summarize_patients_events_in_cols(). diff --git a/main/reference/count_patients_with_event.html b/main/reference/count_patients_with_event.html index bd21bddef8..966c83eb83 100644 --- a/main/reference/count_patients_with_event.html +++ b/main/reference/count_patients_with_event.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -227,16 +196,16 @@ ArgumentsValue count_patients_with_event() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_patients_with_event() to the table layout. s_count_patients_with_event() returns the count and fraction of unique identifiers with the defined event. -a_count_patients_with_event() returns the corresponding list with formatted rtables::CellValue(). +a_count_patients_with_event() returns the corresponding list with formatted rtables::CellValue(). Functions count_patients_with_event(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_patients_with_event(): Statistics function which counts the number of patients for which the defined event has occurred. a_count_patients_with_event(): Formatted analysis function which is used as afun diff --git a/main/reference/count_patients_with_flags.html b/main/reference/count_patients_with_flags.html index c85e01f4e6..2c801a952a 100644 --- a/main/reference/count_patients_with_flags.html +++ b/main/reference/count_patients_with_flags.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -237,17 +206,17 @@ ArgumentsValue count_patients_with_flags() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_patients_with_flags() to the table layout. s_count_patients_with_flags() returns the count and the fraction of unique identifiers with each particular flag as a list of statistics n, count, count_fraction, and n_blq, with one element per flag. -a_count_patients_with_flags() returns the corresponding list with formatted rtables::CellValue(). +a_count_patients_with_flags() returns the corresponding list with formatted rtables::CellValue(). Functions count_patients_with_flags(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_patients_with_flags(): Statistics function which counts the number of patients for which a particular flag variable is TRUE. a_count_patients_with_flags(): Formatted analysis function which is used as afun diff --git a/main/reference/count_values.html b/main/reference/count_values.html index 007176c16d..1bb3924d97 100644 --- a/main/reference/count_values.html +++ b/main/reference/count_values.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -222,16 +191,16 @@ ArgumentsValue count_values() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_values() to the table layout. s_count_values() returns output of s_summary() for specified values of a non-numeric variable. -a_count_values() returns the corresponding list with formatted rtables::CellValue(). +a_count_values() returns the corresponding list with formatted rtables::CellValue(). Functions count_values(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_values(): S3 generic function to count values. s_count_values(character): Method for character class. s_count_values(factor): Method for factor class. This makes an automatic diff --git a/main/reference/cox_regression.html b/main/reference/cox_regression.html index bf7d0cc132..197cc1a5b6 100644 --- a/main/reference/cox_regression.html +++ b/main/reference/cox_regression.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -213,7 +182,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -239,10 +208,10 @@ ArgumentsValue summarize_coxreg() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add a Cox regression table +or to rtables::build_table(). Adding this function to an rtable layout will add a Cox regression table containing the chosen statistics to the table layout. s_coxreg() returns the selected statistic for from the Cox regression model for the selected variable(s). -a_coxreg() returns formatted rtables::CellValue(). +a_coxreg() returns formatted rtables::CellValue(). Details @@ -258,11 +227,11 @@ Functionsrtables::analyze_colvars() and rtables::summarize_row_groups(). +is a wrapper for rtables::analyze_colvars() and rtables::summarize_row_groups(). s_coxreg(): Statistics function that transforms results tabulated from fit_coxreg_univar() or fit_coxreg_multivar() into a list. -a_coxreg(): Analysis function which is used as afun in rtables::analyze() -and cfun in rtables::summarize_row_groups() within summarize_coxreg(). +a_coxreg(): Analysis function which is used as afun in rtables::analyze() +and cfun in rtables::summarize_row_groups() within summarize_coxreg(). See also diff --git a/main/reference/cox_regression_inter.html b/main/reference/cox_regression_inter.html index 8b9e8d702d..c846ef70ed 100644 --- a/main/reference/cox_regression_inter.html +++ b/main/reference/cox_regression_inter.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -211,7 +180,7 @@ Note Automatic conversion of character to factor does not guarantee results can be generated correctly. It is therefore better to always pre-process the dataset such that factors are manually created from character -variables before passing the dataset to rtables::build_table(). +variables before passing the dataset to rtables::build_table(). diff --git a/main/reference/cut_quantile_bins.html b/main/reference/cut_quantile_bins.html index 4b2f9b95ee..ea28a709be 100644 --- a/main/reference/cut_quantile_bins.html +++ b/main/reference/cut_quantile_bins.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_count_abnormal_by_baseline.html b/main/reference/d_count_abnormal_by_baseline.html index b4e3b7e8f7..11cbc092dc 100644 --- a/main/reference/d_count_abnormal_by_baseline.html +++ b/main/reference/d_count_abnormal_by_baseline.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_count_cumulative.html b/main/reference/d_count_cumulative.html index 050e270808..63a8d1b7a6 100644 --- a/main/reference/d_count_cumulative.html +++ b/main/reference/d_count_cumulative.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_count_missed_doses.html b/main/reference/d_count_missed_doses.html index 24d427ec8e..0e2a6b3874 100644 --- a/main/reference/d_count_missed_doses.html +++ b/main/reference/d_count_missed_doses.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_onco_rsp_label.html b/main/reference/d_onco_rsp_label.html index 06d01f9ee1..cfc8d67437 100644 --- a/main/reference/d_onco_rsp_label.html +++ b/main/reference/d_onco_rsp_label.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_pkparam.html b/main/reference/d_pkparam.html index 3cd2230385..0c54023d7d 100644 --- a/main/reference/d_pkparam.html +++ b/main/reference/d_pkparam.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_proportion.html b/main/reference/d_proportion.html index e76f3615d5..4f03cf7c34 100644 --- a/main/reference/d_proportion.html +++ b/main/reference/d_proportion.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_proportion_diff.html b/main/reference/d_proportion_diff.html index 16d19aa38f..b73b30e974 100644 --- a/main/reference/d_proportion_diff.html +++ b/main/reference/d_proportion_diff.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_rsp_subgroups_colvars.html b/main/reference/d_rsp_subgroups_colvars.html index f0b5623b59..7ff8b4d1f0 100644 --- a/main/reference/d_rsp_subgroups_colvars.html +++ b/main/reference/d_rsp_subgroups_colvars.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_survival_subgroups_colvars.html b/main/reference/d_survival_subgroups_colvars.html index 984caa96f6..7d3b735d17 100644 --- a/main/reference/d_survival_subgroups_colvars.html +++ b/main/reference/d_survival_subgroups_colvars.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/d_test_proportion_diff.html b/main/reference/d_test_proportion_diff.html index f16cce8e7a..b93eb0a375 100644 --- a/main/reference/d_test_proportion_diff.html +++ b/main/reference/d_test_proportion_diff.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/day2month.html b/main/reference/day2month.html index 0b6beb03ef..c42d80d049 100644 --- a/main/reference/day2month.html +++ b/main/reference/day2month.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/decorate_grob.html b/main/reference/decorate_grob.html index 31753cda9b..507b7d2236 100644 --- a/main/reference/decorate_grob.html +++ b/main/reference/decorate_grob.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/decorate_grob_factory.html b/main/reference/decorate_grob_factory.html index bf5e23f4b3..8269d413f2 100644 --- a/main/reference/decorate_grob_factory.html +++ b/main/reference/decorate_grob_factory.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/decorate_grob_set.html b/main/reference/decorate_grob_set.html index 44604bd013..5f44128122 100644 --- a/main/reference/decorate_grob_set.html +++ b/main/reference/decorate_grob_set.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/default_na_str.html b/main/reference/default_na_str.html index 818e079b24..c1a89e8bc3 100644 --- a/main/reference/default_na_str.html +++ b/main/reference/default_na_str.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/default_stats_formats_labels.html b/main/reference/default_stats_formats_labels.html index 2f8fc139cc..e326861a91 100644 --- a/main/reference/default_stats_formats_labels.html +++ b/main/reference/default_stats_formats_labels.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -224,7 +193,7 @@ Note These defaults are experimental because we use the names of functions to retrieve the default statistics. This should be generalized in groups of methods according to more reasonable groupings. Formats in tern and rtables can be functions that take in the table cell value and -return a string. This is well documented in vignette("custom_appearance", package = "rtables"). +return a string. This is well documented in vignette("custom_appearance", package = "rtables"). See also diff --git a/main/reference/desctools_binom.html b/main/reference/desctools_binom.html index e341a5e14f..cfdbd78f3c 100644 --- a/main/reference/desctools_binom.html +++ b/main/reference/desctools_binom.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/df2gg.html b/main/reference/df2gg.html index eb5a049173..5d8662dccd 100644 --- a/main/reference/df2gg.html +++ b/main/reference/df2gg.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/df_explicit_na.html b/main/reference/df_explicit_na.html index 0c9e2fe1e6..c5a4d238de 100644 --- a/main/reference/df_explicit_na.html +++ b/main/reference/df_explicit_na.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/dot-is_equal_float.html b/main/reference/dot-is_equal_float.html index cb1a428c72..4dc8382938 100644 --- a/main/reference/dot-is_equal_float.html +++ b/main/reference/dot-is_equal_float.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/draw_grob.html b/main/reference/draw_grob.html index 5a72e5fc22..11c258a862 100644 --- a/main/reference/draw_grob.html +++ b/main/reference/draw_grob.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/empty_vector_if_na.html b/main/reference/empty_vector_if_na.html index 3359fcba6f..6e5822e90a 100644 --- a/main/reference/empty_vector_if_na.html +++ b/main/reference/empty_vector_if_na.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/estimate_coef.html b/main/reference/estimate_coef.html index bad71cac63..1610dd2fdf 100644 --- a/main/reference/estimate_coef.html +++ b/main/reference/estimate_coef.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/estimate_multinomial_rsp.html b/main/reference/estimate_multinomial_rsp.html index b6061227d5..1d311a3d51 100644 --- a/main/reference/estimate_multinomial_rsp.html +++ b/main/reference/estimate_multinomial_rsp.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -178,17 +147,17 @@ ArgumentsValue estimate_multinomial_response() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_length_proportion() to the table layout. s_length_proportion() returns statistics from s_proportion(). -a_length_proportion() returns the corresponding list with formatted rtables::CellValue(). +a_length_proportion() returns the corresponding list with formatted rtables::CellValue(). Functions estimate_multinomial_response(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze() and -rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::analyze() and +rtables::summarize_row_groups(). s_length_proportion(): Statistics function which feeds the length of x as number of successes, and .N_col as total number of successes and failures into s_proportion(). a_length_proportion(): Formatted analysis function which is used as afun diff --git a/main/reference/estimate_proportion.html b/main/reference/estimate_proportion.html index 7dc19ab2b5..e4601dc9a4 100644 --- a/main/reference/estimate_proportion.html +++ b/main/reference/estimate_proportion.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -244,17 +213,17 @@ ArgumentsValue estimate_proportion() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_proportion() to the table layout. s_proportion() returns statistics n_prop (n and proportion) and prop_ci (proportion CI) for a given variable. -a_proportion() returns the corresponding list with formatted rtables::CellValue(). +a_proportion() returns the corresponding list with formatted rtables::CellValue(). Functions estimate_proportion(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_proportion(): Statistics function estimating a proportion along with its confidence interval. a_proportion(): Formatted analysis function which is used as afun diff --git a/main/reference/ex_data.html b/main/reference/ex_data.html index 5a710a78c0..4618306800 100644 --- a/main/reference/ex_data.html +++ b/main/reference/ex_data.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/explicit_na.html b/main/reference/explicit_na.html index bf9bdca95b..693f816c5f 100644 --- a/main/reference/explicit_na.html +++ b/main/reference/explicit_na.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/extract_by_name.html b/main/reference/extract_by_name.html index 9482955892..69fb2bdb3d 100644 --- a/main/reference/extract_by_name.html +++ b/main/reference/extract_by_name.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/extract_rsp_biomarkers.html b/main/reference/extract_rsp_biomarkers.html index 4ca3440817..eb32a6b14f 100644 --- a/main/reference/extract_rsp_biomarkers.html +++ b/main/reference/extract_rsp_biomarkers.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/extract_rsp_subgroups.html b/main/reference/extract_rsp_subgroups.html index 43bfb7a00b..f5b4405e77 100644 --- a/main/reference/extract_rsp_subgroups.html +++ b/main/reference/extract_rsp_subgroups.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/extract_survival_biomarkers.html b/main/reference/extract_survival_biomarkers.html index 27c1c3d3c9..5bcbfc96b0 100644 --- a/main/reference/extract_survival_biomarkers.html +++ b/main/reference/extract_survival_biomarkers.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/extract_survival_subgroups.html b/main/reference/extract_survival_subgroups.html index e4b70a44d5..779a4c19ea 100644 --- a/main/reference/extract_survival_subgroups.html +++ b/main/reference/extract_survival_subgroups.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/extreme_format.html b/main/reference/extreme_format.html index 473abf11da..7927848ea4 100644 --- a/main/reference/extreme_format.html +++ b/main/reference/extreme_format.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/f_conf_level.html b/main/reference/f_conf_level.html index 81b4bcf761..93952bd7a8 100644 --- a/main/reference/f_conf_level.html +++ b/main/reference/f_conf_level.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/f_pval.html b/main/reference/f_pval.html index c42548209f..4c285dfed6 100644 --- a/main/reference/f_pval.html +++ b/main/reference/f_pval.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fct_collapse_only.html b/main/reference/fct_collapse_only.html index 9f6afe5eee..ec7c1215ce 100644 --- a/main/reference/fct_collapse_only.html +++ b/main/reference/fct_collapse_only.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fct_discard.html b/main/reference/fct_discard.html index 3edfa711bd..84c061e2c9 100644 --- a/main/reference/fct_discard.html +++ b/main/reference/fct_discard.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fct_explicit_na_if.html b/main/reference/fct_explicit_na_if.html index be8d18d163..4e5577b8bc 100644 --- a/main/reference/fct_explicit_na_if.html +++ b/main/reference/fct_explicit_na_if.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fit_coxreg.html b/main/reference/fit_coxreg.html index 390ea26ead..ecba6b212c 100644 --- a/main/reference/fit_coxreg.html +++ b/main/reference/fit_coxreg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fit_logistic.html b/main/reference/fit_logistic.html index a810c84e5e..44a4cdaeb1 100644 --- a/main/reference/fit_logistic.html +++ b/main/reference/fit_logistic.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fit_rsp_step.html b/main/reference/fit_rsp_step.html index 9eb9d85ebb..e3548b2f45 100644 --- a/main/reference/fit_rsp_step.html +++ b/main/reference/fit_rsp_step.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/fit_survival_step.html b/main/reference/fit_survival_step.html index 1fec7eb53e..b21e0d01d3 100644 --- a/main/reference/fit_survival_step.html +++ b/main/reference/fit_survival_step.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/forest_viewport.html b/main/reference/forest_viewport.html index 4bb6225445..563fbcb32d 100644 --- a/main/reference/forest_viewport.html +++ b/main/reference/forest_viewport.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_auto.html b/main/reference/format_auto.html index 2e801c8122..e0f0cb748a 100644 --- a/main/reference/format_auto.html +++ b/main/reference/format_auto.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -107,7 +76,7 @@ Argumentsdt_var (numeric) variable data the statistics were calculated from. Used only to find significant digits. In analyze_vars this comes from .df_row (see -rtables::additional_fun_params), and it is the row data after the above row splits. No +rtables::additional_fun_params), and it is the row data after the above row splits. No column split is considered. diff --git a/main/reference/format_count_fraction.html b/main/reference/format_count_fraction.html index 709b9ae61d..15bfd86238 100644 --- a/main/reference/format_count_fraction.html +++ b/main/reference/format_count_fraction.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_count_fraction_fixed_dp.html b/main/reference/format_count_fraction_fixed_dp.html index 850b14fd3d..7113920aab 100644 --- a/main/reference/format_count_fraction_fixed_dp.html +++ b/main/reference/format_count_fraction_fixed_dp.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_count_fraction_lt10.html b/main/reference/format_count_fraction_lt10.html index 34ec15258d..9607819695 100644 --- a/main/reference/format_count_fraction_lt10.html +++ b/main/reference/format_count_fraction_lt10.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_extreme_values.html b/main/reference/format_extreme_values.html index 3d754ce0c0..0882ae4491 100644 --- a/main/reference/format_extreme_values.html +++ b/main/reference/format_extreme_values.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_extreme_values_ci.html b/main/reference/format_extreme_values_ci.html index d778a43775..b154485443 100644 --- a/main/reference/format_extreme_values_ci.html +++ b/main/reference/format_extreme_values_ci.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_fraction.html b/main/reference/format_fraction.html index 298bc4f3f3..8cdf9ffa03 100644 --- a/main/reference/format_fraction.html +++ b/main/reference/format_fraction.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_fraction_fixed_dp.html b/main/reference/format_fraction_fixed_dp.html index f048a524da..40ca42fa28 100644 --- a/main/reference/format_fraction_fixed_dp.html +++ b/main/reference/format_fraction_fixed_dp.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_fraction_threshold.html b/main/reference/format_fraction_threshold.html index c6ba020959..8a804fd476 100644 --- a/main/reference/format_fraction_threshold.html +++ b/main/reference/format_fraction_threshold.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_sigfig.html b/main/reference/format_sigfig.html index 4418f55f09..efb508d057 100644 --- a/main/reference/format_sigfig.html +++ b/main/reference/format_sigfig.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/format_xx.html b/main/reference/format_xx.html index 3f75b62d59..0bba9c2b2d 100644 --- a/main/reference/format_xx.html +++ b/main/reference/format_xx.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/formatting_functions.html b/main/reference/formatting_functions.html index 52b31d2e9a..8156444277 100644 --- a/main/reference/formatting_functions.html +++ b/main/reference/formatting_functions.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/g_forest.html b/main/reference/g_forest.html index 1c38bdf841..247a2e4e54 100644 --- a/main/reference/g_forest.html +++ b/main/reference/g_forest.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -222,7 +191,7 @@ Value Details - Given a rtables::rtable() object with at least one column with a single value and one column with 2 + Given a rtables::rtable() object with at least one column with a single value and one column with 2 values, converts table to a ggplot2::ggplot() object and generates an accompanying forest plot. The table and forest plot are printed side-by-side. diff --git a/main/reference/g_ipp.html b/main/reference/g_ipp.html index 84f03badaf..af57ea2f72 100644 --- a/main/reference/g_ipp.html +++ b/main/reference/g_ipp.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/g_km.html b/main/reference/g_km.html index f5c4884495..c71eaa8dd7 100644 --- a/main/reference/g_km.html +++ b/main/reference/g_km.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/g_lineplot.html b/main/reference/g_lineplot.html index 9baccf8dd7..c2e4d50553 100644 --- a/main/reference/g_lineplot.html +++ b/main/reference/g_lineplot.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/g_step.html b/main/reference/g_step.html index 6510d9957b..d90a8601d1 100644 --- a/main/reference/g_step.html +++ b/main/reference/g_step.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/g_waterfall.html b/main/reference/g_waterfall.html index 6f71726b0a..fa410cf0b0 100644 --- a/main/reference/g_waterfall.html +++ b/main/reference/g_waterfall.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/get_covariates.html b/main/reference/get_covariates.html index 7b80dc8301..4f34d05415 100644 --- a/main/reference/get_covariates.html +++ b/main/reference/get_covariates.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/get_smooths.html b/main/reference/get_smooths.html index cb848ed0a7..075dffbc06 100644 --- a/main/reference/get_smooths.html +++ b/main/reference/get_smooths.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/groups_list_to_df.html b/main/reference/groups_list_to_df.html index f305722480..71ef9ac168 100644 --- a/main/reference/groups_list_to_df.html +++ b/main/reference/groups_list_to_df.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -77,7 +46,7 @@ - This converts a list of group levels into a data frame format which is expected by rtables::add_combo_levels(). + This converts a list of group levels into a data frame format which is expected by rtables::add_combo_levels(). diff --git a/main/reference/h_adlb_abnormal_by_worst_grade.html b/main/reference/h_adlb_abnormal_by_worst_grade.html index adc301e006..f44c4cef7e 100644 --- a/main/reference/h_adlb_abnormal_by_worst_grade.html +++ b/main/reference/h_adlb_abnormal_by_worst_grade.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_adlb_worsen.html b/main/reference/h_adlb_worsen.html index d9ee154732..210d42713c 100644 --- a/main/reference/h_adlb_worsen.html +++ b/main/reference/h_adlb_worsen.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_adsl_adlb_merge_using_worst_flag.html b/main/reference/h_adsl_adlb_merge_using_worst_flag.html index 08de958efd..dddaa26604 100644 --- a/main/reference/h_adsl_adlb_merge_using_worst_flag.html +++ b/main/reference/h_adsl_adlb_merge_using_worst_flag.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_ancova.html b/main/reference/h_ancova.html index a06392ae4c..c705402084 100644 --- a/main/reference/h_ancova.html +++ b/main/reference/h_ancova.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_append_grade_groups.html b/main/reference/h_append_grade_groups.html index f0a2dd9026..c25c158ba7 100644 --- a/main/reference/h_append_grade_groups.html +++ b/main/reference/h_append_grade_groups.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_col_indices.html b/main/reference/h_col_indices.html index bed4c1ba30..e0c8a38e62 100644 --- a/main/reference/h_col_indices.html +++ b/main/reference/h_col_indices.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_count_cumulative.html b/main/reference/h_count_cumulative.html index 0d13dfaea6..f52f270cee 100644 --- a/main/reference/h_count_cumulative.html +++ b/main/reference/h_count_cumulative.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_cox_regression.html b/main/reference/h_cox_regression.html index 978da15453..83e5bbe5e4 100644 --- a/main/reference/h_cox_regression.html +++ b/main/reference/h_cox_regression.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_data_plot.html b/main/reference/h_data_plot.html index 7210f8c753..2a7b9e4d10 100644 --- a/main/reference/h_data_plot.html +++ b/main/reference/h_data_plot.html @@ -27,7 +27,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -45,37 +45,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_decompose_gg.html b/main/reference/h_decompose_gg.html index f93e6ab2a1..7f9ca01207 100644 --- a/main/reference/h_decompose_gg.html +++ b/main/reference/h_decompose_gg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_format_row.html b/main/reference/h_format_row.html index f0fc50e02b..d79cb7fa36 100644 --- a/main/reference/h_format_row.html +++ b/main/reference/h_format_row.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -96,7 +65,7 @@ Argumentsformat (named character or NULL) format patterns for x. Names of the format must -match the names of x. This parameter is passed directly to the rtables::format_rcell +match the names of x. This parameter is passed directly to the rtables::format_rcell function through the format parameter. diff --git a/main/reference/h_g_ipp.html b/main/reference/h_g_ipp.html index 4d6e330110..a8cad01395 100644 --- a/main/reference/h_g_ipp.html +++ b/main/reference/h_g_ipp.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_ggkm.html b/main/reference/h_ggkm.html index 93e36e235f..dd5338c995 100644 --- a/main/reference/h_ggkm.html +++ b/main/reference/h_ggkm.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_glm_count.html b/main/reference/h_glm_count.html index 75fe32aad7..2adc1b0e60 100644 --- a/main/reference/h_glm_count.html +++ b/main/reference/h_glm_count.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_grob_coxph.html b/main/reference/h_grob_coxph.html index 186367a584..a9def2a6db 100644 --- a/main/reference/h_grob_coxph.html +++ b/main/reference/h_grob_coxph.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_grob_median_surv.html b/main/reference/h_grob_median_surv.html index ccfebc8dd7..0b2e384592 100644 --- a/main/reference/h_grob_median_surv.html +++ b/main/reference/h_grob_median_surv.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_grob_tbl_at_risk.html b/main/reference/h_grob_tbl_at_risk.html index a9c48946fb..6880ca9436 100644 --- a/main/reference/h_grob_tbl_at_risk.html +++ b/main/reference/h_grob_tbl_at_risk.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_grob_y_annot.html b/main/reference/h_grob_y_annot.html index 6fa5817624..9fce0c16a6 100644 --- a/main/reference/h_grob_y_annot.html +++ b/main/reference/h_grob_y_annot.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_incidence_rate.html b/main/reference/h_incidence_rate.html index 4c244c64c8..733703b7c9 100644 --- a/main/reference/h_incidence_rate.html +++ b/main/reference/h_incidence_rate.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_km_layout.html b/main/reference/h_km_layout.html index 265c45807b..11b7fe2f18 100644 --- a/main/reference/h_km_layout.html +++ b/main/reference/h_km_layout.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_logistic_regression.html b/main/reference/h_logistic_regression.html index c9ee065c55..140b43d79f 100644 --- a/main/reference/h_logistic_regression.html +++ b/main/reference/h_logistic_regression.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_map_for_count_abnormal.html b/main/reference/h_map_for_count_abnormal.html index e491bb2b3c..8be6401f17 100644 --- a/main/reference/h_map_for_count_abnormal.html +++ b/main/reference/h_map_for_count_abnormal.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_odds_ratio.html b/main/reference/h_odds_ratio.html index a783bbe45d..fa33e903a4 100644 --- a/main/reference/h_odds_ratio.html +++ b/main/reference/h_odds_ratio.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -87,7 +56,7 @@ Usage or_glm(data, conf_level) -or_clogit(data, conf_level) +or_clogit(data, conf_level, method = "exact") @@ -102,6 +71,11 @@ Argumentsconf_level (proportion) confidence level of the interval. + +method +(string) whether to use the correct ("exact") calculation in the conditional likelihood or one +of the approximations. See survival::clogit() for details. + Value diff --git a/main/reference/h_pkparam_sort.html b/main/reference/h_pkparam_sort.html index 04291aeb34..827856aa65 100644 --- a/main/reference/h_pkparam_sort.html +++ b/main/reference/h_pkparam_sort.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_ppmeans.html b/main/reference/h_ppmeans.html index 68afa4f062..8f7e3ee11b 100644 --- a/main/reference/h_ppmeans.html +++ b/main/reference/h_ppmeans.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_prop_diff.html b/main/reference/h_prop_diff.html index 8430ab2b75..4c17f19b90 100644 --- a/main/reference/h_prop_diff.html +++ b/main/reference/h_prop_diff.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_prop_diff_test.html b/main/reference/h_prop_diff_test.html index ce87457dc0..389ee06fc1 100644 --- a/main/reference/h_prop_diff_test.html +++ b/main/reference/h_prop_diff_test.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_proportions.html b/main/reference/h_proportions.html index 9ec5b7c710..2d847e9478 100644 --- a/main/reference/h_proportions.html +++ b/main/reference/h_proportions.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_response_biomarkers_subgroups.html b/main/reference/h_response_biomarkers_subgroups.html index 11eaa85bbd..758e0a5c09 100644 --- a/main/reference/h_response_biomarkers_subgroups.html +++ b/main/reference/h_response_biomarkers_subgroups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_response_subgroups.html b/main/reference/h_response_subgroups.html index dc42b79cd1..6916eaeb05 100644 --- a/main/reference/h_response_subgroups.html +++ b/main/reference/h_response_subgroups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_split_by_subgroups.html b/main/reference/h_split_by_subgroups.html index 366ae0e9de..8850959957 100644 --- a/main/reference/h_split_by_subgroups.html +++ b/main/reference/h_split_by_subgroups.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_split_param.html b/main/reference/h_split_param.html index 14926ecda5..46f367eab7 100644 --- a/main/reference/h_split_param.html +++ b/main/reference/h_split_param.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_stack_by_baskets.html b/main/reference/h_stack_by_baskets.html index 1c8074c1c0..26444725ea 100644 --- a/main/reference/h_stack_by_baskets.html +++ b/main/reference/h_stack_by_baskets.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_step.html b/main/reference/h_step.html index cd58988116..6988cb2dee 100644 --- a/main/reference/h_step.html +++ b/main/reference/h_step.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_survival_biomarkers_subgroups.html b/main/reference/h_survival_biomarkers_subgroups.html index fcb46cfa79..0969fd2ff0 100644 --- a/main/reference/h_survival_biomarkers_subgroups.html +++ b/main/reference/h_survival_biomarkers_subgroups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_survival_duration_subgroups.html b/main/reference/h_survival_duration_subgroups.html index eab6d97447..8fe75abde8 100644 --- a/main/reference/h_survival_duration_subgroups.html +++ b/main/reference/h_survival_duration_subgroups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_tab_one_biomarker.html b/main/reference/h_tab_one_biomarker.html index 98eade144b..d56f5bb12e 100644 --- a/main/reference/h_tab_one_biomarker.html +++ b/main/reference/h_tab_one_biomarker.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -83,7 +52,7 @@ Please see h_tab_surv_one_biomarker() and h_tab_rsp_one_biomarker(), which use this function for examples. -This function is a wrapper for rtables::summarize_row_groups(). +This function is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/h_tbl_coxph_pairwise.html b/main/reference/h_tbl_coxph_pairwise.html index 4ac10748a4..18d015679e 100644 --- a/main/reference/h_tbl_coxph_pairwise.html +++ b/main/reference/h_tbl_coxph_pairwise.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_tbl_median_surv.html b/main/reference/h_tbl_median_surv.html index 9254238af5..fb85f13c3e 100644 --- a/main/reference/h_tbl_median_surv.html +++ b/main/reference/h_tbl_median_surv.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_worsen_counter.html b/main/reference/h_worsen_counter.html index 22b0256cd0..4999a3287a 100644 --- a/main/reference/h_worsen_counter.html +++ b/main/reference/h_worsen_counter.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/h_xticks.html b/main/reference/h_xticks.html index 883c97ac34..939724df4b 100644 --- a/main/reference/h_xticks.html +++ b/main/reference/h_xticks.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/imputation_rule.html b/main/reference/imputation_rule.html index e84dd39750..cea4d3d73a 100644 --- a/main/reference/imputation_rule.html +++ b/main/reference/imputation_rule.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/incidence_rate.html b/main/reference/incidence_rate.html index 6e10813711..ca88da0a04 100644 --- a/main/reference/incidence_rate.html +++ b/main/reference/incidence_rate.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -240,7 +209,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -252,7 +221,7 @@ ArgumentsValue estimate_incidence_rate() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_incidence_rate() to the table layout. s_incidence_rate() returns the following statistics:person_years: Total person-years at risk. n_events: Total number of events observed. @@ -261,13 +230,13 @@ Valuen_unique: Total number of patients with at least one event observed. n_rate: Total number of events observed & estimated incidence rate. -a_incidence_rate() returns the corresponding list with formatted rtables::CellValue(). +a_incidence_rate() returns the corresponding list with formatted rtables::CellValue(). Functions estimate_incidence_rate(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_incidence_rate(): Statistics function which estimates the incidence rate and the associated confidence interval. a_incidence_rate(): Formatted analysis function which is used as afun in estimate_incidence_rate(). diff --git a/main/reference/index.html b/main/reference/index.html index a5e4ca2bc6..05fdc3a7b4 100644 --- a/main/reference/index.html +++ b/main/reference/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -197,7 +166,7 @@ Analysis FunctionsAnalyze functions with their corresponding statistics functions and formatted analysis functions.Analyze functions are used in combination with rtables layout functions in the pipeline which creates the table. Statistics functions (denoted by s_ prefix) compute the numbers that are tabulated later. In order to separate computation from formatting, they do not take care of rcell type formatting themselves. -Formatted analysis functions (denoted by a_ prefix) have the same arguments as the corresponding statistics functions, and can be further customized by calling rtables::make_afun() on them. They are used as afun in rtables::analyze(). +Formatted analysis functions (denoted by a_ prefix) have the same arguments as the corresponding statistics functions, and can be further customized by calling rtables::make_afun() on them. They are used as afun in rtables::analyze(). diff --git a/main/reference/labels_or_names.html b/main/reference/labels_or_names.html index 4bc2f743c1..23f2c08260 100644 --- a/main/reference/labels_or_names.html +++ b/main/reference/labels_or_names.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/labels_use_control.html b/main/reference/labels_use_control.html index ca87f5d24d..1a0038551b 100644 --- a/main/reference/labels_use_control.html +++ b/main/reference/labels_use_control.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/logistic_regression_cols.html b/main/reference/logistic_regression_cols.html index 045a3ab268..8ed3de8d96 100644 --- a/main/reference/logistic_regression_cols.html +++ b/main/reference/logistic_regression_cols.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -83,7 +52,7 @@ Layout-creating function which creates a multivariate column layout summarizing logistic -regression results. This function is a wrapper for rtables::split_cols_by_multivar(). +regression results. This function is a wrapper for rtables::split_cols_by_multivar(). diff --git a/main/reference/logistic_summary_by_flag.html b/main/reference/logistic_summary_by_flag.html index 9852d0c761..27881b95e2 100644 --- a/main/reference/logistic_summary_by_flag.html +++ b/main/reference/logistic_summary_by_flag.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -83,7 +52,7 @@ Constructor for content functions to be used in summarize_logistic() to summarize -logistic regression results. This function is a wrapper for rtables::summarize_row_groups(). +logistic regression results. This function is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/make_names.html b/main/reference/make_names.html index f284683e79..7b4ee3400d 100644 --- a/main/reference/make_names.html +++ b/main/reference/make_names.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/month2day.html b/main/reference/month2day.html index ebccda4c5c..f531351d53 100644 --- a/main/reference/month2day.html +++ b/main/reference/month2day.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/muffled_car_anova.html b/main/reference/muffled_car_anova.html index f2ff117e7d..0268ad03ee 100644 --- a/main/reference/muffled_car_anova.html +++ b/main/reference/muffled_car_anova.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/n_available.html b/main/reference/n_available.html index dd3f611ae3..df03cfce8e 100644 --- a/main/reference/n_available.html +++ b/main/reference/n_available.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/odds_ratio.html b/main/reference/odds_ratio.html index 5e7c6d55fe..26027c67df 100644 --- a/main/reference/odds_ratio.html +++ b/main/reference/odds_ratio.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -105,7 +74,7 @@ Usage groups_list = NULL, na_str = default_na_str(), nested = TRUE, - ..., + method = "exact", show_labels = "hidden", table_names = vars, var_labels = vars, @@ -123,7 +92,8 @@ Usage .df_row, variables = list(arm = NULL, strata = NULL), conf_level = 0.95, - groups_list = NULL + groups_list = NULL, + method = "exact" ) a_odds_ratio( @@ -134,7 +104,8 @@ Usage .df_row, variables = list(arm = NULL, strata = NULL), conf_level = 0.95, - groups_list = NULL + groups_list = NULL, + method = "exact" ) @@ -173,8 +144,9 @@ Arguments... -arguments passed to s_odds_ratio(). +method +(string) whether to use the correct ("exact") calculation in the conditional likelihood or one +of the approximations. See survival::clogit() for details. show_labels @@ -234,17 +206,17 @@ ArgumentsValue estimate_odds_ratio() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_odds_ratio() to the table layout. s_odds_ratio() returns a named list with the statistics or_ci (containing est, lcl, and ucl) and n_tot. -a_odds_ratio() returns the corresponding list with formatted rtables::CellValue(). +a_odds_ratio() returns the corresponding list with formatted rtables::CellValue(). Functions estimate_odds_ratio(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_odds_ratio(): Statistics function which estimates the odds ratio between a treatment and a control. A variables list with arm and strata variable names must be passed if a stratified analysis is required. diff --git a/main/reference/prop_diff.html b/main/reference/prop_diff.html index ddaf19fae8..8c0b0df9aa 100644 --- a/main/reference/prop_diff.html +++ b/main/reference/prop_diff.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -238,16 +207,16 @@ ArgumentsValue estimate_proportion_diff() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_proportion_diff() to the table layout. s_proportion_diff() returns a named list of elements diff and diff_ci. -a_proportion_diff() returns the corresponding list with formatted rtables::CellValue(). +a_proportion_diff() returns the corresponding list with formatted rtables::CellValue(). Functions estimate_proportion_diff(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_proportion_diff(): Statistics function estimating the difference in terms of responder proportion. a_proportion_diff(): Formatted analysis function which is used as afun in estimate_proportion_diff(). diff --git a/main/reference/prop_diff_test.html b/main/reference/prop_diff_test.html index fae3cf8dff..ff5a687bfb 100644 --- a/main/reference/prop_diff_test.html +++ b/main/reference/prop_diff_test.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -218,17 +187,17 @@ ArgumentsValue test_proportion_diff() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_test_proportion_diff() to the table layout. s_test_proportion_diff() returns a named list with a single item pval with an attribute label describing the method used. The p-value tests the null hypothesis that proportions in two groups are the same. -a_test_proportion_diff() returns the corresponding list with formatted rtables::CellValue(). +a_test_proportion_diff() returns the corresponding list with formatted rtables::CellValue(). Functions test_proportion_diff(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_test_proportion_diff(): Statistics function which tests the difference between two proportions. a_test_proportion_diff(): Formatted analysis function which is used as afun in test_proportion_diff(). diff --git a/main/reference/prune_occurrences.html b/main/reference/prune_occurrences.html index e50cb6ce21..d3d4e41d66 100644 --- a/main/reference/prune_occurrences.html +++ b/main/reference/prune_occurrences.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@
rtables
rtables::build_table
The tern analyze functions are wrappers around -rtables::analyze function, they offer various methods +rtables::analyze function, they offer various methods useful from the perspective of clinical trials and other statistical projects.
tern
rtables::analyze
Examples of the tern analyze functions are @@ -174,26 +143,26 @@
rcell
a_*
rtables::make_afun()
afun
rtables::analyze()
rtables::analyze(..., afun = make_afun(tern::a_*))
We will use the native rtables::analyze function with +
We will use the native rtables::analyze function with the tern formatted analysis functions as a afun parameter.
l <- basic_table() %>% - split_cols_by(var = "ARM") %>% - split_rows_by(var = "AVISIT") %>% - analyze(vars = "AVAL", afun = a_summary) +l <- basic_table() %>% + split_cols_by(var = "ARM") %>% + split_rows_by(var = "AVISIT") %>% + analyze(vars = "AVAL", afun = a_summary) -build_table(l, df = adrs) -The rtables::make_afun function is helpful when somebody +build_table(l, df = adrs)
l <- basic_table() %>% + split_cols_by(var = "ARM") %>% + split_rows_by(var = "AVISIT") %>% + analyze(vars = "AVAL", afun = a_summary) -build_table(l, df = adrs)
The rtables::make_afun function is helpful when somebody +build_table(l, df = adrs)
rtables::make_afun
The rtables::make_afun function is helpful when somebody wants to attach some format to the formatted analysis function.
afun <- make_afun( +afun <- make_afun( a_summary, .stats = NULL, .formats = c(median = "xx."), @@ -201,12 +170,12 @@ Internals of tern Anal .indent_mods = c(median = 1L) ) -l2 <- basic_table() %>% - split_cols_by(var = "ARM") %>% - split_rows_by(var = "AVISIT") %>% - analyze(vars = "AVAL", afun = afun) +l2 <- basic_table() %>% + split_cols_by(var = "ARM") %>% + split_rows_by(var = "AVISIT") %>% + analyze(vars = "AVAL", afun = afun) -build_table(l2, df = adrs) +build_table(l2, df = adrs)
afun <- make_afun( a_summary, .stats = NULL, .formats = c(median = "xx."), @@ -201,12 +170,12 @@ Internals of tern Anal .indent_mods = c(median = 1L) ) -l2 <- basic_table() %>% - split_cols_by(var = "ARM") %>% - split_rows_by(var = "AVISIT") %>% - analyze(vars = "AVAL", afun = afun) +l2 <- basic_table() %>% + split_cols_by(var = "ARM") %>% + split_rows_by(var = "AVISIT") %>% + analyze(vars = "AVAL", afun = afun) -build_table(l2, df = adrs)
analyze_colvars()
summarize_row_groups()
analyze()
To customize the display for the demographics table, we can do so via the arguments in analyze_vars(). Most layout creating @@ -344,17 +313,17 @@
analyze_vars()
# Select statistics and modify default formats. -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels, .stats = c("n", "mean_sd", "count"), .formats = c(mean_sd = "xx.xx (xx.xx)") ) %>% - build_table(adsl) + build_table(adsl) #> B: Placebo A: Drug X C: Combination All Patients #> (N=134) (N=134) (N=132) (N=400) #> ———————————————————————————————————————————————————————————————————————————————— @@ -372,16 +341,16 @@ Demographic Table -lyt <- basic_table() %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% - add_colcounts() %>% +lyt <- basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels ) -build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "BRA")) +build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "BRA")) #> B: Placebo A: Drug X C: Combination All Patients #> (N=7) (N=13) (N=10) (N=30) #> —————————————————————————————————————————————————————————————————————————————— @@ -397,7 +366,7 @@ Demographic Table#> U 0 0 0 0 #> UNDIFFERENTIATED 0 0 0 0 -build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "CHN")) +build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "CHN")) #> B: Placebo A: Drug X C: Combination All Patients #> (N=81) (N=74) (N=64) (N=219) #> —————————————————————————————————————————————————————————————————————————————— @@ -426,10 +395,10 @@ Adverse Event Tablesummarize_num_patients(): -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -438,7 +407,7 @@ Adverse Event Table= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -450,7 +419,7 @@ Adverse Event Tablebuild_table(), +the alt_df_counts argument in build_table(), which provides an alternative data set for deriving the counts in the header. This is often required when we work with data sets that include multiple records per patient as df, such as @@ -509,16 +478,16 @@ Statistics Functionssummarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = "unique_count", .labels = c(unique_count = "Total number of patients with at least one AE") ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -530,13 +499,13 @@ Statistics Functionssplit_rows_by() before calling again +with split_rows_by() before calling again summarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -545,7 +514,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -560,7 +529,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -596,12 +565,12 @@ Statistics Functionscount_occurrences(). Let’s first try using this function in a simpler layout without row splits: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%) Putting everything together, the final AE table looks like this: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion() layout creating function: -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2) To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables. @@ -148,7 +117,7 @@ Argumentsdo_summarize_row_groups (flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels. @@ -205,14 +174,14 @@ Arguments Value - A layout object suitable for passing to further layouting functions, or to rtables::build_table(). + A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout. Note -This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() +This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() that may be subjected to changes as rtables extends its support to more complex analysis pipelines in the column space. We encourage users to read the examples carefully and file issues for different use cases. In this function, labelstr behaves atypically. If labelstr = NULL (the default), row labels are assigned @@ -221,7 +190,7 @@ Note See also - analyze_vars(), rtables::analyze_colvars(). + analyze_vars(), rtables::analyze_colvars(). diff --git a/main/reference/append_varlabels.html b/main/reference/append_varlabels.html index 847cad73ef..63b3cc9e90 100644 --- a/main/reference/append_varlabels.html +++ b/main/reference/append_varlabels.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/apply_auto_formatting.html b/main/reference/apply_auto_formatting.html index c2143e89b7..e8c2ef6415 100644 --- a/main/reference/apply_auto_formatting.html +++ b/main/reference/apply_auto_formatting.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/argument_convention.html b/main/reference/argument_convention.html index 38e63f9e88..5437d98e56 100644 --- a/main/reference/argument_convention.html +++ b/main/reference/argument_convention.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -99,7 +68,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .df_row @@ -193,7 +162,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. diff --git a/main/reference/arrange_grobs.html b/main/reference/arrange_grobs.html index 724cfd33fb..9f91e79111 100644 --- a/main/reference/arrange_grobs.html +++ b/main/reference/arrange_grobs.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as.rtable.html b/main/reference/as.rtable.html index 8716b9da86..45840e3655 100644 --- a/main/reference/as.rtable.html +++ b/main/reference/as.rtable.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as_factor_keep_attributes.html b/main/reference/as_factor_keep_attributes.html index 7a80536208..5f2a7f8fe4 100644 --- a/main/reference/as_factor_keep_attributes.html +++ b/main/reference/as_factor_keep_attributes.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/assertions.html b/main/reference/assertions.html index 6bf063b098..644af7abfd 100644 --- a/main/reference/assertions.html +++ b/main/reference/assertions.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bins_percent_labels.html b/main/reference/bins_percent_labels.html index 2f3a732445..f656bf4a18 100644 --- a/main/reference/bins_percent_labels.html +++ b/main/reference/bins_percent_labels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bland_altman.html b/main/reference/bland_altman.html index 6d349b7c1a..e1b6dde0ba 100644 --- a/main/reference/bland_altman.html +++ b/main/reference/bland_altman.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/c_label_n.html b/main/reference/c_label_n.html index d8fb94cf37..e2cf9a6daf 100644 --- a/main/reference/c_label_n.html +++ b/main/reference/c_label_n.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -112,7 +81,7 @@ Arguments Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. Note diff --git a/main/reference/c_label_n_alt.html b/main/reference/c_label_n_alt.html index 8ace5db811..9e61d9bdf5 100644 --- a/main/reference/c_label_n_alt.html +++ b/main/reference/c_label_n_alt.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,13 +70,13 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. See also diff --git a/main/reference/cfun_by_flag.html b/main/reference/cfun_by_flag.html index 4dc256a74f..f7bc45e087 100644 --- a/main/reference/cfun_by_flag.html +++ b/main/reference/cfun_by_flag.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_diff_prop_ci.html b/main/reference/check_diff_prop_ci.html index cfa6600e59..6bb23e9e84 100644 --- a/main/reference/check_diff_prop_ci.html +++ b/main/reference/check_diff_prop_ci.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_same_n.html b/main/reference/check_same_n.html index b6bd65c6fe..230c27513d 100644 --- a/main/reference/check_same_n.html +++ b/main/reference/check_same_n.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combination_function.html b/main/reference/combination_function.html index f30d92a5b2..7d98c6d6ee 100644 --- a/main/reference/combination_function.html +++ b/main/reference/combination_function.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_counts.html b/main/reference/combine_counts.html index 4deba1b2fe..deb1229c3f 100644 --- a/main/reference/combine_counts.html +++ b/main/reference/combine_counts.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_groups.html b/main/reference/combine_groups.html index 7cc3d90c46..8d92853e87 100644 --- a/main/reference/combine_groups.html +++ b/main/reference/combine_groups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_levels.html b/main/reference/combine_levels.html index 060a39cfcb..c8963cd6c4 100644 --- a/main/reference/combine_levels.html +++ b/main/reference/combine_levels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_vectors.html b/main/reference/combine_vectors.html index 492bbe1e8c..bf3be4a50f 100644 --- a/main/reference/combine_vectors.html +++ b/main/reference/combine_vectors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/compare_variables.html b/main/reference/compare_variables.html index d0abf884e5..d56ee311ed 100644 --- a/main/reference/compare_variables.html +++ b/main/reference/compare_variables.html @@ -25,7 +25,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -43,37 +43,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ for numeric variables can be viewed by running get_stats("analyze_vars_numeric", add_pval = TRUE) and for non-numeric variables by running get_stats("analyze_vars_counts", add_pval = TRUE). Use the .stats parameter to specify the statistics to include in your output summary table. -Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column +Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column split on the variable to be used in comparisons, and specify a reference group via the ref_group parameter. Comparisons can be performed for each group (column) against the specified reference group by including the p-value statistic. @@ -250,7 +219,7 @@ ArgumentsValue compare_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_compare() to the table layout. s_compare() returns output of s_summary() and comparisons versus the reference group in the form of p-values. @@ -258,7 +227,7 @@ ValueFunctions compare_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_compare(): S3 generic function to produce a comparison summary. s_compare(numeric): Method for numeric class. This uses the standard t-test to calculate the p-value. diff --git a/main/reference/control_analyze_vars.html b/main/reference/control_analyze_vars.html index 1be5a04c97..1078371bf7 100644 --- a/main/reference/control_analyze_vars.html +++ b/main/reference/control_analyze_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_annot.html b/main/reference/control_annot.html index 90398288c9..3b70e7f74e 100644 --- a/main/reference/control_annot.html +++ b/main/reference/control_annot.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxph.html b/main/reference/control_coxph.html index 2bc84ded72..56a5de1af1 100644 --- a/main/reference/control_coxph.html +++ b/main/reference/control_coxph.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxreg.html b/main/reference/control_coxreg.html index 10fa198c10..f1bc41395e 100644 --- a/main/reference/control_coxreg.html +++ b/main/reference/control_coxreg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_incidence_rate.html b/main/reference/control_incidence_rate.html index 54df4de699..836397b300 100644 --- a/main/reference/control_incidence_rate.html +++ b/main/reference/control_incidence_rate.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_lineplot_vars.html b/main/reference/control_lineplot_vars.html index 27f0172aa3..881754fed8 100644 --- a/main/reference/control_lineplot_vars.html +++ b/main/reference/control_lineplot_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_logistic.html b/main/reference/control_logistic.html index 5064ed810f..6d2553575e 100644 --- a/main/reference/control_logistic.html +++ b/main/reference/control_logistic.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_riskdiff.html b/main/reference/control_riskdiff.html index 5b9034b9d9..9b30c90cdd 100644 --- a/main/reference/control_riskdiff.html +++ b/main/reference/control_riskdiff.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_step.html b/main/reference/control_step.html index 4f5edc7ec3..5a490cfc4e 100644 --- a/main/reference/control_step.html +++ b/main/reference/control_step.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_time.html b/main/reference/control_surv_time.html index dd3a50ff23..fd3247973a 100644 --- a/main/reference/control_surv_time.html +++ b/main/reference/control_surv_time.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_timepoint.html b/main/reference/control_surv_timepoint.html index 6149465fa1..34e02b09e1 100644 --- a/main/reference/control_surv_timepoint.html +++ b/main/reference/control_surv_timepoint.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/count_cumulative.html b/main/reference/count_cumulative.html index 90d68f8cf5..67dfa57606 100644 --- a/main/reference/count_cumulative.html +++ b/main/reference/count_cumulative.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -224,17 +193,17 @@ ArgumentsValue count_cumulative() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_cumulative() to the table layout. s_count_cumulative() returns a named list of count_fractions: a list with each thresholds value as a component, each component containing a vector for the count and fraction. -a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). +a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). Functions count_cumulative(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_cumulative(): Statistics function that produces a named list given a numeric vector of thresholds. a_count_cumulative(): Formatted analysis function which is used as afun in count_cumulative(). diff --git a/main/reference/count_missed_doses.html b/main/reference/count_missed_doses.html index e5dc01442f..833e3b457c 100644 --- a/main/reference/count_missed_doses.html +++ b/main/reference/count_missed_doses.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -195,17 +164,17 @@ ArgumentsValue count_missed_doses() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_missed_doses() to the table layout. s_count_nonmissing() returns the statistic n which is the count of non-missing values in x. s_count_missed_doses() returns the statistics n and count_fraction with one element for each threshold. -a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). +a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). Functions count_missed_doses(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_nonmissing(): Statistics function to count non-missing values. s_count_missed_doses(): Statistics function to count patients with missed doses. a_count_missed_doses(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences.html b/main/reference/count_occurrences.html index f336adc2fe..c2a2930e38 100644 --- a/main/reference/count_occurrences.html +++ b/main/reference/count_occurrences.html @@ -23,7 +23,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -41,37 +41,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -264,7 +233,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -272,24 +241,24 @@ ArgumentsValue count_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences() to the table layout. summarize_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences() to the table layout. s_count_occurrences() returns a list with:count: list of counts with one element per occurrence. count_fraction: list of counts and fractions with one element per occurrence. fraction: list of numerators and denominators with one element per occurrence. -a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). Functions count_occurrences(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). summarize_occurrences(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_occurrences(): Statistics function which counts number of patients that report an occurrence. a_count_occurrences(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences_by_grade.html b/main/reference/count_occurrences_by_grade.html index 7c837a348b..7934a93f2d 100644 --- a/main/reference/count_occurrences_by_grade.html +++ b/main/reference/count_occurrences_by_grade.html @@ -27,7 +27,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -45,37 +45,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -266,7 +235,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -274,22 +243,22 @@ ArgumentsValue count_occurrences_by_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences_by_grade() to the table layout. summarize_occurrences_by_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences_by_grade() to the table layout. s_count_occurrences_by_grade() returns a list of counts and fractions with one element per grade level or grade level grouping. -a_count_occurrences_by_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences_by_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_occurrences_by_grade(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). summarize_occurrences_by_grade(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_occurrences_by_grade(): Statistics function which counts the number of patients by highest grade. a_count_occurrences_by_grade(): Formatted analysis function which is used as afun diff --git a/main/reference/count_patients_events_in_cols.html b/main/reference/count_patients_events_in_cols.html index 260ca73eb5..73a0e9327b 100644 --- a/main/reference/count_patients_events_in_cols.html +++ b/main/reference/count_patients_events_in_cols.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -175,7 +144,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -188,7 +157,7 @@ ArgumentsValue summarize_patients_events_in_cols() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_patients_and_multiple_events() to the table layout. s_count_patients_and_multiple_events() returns a list with the statistics:unique: number of unique patients in df. all: number of rows in df. @@ -200,7 +169,7 @@ ValueFunctions summarize_patients_events_in_cols(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +arguments and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_patients_and_multiple_events(): Statistics function which counts numbers of patients and multiple events defined by filters. Used as analysis function afun in summarize_patients_events_in_cols(). diff --git a/main/reference/count_patients_with_event.html b/main/reference/count_patients_with_event.html index bd21bddef8..966c83eb83 100644 --- a/main/reference/count_patients_with_event.html +++ b/main/reference/count_patients_with_event.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -227,16 +196,16 @@ ArgumentsValue count_patients_with_event() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_patients_with_event() to the table layout. s_count_patients_with_event() returns the count and fraction of unique identifiers with the defined event. -a_count_patients_with_event() returns the corresponding list with formatted rtables::CellValue(). +a_count_patients_with_event() returns the corresponding list with formatted rtables::CellValue().
-lyt <- basic_table() %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% - add_colcounts() %>% +lyt <- basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels ) -build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "BRA")) +build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "BRA")) #> B: Placebo A: Drug X C: Combination All Patients #> (N=7) (N=13) (N=10) (N=30) #> —————————————————————————————————————————————————————————————————————————————— @@ -397,7 +366,7 @@ Demographic Table#> U 0 0 0 0 #> UNDIFFERENTIATED 0 0 0 0 -build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "CHN")) +build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "CHN")) #> B: Placebo A: Drug X C: Combination All Patients #> (N=81) (N=74) (N=64) (N=219) #> —————————————————————————————————————————————————————————————————————————————— @@ -426,10 +395,10 @@ Adverse Event Tablesummarize_num_patients(): -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -438,7 +407,7 @@ Adverse Event Table= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -450,7 +419,7 @@ Adverse Event Tablebuild_table(), +the alt_df_counts argument in build_table(), which provides an alternative data set for deriving the counts in the header. This is often required when we work with data sets that include multiple records per patient as df, such as @@ -509,16 +478,16 @@ Statistics Functionssummarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = "unique_count", .labels = c(unique_count = "Total number of patients with at least one AE") ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -530,13 +499,13 @@ Statistics Functionssplit_rows_by() before calling again +with split_rows_by() before calling again summarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -545,7 +514,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -560,7 +529,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -596,12 +565,12 @@ Statistics Functionscount_occurrences(). Let’s first try using this function in a simpler layout without row splits: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%) Putting everything together, the final AE table looks like this: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion() layout creating function: -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2) To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables. @@ -148,7 +117,7 @@ Argumentsdo_summarize_row_groups (flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels. @@ -205,14 +174,14 @@ Arguments Value - A layout object suitable for passing to further layouting functions, or to rtables::build_table(). + A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout. Note -This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() +This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() that may be subjected to changes as rtables extends its support to more complex analysis pipelines in the column space. We encourage users to read the examples carefully and file issues for different use cases. In this function, labelstr behaves atypically. If labelstr = NULL (the default), row labels are assigned @@ -221,7 +190,7 @@ Note See also - analyze_vars(), rtables::analyze_colvars(). + analyze_vars(), rtables::analyze_colvars(). diff --git a/main/reference/append_varlabels.html b/main/reference/append_varlabels.html index 847cad73ef..63b3cc9e90 100644 --- a/main/reference/append_varlabels.html +++ b/main/reference/append_varlabels.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/apply_auto_formatting.html b/main/reference/apply_auto_formatting.html index c2143e89b7..e8c2ef6415 100644 --- a/main/reference/apply_auto_formatting.html +++ b/main/reference/apply_auto_formatting.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/argument_convention.html b/main/reference/argument_convention.html index 38e63f9e88..5437d98e56 100644 --- a/main/reference/argument_convention.html +++ b/main/reference/argument_convention.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -99,7 +68,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .df_row @@ -193,7 +162,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. diff --git a/main/reference/arrange_grobs.html b/main/reference/arrange_grobs.html index 724cfd33fb..9f91e79111 100644 --- a/main/reference/arrange_grobs.html +++ b/main/reference/arrange_grobs.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as.rtable.html b/main/reference/as.rtable.html index 8716b9da86..45840e3655 100644 --- a/main/reference/as.rtable.html +++ b/main/reference/as.rtable.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as_factor_keep_attributes.html b/main/reference/as_factor_keep_attributes.html index 7a80536208..5f2a7f8fe4 100644 --- a/main/reference/as_factor_keep_attributes.html +++ b/main/reference/as_factor_keep_attributes.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/assertions.html b/main/reference/assertions.html index 6bf063b098..644af7abfd 100644 --- a/main/reference/assertions.html +++ b/main/reference/assertions.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bins_percent_labels.html b/main/reference/bins_percent_labels.html index 2f3a732445..f656bf4a18 100644 --- a/main/reference/bins_percent_labels.html +++ b/main/reference/bins_percent_labels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bland_altman.html b/main/reference/bland_altman.html index 6d349b7c1a..e1b6dde0ba 100644 --- a/main/reference/bland_altman.html +++ b/main/reference/bland_altman.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/c_label_n.html b/main/reference/c_label_n.html index d8fb94cf37..e2cf9a6daf 100644 --- a/main/reference/c_label_n.html +++ b/main/reference/c_label_n.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -112,7 +81,7 @@ Arguments Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. Note diff --git a/main/reference/c_label_n_alt.html b/main/reference/c_label_n_alt.html index 8ace5db811..9e61d9bdf5 100644 --- a/main/reference/c_label_n_alt.html +++ b/main/reference/c_label_n_alt.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,13 +70,13 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. See also diff --git a/main/reference/cfun_by_flag.html b/main/reference/cfun_by_flag.html index 4dc256a74f..f7bc45e087 100644 --- a/main/reference/cfun_by_flag.html +++ b/main/reference/cfun_by_flag.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_diff_prop_ci.html b/main/reference/check_diff_prop_ci.html index cfa6600e59..6bb23e9e84 100644 --- a/main/reference/check_diff_prop_ci.html +++ b/main/reference/check_diff_prop_ci.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_same_n.html b/main/reference/check_same_n.html index b6bd65c6fe..230c27513d 100644 --- a/main/reference/check_same_n.html +++ b/main/reference/check_same_n.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combination_function.html b/main/reference/combination_function.html index f30d92a5b2..7d98c6d6ee 100644 --- a/main/reference/combination_function.html +++ b/main/reference/combination_function.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_counts.html b/main/reference/combine_counts.html index 4deba1b2fe..deb1229c3f 100644 --- a/main/reference/combine_counts.html +++ b/main/reference/combine_counts.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_groups.html b/main/reference/combine_groups.html index 7cc3d90c46..8d92853e87 100644 --- a/main/reference/combine_groups.html +++ b/main/reference/combine_groups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_levels.html b/main/reference/combine_levels.html index 060a39cfcb..c8963cd6c4 100644 --- a/main/reference/combine_levels.html +++ b/main/reference/combine_levels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_vectors.html b/main/reference/combine_vectors.html index 492bbe1e8c..bf3be4a50f 100644 --- a/main/reference/combine_vectors.html +++ b/main/reference/combine_vectors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/compare_variables.html b/main/reference/compare_variables.html index d0abf884e5..d56ee311ed 100644 --- a/main/reference/compare_variables.html +++ b/main/reference/compare_variables.html @@ -25,7 +25,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -43,37 +43,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ for numeric variables can be viewed by running get_stats("analyze_vars_numeric", add_pval = TRUE) and for non-numeric variables by running get_stats("analyze_vars_counts", add_pval = TRUE). Use the .stats parameter to specify the statistics to include in your output summary table. -Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column +Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column split on the variable to be used in comparisons, and specify a reference group via the ref_group parameter. Comparisons can be performed for each group (column) against the specified reference group by including the p-value statistic. @@ -250,7 +219,7 @@ ArgumentsValue compare_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_compare() to the table layout. s_compare() returns output of s_summary() and comparisons versus the reference group in the form of p-values. @@ -258,7 +227,7 @@ ValueFunctions compare_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_compare(): S3 generic function to produce a comparison summary. s_compare(numeric): Method for numeric class. This uses the standard t-test to calculate the p-value. diff --git a/main/reference/control_analyze_vars.html b/main/reference/control_analyze_vars.html index 1be5a04c97..1078371bf7 100644 --- a/main/reference/control_analyze_vars.html +++ b/main/reference/control_analyze_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_annot.html b/main/reference/control_annot.html index 90398288c9..3b70e7f74e 100644 --- a/main/reference/control_annot.html +++ b/main/reference/control_annot.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxph.html b/main/reference/control_coxph.html index 2bc84ded72..56a5de1af1 100644 --- a/main/reference/control_coxph.html +++ b/main/reference/control_coxph.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxreg.html b/main/reference/control_coxreg.html index 10fa198c10..f1bc41395e 100644 --- a/main/reference/control_coxreg.html +++ b/main/reference/control_coxreg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_incidence_rate.html b/main/reference/control_incidence_rate.html index 54df4de699..836397b300 100644 --- a/main/reference/control_incidence_rate.html +++ b/main/reference/control_incidence_rate.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_lineplot_vars.html b/main/reference/control_lineplot_vars.html index 27f0172aa3..881754fed8 100644 --- a/main/reference/control_lineplot_vars.html +++ b/main/reference/control_lineplot_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_logistic.html b/main/reference/control_logistic.html index 5064ed810f..6d2553575e 100644 --- a/main/reference/control_logistic.html +++ b/main/reference/control_logistic.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_riskdiff.html b/main/reference/control_riskdiff.html index 5b9034b9d9..9b30c90cdd 100644 --- a/main/reference/control_riskdiff.html +++ b/main/reference/control_riskdiff.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_step.html b/main/reference/control_step.html index 4f5edc7ec3..5a490cfc4e 100644 --- a/main/reference/control_step.html +++ b/main/reference/control_step.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_time.html b/main/reference/control_surv_time.html index dd3a50ff23..fd3247973a 100644 --- a/main/reference/control_surv_time.html +++ b/main/reference/control_surv_time.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_timepoint.html b/main/reference/control_surv_timepoint.html index 6149465fa1..34e02b09e1 100644 --- a/main/reference/control_surv_timepoint.html +++ b/main/reference/control_surv_timepoint.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/count_cumulative.html b/main/reference/count_cumulative.html index 90d68f8cf5..67dfa57606 100644 --- a/main/reference/count_cumulative.html +++ b/main/reference/count_cumulative.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -224,17 +193,17 @@ ArgumentsValue count_cumulative() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_cumulative() to the table layout. s_count_cumulative() returns a named list of count_fractions: a list with each thresholds value as a component, each component containing a vector for the count and fraction. -a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). +a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). Functions count_cumulative(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_cumulative(): Statistics function that produces a named list given a numeric vector of thresholds. a_count_cumulative(): Formatted analysis function which is used as afun in count_cumulative(). diff --git a/main/reference/count_missed_doses.html b/main/reference/count_missed_doses.html index e5dc01442f..833e3b457c 100644 --- a/main/reference/count_missed_doses.html +++ b/main/reference/count_missed_doses.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -195,17 +164,17 @@ ArgumentsValue count_missed_doses() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_missed_doses() to the table layout. s_count_nonmissing() returns the statistic n which is the count of non-missing values in x. s_count_missed_doses() returns the statistics n and count_fraction with one element for each threshold. -a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). +a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). Functions count_missed_doses(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_nonmissing(): Statistics function to count non-missing values. s_count_missed_doses(): Statistics function to count patients with missed doses. a_count_missed_doses(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences.html b/main/reference/count_occurrences.html index f336adc2fe..c2a2930e38 100644 --- a/main/reference/count_occurrences.html +++ b/main/reference/count_occurrences.html @@ -23,7 +23,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -41,37 +41,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -264,7 +233,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -272,24 +241,24 @@ ArgumentsValue count_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences() to the table layout. summarize_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences() to the table layout. s_count_occurrences() returns a list with:count: list of counts with one element per occurrence. count_fraction: list of counts and fractions with one element per occurrence. fraction: list of numerators and denominators with one element per occurrence. -a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). Functions count_occurrences(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). summarize_occurrences(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_occurrences(): Statistics function which counts number of patients that report an occurrence. a_count_occurrences(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences_by_grade.html b/main/reference/count_occurrences_by_grade.html index 7c837a348b..7934a93f2d 100644 --- a/main/reference/count_occurrences_by_grade.html +++ b/main/reference/count_occurrences_by_grade.html @@ -27,7 +27,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -45,37 +45,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -266,7 +235,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -274,22 +243,22 @@ ArgumentsValue count_occurrences_by_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences_by_grade() to the table layout. summarize_occurrences_by_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences_by_grade() to the table layout. s_count_occurrences_by_grade() returns a list of counts and fractions with one element per grade level or grade level grouping. -a_count_occurrences_by_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences_by_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_occurrences_by_grade(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). summarize_occurrences_by_grade(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_occurrences_by_grade(): Statistics function which counts the number of patients by highest grade. a_count_occurrences_by_grade(): Formatted analysis function which is used as afun diff --git a/main/reference/count_patients_events_in_cols.html b/main/reference/count_patients_events_in_cols.html index 260ca73eb5..73a0e9327b 100644 --- a/main/reference/count_patients_events_in_cols.html +++ b/main/reference/count_patients_events_in_cols.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -175,7 +144,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -188,7 +157,7 @@ ArgumentsValue summarize_patients_events_in_cols() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_patients_and_multiple_events() to the table layout. s_count_patients_and_multiple_events() returns a list with the statistics:unique: number of unique patients in df. all: number of rows in df. @@ -200,7 +169,7 @@ ValueFunctions summarize_patients_events_in_cols(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +arguments and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_patients_and_multiple_events(): Statistics function which counts numbers of patients and multiple events defined by filters. Used as analysis function afun in summarize_patients_events_in_cols(). diff --git a/main/reference/count_patients_with_event.html b/main/reference/count_patients_with_event.html index bd21bddef8..966c83eb83 100644 --- a/main/reference/count_patients_with_event.html +++ b/main/reference/count_patients_with_event.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -227,16 +196,16 @@ ArgumentsValue count_patients_with_event() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_patients_with_event() to the table layout. s_count_patients_with_event() returns the count and fraction of unique identifiers with the defined event. -a_count_patients_with_event() returns the corresponding list with formatted rtables::CellValue(). +a_count_patients_with_event() returns the corresponding list with formatted rtables::CellValue().
lyt <- basic_table() %>% - split_cols_by(var = "ARM") %>% - add_overall_col("All Patients") %>% - add_colcounts() %>% +lyt <- basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels ) -build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "BRA")) +build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "BRA")) #> B: Placebo A: Drug X C: Combination All Patients #> (N=7) (N=13) (N=10) (N=30) #> —————————————————————————————————————————————————————————————————————————————— @@ -397,7 +366,7 @@ Demographic Table#> U 0 0 0 0 #> UNDIFFERENTIATED 0 0 0 0 -build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "CHN")) +build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "CHN")) #> B: Placebo A: Drug X C: Combination All Patients #> (N=81) (N=74) (N=64) (N=219) #> —————————————————————————————————————————————————————————————————————————————— @@ -426,10 +395,10 @@ Adverse Event Tablesummarize_num_patients(): -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -438,7 +407,7 @@ Adverse Event Table= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -450,7 +419,7 @@ Adverse Event Tablebuild_table(), +the alt_df_counts argument in build_table(), which provides an alternative data set for deriving the counts in the header. This is often required when we work with data sets that include multiple records per patient as df, such as @@ -509,16 +478,16 @@ Statistics Functionssummarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = "unique_count", .labels = c(unique_count = "Total number of patients with at least one AE") ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -530,13 +499,13 @@ Statistics Functionssplit_rows_by() before calling again +with split_rows_by() before calling again summarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -545,7 +514,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -560,7 +529,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -596,12 +565,12 @@ Statistics Functionscount_occurrences(). Let’s first try using this function in a simpler layout without row splits: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%) Putting everything together, the final AE table looks like this: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion() layout creating function: -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2) To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables. @@ -148,7 +117,7 @@ Argumentsdo_summarize_row_groups (flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels. @@ -205,14 +174,14 @@ Arguments Value - A layout object suitable for passing to further layouting functions, or to rtables::build_table(). + A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout. Note -This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() +This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() that may be subjected to changes as rtables extends its support to more complex analysis pipelines in the column space. We encourage users to read the examples carefully and file issues for different use cases. In this function, labelstr behaves atypically. If labelstr = NULL (the default), row labels are assigned @@ -221,7 +190,7 @@ Note See also - analyze_vars(), rtables::analyze_colvars(). + analyze_vars(), rtables::analyze_colvars(). diff --git a/main/reference/append_varlabels.html b/main/reference/append_varlabels.html index 847cad73ef..63b3cc9e90 100644 --- a/main/reference/append_varlabels.html +++ b/main/reference/append_varlabels.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/apply_auto_formatting.html b/main/reference/apply_auto_formatting.html index c2143e89b7..e8c2ef6415 100644 --- a/main/reference/apply_auto_formatting.html +++ b/main/reference/apply_auto_formatting.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/argument_convention.html b/main/reference/argument_convention.html index 38e63f9e88..5437d98e56 100644 --- a/main/reference/argument_convention.html +++ b/main/reference/argument_convention.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -99,7 +68,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .df_row @@ -193,7 +162,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. diff --git a/main/reference/arrange_grobs.html b/main/reference/arrange_grobs.html index 724cfd33fb..9f91e79111 100644 --- a/main/reference/arrange_grobs.html +++ b/main/reference/arrange_grobs.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as.rtable.html b/main/reference/as.rtable.html index 8716b9da86..45840e3655 100644 --- a/main/reference/as.rtable.html +++ b/main/reference/as.rtable.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as_factor_keep_attributes.html b/main/reference/as_factor_keep_attributes.html index 7a80536208..5f2a7f8fe4 100644 --- a/main/reference/as_factor_keep_attributes.html +++ b/main/reference/as_factor_keep_attributes.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/assertions.html b/main/reference/assertions.html index 6bf063b098..644af7abfd 100644 --- a/main/reference/assertions.html +++ b/main/reference/assertions.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bins_percent_labels.html b/main/reference/bins_percent_labels.html index 2f3a732445..f656bf4a18 100644 --- a/main/reference/bins_percent_labels.html +++ b/main/reference/bins_percent_labels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bland_altman.html b/main/reference/bland_altman.html index 6d349b7c1a..e1b6dde0ba 100644 --- a/main/reference/bland_altman.html +++ b/main/reference/bland_altman.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/c_label_n.html b/main/reference/c_label_n.html index d8fb94cf37..e2cf9a6daf 100644 --- a/main/reference/c_label_n.html +++ b/main/reference/c_label_n.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -112,7 +81,7 @@ Arguments Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. Note diff --git a/main/reference/c_label_n_alt.html b/main/reference/c_label_n_alt.html index 8ace5db811..9e61d9bdf5 100644 --- a/main/reference/c_label_n_alt.html +++ b/main/reference/c_label_n_alt.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,13 +70,13 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. See also diff --git a/main/reference/cfun_by_flag.html b/main/reference/cfun_by_flag.html index 4dc256a74f..f7bc45e087 100644 --- a/main/reference/cfun_by_flag.html +++ b/main/reference/cfun_by_flag.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_diff_prop_ci.html b/main/reference/check_diff_prop_ci.html index cfa6600e59..6bb23e9e84 100644 --- a/main/reference/check_diff_prop_ci.html +++ b/main/reference/check_diff_prop_ci.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_same_n.html b/main/reference/check_same_n.html index b6bd65c6fe..230c27513d 100644 --- a/main/reference/check_same_n.html +++ b/main/reference/check_same_n.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combination_function.html b/main/reference/combination_function.html index f30d92a5b2..7d98c6d6ee 100644 --- a/main/reference/combination_function.html +++ b/main/reference/combination_function.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_counts.html b/main/reference/combine_counts.html index 4deba1b2fe..deb1229c3f 100644 --- a/main/reference/combine_counts.html +++ b/main/reference/combine_counts.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_groups.html b/main/reference/combine_groups.html index 7cc3d90c46..8d92853e87 100644 --- a/main/reference/combine_groups.html +++ b/main/reference/combine_groups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_levels.html b/main/reference/combine_levels.html index 060a39cfcb..c8963cd6c4 100644 --- a/main/reference/combine_levels.html +++ b/main/reference/combine_levels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_vectors.html b/main/reference/combine_vectors.html index 492bbe1e8c..bf3be4a50f 100644 --- a/main/reference/combine_vectors.html +++ b/main/reference/combine_vectors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/compare_variables.html b/main/reference/compare_variables.html index d0abf884e5..d56ee311ed 100644 --- a/main/reference/compare_variables.html +++ b/main/reference/compare_variables.html @@ -25,7 +25,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -43,37 +43,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ for numeric variables can be viewed by running get_stats("analyze_vars_numeric", add_pval = TRUE) and for non-numeric variables by running get_stats("analyze_vars_counts", add_pval = TRUE). Use the .stats parameter to specify the statistics to include in your output summary table. -Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column +Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column split on the variable to be used in comparisons, and specify a reference group via the ref_group parameter. Comparisons can be performed for each group (column) against the specified reference group by including the p-value statistic. @@ -250,7 +219,7 @@ ArgumentsValue compare_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_compare() to the table layout. s_compare() returns output of s_summary() and comparisons versus the reference group in the form of p-values. @@ -258,7 +227,7 @@ ValueFunctions compare_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_compare(): S3 generic function to produce a comparison summary. s_compare(numeric): Method for numeric class. This uses the standard t-test to calculate the p-value. diff --git a/main/reference/control_analyze_vars.html b/main/reference/control_analyze_vars.html index 1be5a04c97..1078371bf7 100644 --- a/main/reference/control_analyze_vars.html +++ b/main/reference/control_analyze_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_annot.html b/main/reference/control_annot.html index 90398288c9..3b70e7f74e 100644 --- a/main/reference/control_annot.html +++ b/main/reference/control_annot.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxph.html b/main/reference/control_coxph.html index 2bc84ded72..56a5de1af1 100644 --- a/main/reference/control_coxph.html +++ b/main/reference/control_coxph.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxreg.html b/main/reference/control_coxreg.html index 10fa198c10..f1bc41395e 100644 --- a/main/reference/control_coxreg.html +++ b/main/reference/control_coxreg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_incidence_rate.html b/main/reference/control_incidence_rate.html index 54df4de699..836397b300 100644 --- a/main/reference/control_incidence_rate.html +++ b/main/reference/control_incidence_rate.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_lineplot_vars.html b/main/reference/control_lineplot_vars.html index 27f0172aa3..881754fed8 100644 --- a/main/reference/control_lineplot_vars.html +++ b/main/reference/control_lineplot_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_logistic.html b/main/reference/control_logistic.html index 5064ed810f..6d2553575e 100644 --- a/main/reference/control_logistic.html +++ b/main/reference/control_logistic.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_riskdiff.html b/main/reference/control_riskdiff.html index 5b9034b9d9..9b30c90cdd 100644 --- a/main/reference/control_riskdiff.html +++ b/main/reference/control_riskdiff.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_step.html b/main/reference/control_step.html index 4f5edc7ec3..5a490cfc4e 100644 --- a/main/reference/control_step.html +++ b/main/reference/control_step.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_time.html b/main/reference/control_surv_time.html index dd3a50ff23..fd3247973a 100644 --- a/main/reference/control_surv_time.html +++ b/main/reference/control_surv_time.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_timepoint.html b/main/reference/control_surv_timepoint.html index 6149465fa1..34e02b09e1 100644 --- a/main/reference/control_surv_timepoint.html +++ b/main/reference/control_surv_timepoint.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/count_cumulative.html b/main/reference/count_cumulative.html index 90d68f8cf5..67dfa57606 100644 --- a/main/reference/count_cumulative.html +++ b/main/reference/count_cumulative.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -224,17 +193,17 @@ ArgumentsValue count_cumulative() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_cumulative() to the table layout. s_count_cumulative() returns a named list of count_fractions: a list with each thresholds value as a component, each component containing a vector for the count and fraction. -a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). +a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). Functions count_cumulative(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_cumulative(): Statistics function that produces a named list given a numeric vector of thresholds. a_count_cumulative(): Formatted analysis function which is used as afun in count_cumulative(). diff --git a/main/reference/count_missed_doses.html b/main/reference/count_missed_doses.html index e5dc01442f..833e3b457c 100644 --- a/main/reference/count_missed_doses.html +++ b/main/reference/count_missed_doses.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -195,17 +164,17 @@ ArgumentsValue count_missed_doses() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_missed_doses() to the table layout. s_count_nonmissing() returns the statistic n which is the count of non-missing values in x. s_count_missed_doses() returns the statistics n and count_fraction with one element for each threshold. -a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). +a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). Functions count_missed_doses(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_nonmissing(): Statistics function to count non-missing values. s_count_missed_doses(): Statistics function to count patients with missed doses. a_count_missed_doses(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences.html b/main/reference/count_occurrences.html index f336adc2fe..c2a2930e38 100644 --- a/main/reference/count_occurrences.html +++ b/main/reference/count_occurrences.html @@ -23,7 +23,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -41,37 +41,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -264,7 +233,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -272,24 +241,24 @@ ArgumentsValue count_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences() to the table layout. summarize_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences() to the table layout. s_count_occurrences() returns a list with:count: list of counts with one element per occurrence. count_fraction: list of counts and fractions with one element per occurrence. fraction: list of numerators and denominators with one element per occurrence. -a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). Functions count_occurrences(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). summarize_occurrences(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_occurrences(): Statistics function which counts number of patients that report an occurrence. a_count_occurrences(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences_by_grade.html b/main/reference/count_occurrences_by_grade.html index 7c837a348b..7934a93f2d 100644 --- a/main/reference/count_occurrences_by_grade.html +++ b/main/reference/count_occurrences_by_grade.html @@ -27,7 +27,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -45,37 +45,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -266,7 +235,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -274,22 +243,22 @@ ArgumentsValue count_occurrences_by_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences_by_grade() to the table layout. summarize_occurrences_by_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences_by_grade() to the table layout. s_count_occurrences_by_grade() returns a list of counts and fractions with one element per grade level or grade level grouping. -a_count_occurrences_by_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences_by_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_occurrences_by_grade(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). summarize_occurrences_by_grade(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_occurrences_by_grade(): Statistics function which counts the number of patients by highest grade. a_count_occurrences_by_grade(): Formatted analysis function which is used as afun diff --git a/main/reference/count_patients_events_in_cols.html b/main/reference/count_patients_events_in_cols.html index 260ca73eb5..73a0e9327b 100644 --- a/main/reference/count_patients_events_in_cols.html +++ b/main/reference/count_patients_events_in_cols.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -175,7 +144,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -188,7 +157,7 @@ ArgumentsValue summarize_patients_events_in_cols() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_patients_and_multiple_events() to the table layout. s_count_patients_and_multiple_events() returns a list with the statistics:unique: number of unique patients in df. all: number of rows in df. @@ -200,7 +169,7 @@ ValueFunctions summarize_patients_events_in_cols(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +arguments and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_patients_and_multiple_events(): Statistics function which counts numbers of patients and multiple events defined by filters. Used as analysis function afun in summarize_patients_events_in_cols(). diff --git a/main/reference/count_patients_with_event.html b/main/reference/count_patients_with_event.html index bd21bddef8..966c83eb83 100644 --- a/main/reference/count_patients_with_event.html +++ b/main/reference/count_patients_with_event.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -37,37 +37,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -227,16 +196,16 @@ ArgumentsValue count_patients_with_event() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_patients_with_event() to the table layout. s_count_patients_with_event() returns the count and fraction of unique identifiers with the defined event. -a_count_patients_with_event() returns the corresponding list with formatted rtables::CellValue(). +a_count_patients_with_event() returns the corresponding list with formatted rtables::CellValue().
lyt <- basic_table() %>% + split_cols_by(var = "ARM") %>% + add_overall_col("All Patients") %>% + add_colcounts() %>% analyze_vars( vars = vars, var_labels = var_labels ) -build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "BRA")) +build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "BRA")) #> B: Placebo A: Drug X C: Combination All Patients #> (N=7) (N=13) (N=10) (N=30) #> —————————————————————————————————————————————————————————————————————————————— @@ -397,7 +366,7 @@ Demographic Table#> U 0 0 0 0 #> UNDIFFERENTIATED 0 0 0 0 -build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "CHN")) +build_table(lyt, df = adsl %>% dplyr::filter(COUNTRY == "CHN")) #> B: Placebo A: Drug X C: Combination All Patients #> (N=81) (N=74) (N=64) (N=219) #> —————————————————————————————————————————————————————————————————————————————— @@ -426,10 +395,10 @@ Adverse Event Tablesummarize_num_patients()
-basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -438,7 +407,7 @@ Adverse Event Table= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -450,7 +419,7 @@ Adverse Event Tablebuild_table(), +the alt_df_counts argument in build_table(), which provides an alternative data set for deriving the counts in the header. This is often required when we work with data sets that include multiple records per patient as df, such as @@ -509,16 +478,16 @@ Statistics Functionssummarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = "unique_count", .labels = c(unique_count = "Total number of patients with at least one AE") ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -530,13 +499,13 @@ Statistics Functionssplit_rows_by() before calling again +with split_rows_by() before calling again summarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -545,7 +514,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -560,7 +529,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -596,12 +565,12 @@ Statistics Functionscount_occurrences(). Let’s first try using this function in a simpler layout without row splits: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%) Putting everything together, the final AE table looks like this: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion() layout creating function: -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2) To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables. @@ -148,7 +117,7 @@ Argumentsdo_summarize_row_groups (flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels. @@ -205,14 +174,14 @@ Arguments Value - A layout object suitable for passing to further layouting functions, or to rtables::build_table(). + A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout. Note -This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() +This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() that may be subjected to changes as rtables extends its support to more complex analysis pipelines in the column space. We encourage users to read the examples carefully and file issues for different use cases. In this function, labelstr behaves atypically. If labelstr = NULL (the default), row labels are assigned @@ -221,7 +190,7 @@ Note See also - analyze_vars(), rtables::analyze_colvars(). + analyze_vars(), rtables::analyze_colvars(). diff --git a/main/reference/append_varlabels.html b/main/reference/append_varlabels.html index 847cad73ef..63b3cc9e90 100644 --- a/main/reference/append_varlabels.html +++ b/main/reference/append_varlabels.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/apply_auto_formatting.html b/main/reference/apply_auto_formatting.html index c2143e89b7..e8c2ef6415 100644 --- a/main/reference/apply_auto_formatting.html +++ b/main/reference/apply_auto_formatting.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/argument_convention.html b/main/reference/argument_convention.html index 38e63f9e88..5437d98e56 100644 --- a/main/reference/argument_convention.html +++ b/main/reference/argument_convention.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -99,7 +68,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .df_row @@ -193,7 +162,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. diff --git a/main/reference/arrange_grobs.html b/main/reference/arrange_grobs.html index 724cfd33fb..9f91e79111 100644 --- a/main/reference/arrange_grobs.html +++ b/main/reference/arrange_grobs.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as.rtable.html b/main/reference/as.rtable.html index 8716b9da86..45840e3655 100644 --- a/main/reference/as.rtable.html +++ b/main/reference/as.rtable.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as_factor_keep_attributes.html b/main/reference/as_factor_keep_attributes.html index 7a80536208..5f2a7f8fe4 100644 --- a/main/reference/as_factor_keep_attributes.html +++ b/main/reference/as_factor_keep_attributes.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/assertions.html b/main/reference/assertions.html index 6bf063b098..644af7abfd 100644 --- a/main/reference/assertions.html +++ b/main/reference/assertions.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bins_percent_labels.html b/main/reference/bins_percent_labels.html index 2f3a732445..f656bf4a18 100644 --- a/main/reference/bins_percent_labels.html +++ b/main/reference/bins_percent_labels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bland_altman.html b/main/reference/bland_altman.html index 6d349b7c1a..e1b6dde0ba 100644 --- a/main/reference/bland_altman.html +++ b/main/reference/bland_altman.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/c_label_n.html b/main/reference/c_label_n.html index d8fb94cf37..e2cf9a6daf 100644 --- a/main/reference/c_label_n.html +++ b/main/reference/c_label_n.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -112,7 +81,7 @@ Arguments Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. Note diff --git a/main/reference/c_label_n_alt.html b/main/reference/c_label_n_alt.html index 8ace5db811..9e61d9bdf5 100644 --- a/main/reference/c_label_n_alt.html +++ b/main/reference/c_label_n_alt.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,13 +70,13 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. See also diff --git a/main/reference/cfun_by_flag.html b/main/reference/cfun_by_flag.html index 4dc256a74f..f7bc45e087 100644 --- a/main/reference/cfun_by_flag.html +++ b/main/reference/cfun_by_flag.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_diff_prop_ci.html b/main/reference/check_diff_prop_ci.html index cfa6600e59..6bb23e9e84 100644 --- a/main/reference/check_diff_prop_ci.html +++ b/main/reference/check_diff_prop_ci.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_same_n.html b/main/reference/check_same_n.html index b6bd65c6fe..230c27513d 100644 --- a/main/reference/check_same_n.html +++ b/main/reference/check_same_n.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combination_function.html b/main/reference/combination_function.html index f30d92a5b2..7d98c6d6ee 100644 --- a/main/reference/combination_function.html +++ b/main/reference/combination_function.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_counts.html b/main/reference/combine_counts.html index 4deba1b2fe..deb1229c3f 100644 --- a/main/reference/combine_counts.html +++ b/main/reference/combine_counts.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_groups.html b/main/reference/combine_groups.html index 7cc3d90c46..8d92853e87 100644 --- a/main/reference/combine_groups.html +++ b/main/reference/combine_groups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_levels.html b/main/reference/combine_levels.html index 060a39cfcb..c8963cd6c4 100644 --- a/main/reference/combine_levels.html +++ b/main/reference/combine_levels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_vectors.html b/main/reference/combine_vectors.html index 492bbe1e8c..bf3be4a50f 100644 --- a/main/reference/combine_vectors.html +++ b/main/reference/combine_vectors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/compare_variables.html b/main/reference/compare_variables.html index d0abf884e5..d56ee311ed 100644 --- a/main/reference/compare_variables.html +++ b/main/reference/compare_variables.html @@ -25,7 +25,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -43,37 +43,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ for numeric variables can be viewed by running get_stats("analyze_vars_numeric", add_pval = TRUE) and for non-numeric variables by running get_stats("analyze_vars_counts", add_pval = TRUE). Use the .stats parameter to specify the statistics to include in your output summary table. -Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column +Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column split on the variable to be used in comparisons, and specify a reference group via the ref_group parameter. Comparisons can be performed for each group (column) against the specified reference group by including the p-value statistic. @@ -250,7 +219,7 @@ ArgumentsValue compare_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_compare() to the table layout. s_compare() returns output of s_summary() and comparisons versus the reference group in the form of p-values. @@ -258,7 +227,7 @@ ValueFunctions compare_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_compare(): S3 generic function to produce a comparison summary. s_compare(numeric): Method for numeric class. This uses the standard t-test to calculate the p-value. diff --git a/main/reference/control_analyze_vars.html b/main/reference/control_analyze_vars.html index 1be5a04c97..1078371bf7 100644 --- a/main/reference/control_analyze_vars.html +++ b/main/reference/control_analyze_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_annot.html b/main/reference/control_annot.html index 90398288c9..3b70e7f74e 100644 --- a/main/reference/control_annot.html +++ b/main/reference/control_annot.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxph.html b/main/reference/control_coxph.html index 2bc84ded72..56a5de1af1 100644 --- a/main/reference/control_coxph.html +++ b/main/reference/control_coxph.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxreg.html b/main/reference/control_coxreg.html index 10fa198c10..f1bc41395e 100644 --- a/main/reference/control_coxreg.html +++ b/main/reference/control_coxreg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_incidence_rate.html b/main/reference/control_incidence_rate.html index 54df4de699..836397b300 100644 --- a/main/reference/control_incidence_rate.html +++ b/main/reference/control_incidence_rate.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_lineplot_vars.html b/main/reference/control_lineplot_vars.html index 27f0172aa3..881754fed8 100644 --- a/main/reference/control_lineplot_vars.html +++ b/main/reference/control_lineplot_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_logistic.html b/main/reference/control_logistic.html index 5064ed810f..6d2553575e 100644 --- a/main/reference/control_logistic.html +++ b/main/reference/control_logistic.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_riskdiff.html b/main/reference/control_riskdiff.html index 5b9034b9d9..9b30c90cdd 100644 --- a/main/reference/control_riskdiff.html +++ b/main/reference/control_riskdiff.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_step.html b/main/reference/control_step.html index 4f5edc7ec3..5a490cfc4e 100644 --- a/main/reference/control_step.html +++ b/main/reference/control_step.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_time.html b/main/reference/control_surv_time.html index dd3a50ff23..fd3247973a 100644 --- a/main/reference/control_surv_time.html +++ b/main/reference/control_surv_time.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_timepoint.html b/main/reference/control_surv_timepoint.html index 6149465fa1..34e02b09e1 100644 --- a/main/reference/control_surv_timepoint.html +++ b/main/reference/control_surv_timepoint.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/count_cumulative.html b/main/reference/count_cumulative.html index 90d68f8cf5..67dfa57606 100644 --- a/main/reference/count_cumulative.html +++ b/main/reference/count_cumulative.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -224,17 +193,17 @@ ArgumentsValue count_cumulative() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_cumulative() to the table layout. s_count_cumulative() returns a named list of count_fractions: a list with each thresholds value as a component, each component containing a vector for the count and fraction. -a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). +a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). Functions count_cumulative(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_cumulative(): Statistics function that produces a named list given a numeric vector of thresholds. a_count_cumulative(): Formatted analysis function which is used as afun in count_cumulative(). diff --git a/main/reference/count_missed_doses.html b/main/reference/count_missed_doses.html index e5dc01442f..833e3b457c 100644 --- a/main/reference/count_missed_doses.html +++ b/main/reference/count_missed_doses.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -195,17 +164,17 @@ ArgumentsValue count_missed_doses() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_missed_doses() to the table layout. s_count_nonmissing() returns the statistic n which is the count of non-missing values in x. s_count_missed_doses() returns the statistics n and count_fraction with one element for each threshold. -a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). +a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). Functions count_missed_doses(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_nonmissing(): Statistics function to count non-missing values. s_count_missed_doses(): Statistics function to count patients with missed doses. a_count_missed_doses(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences.html b/main/reference/count_occurrences.html index f336adc2fe..c2a2930e38 100644 --- a/main/reference/count_occurrences.html +++ b/main/reference/count_occurrences.html @@ -23,7 +23,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -41,37 +41,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -264,7 +233,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -272,24 +241,24 @@ ArgumentsValue count_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences() to the table layout. summarize_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences() to the table layout. s_count_occurrences() returns a list with:count: list of counts with one element per occurrence. count_fraction: list of counts and fractions with one element per occurrence. fraction: list of numerators and denominators with one element per occurrence. -a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). Functions count_occurrences(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). summarize_occurrences(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). +and additional format arguments. This function is a wrapper for rtables::summarize_row_groups(). s_count_occurrences(): Statistics function which counts number of patients that report an occurrence. a_count_occurrences(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences_by_grade.html b/main/reference/count_occurrences_by_grade.html index 7c837a348b..7934a93f2d 100644 --- a/main/reference/count_occurrences_by_grade.html +++ b/main/reference/count_occurrences_by_grade.html @@ -27,7 +27,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -45,37 +45,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -266,7 +235,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -274,22 +243,22 @@ ArgumentsValue
basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -438,7 +407,7 @@ Adverse Event Table= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -450,7 +419,7 @@ Adverse Event Tablebuild_table(), +the alt_df_counts argument in build_table(), which provides an alternative data set for deriving the counts in the header. This is often required when we work with data sets that include multiple records per patient as df, such as @@ -509,16 +478,16 @@ Statistics Functionssummarize_num_patients()
basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -438,7 +407,7 @@ Adverse Event Table= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -450,7 +419,7 @@ Adverse Event Tablebuild_table()
alt_df_counts
build_table()
df
-basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = "unique_count", .labels = c(unique_count = "Total number of patients with at least one AE") ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -530,13 +499,13 @@ Statistics Functionssplit_rows_by() before calling again +with split_rows_by() before calling again summarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -545,7 +514,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -560,7 +529,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -596,12 +565,12 @@ Statistics Functionscount_occurrences(). Let’s first try using this function in a simpler layout without row splits: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%) Putting everything together, the final AE table looks like this: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion() layout creating function: -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2) To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables. @@ -148,7 +117,7 @@ Argumentsdo_summarize_row_groups (flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels. @@ -205,14 +174,14 @@ Arguments Value - A layout object suitable for passing to further layouting functions, or to rtables::build_table(). + A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout. Note -This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() +This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() that may be subjected to changes as rtables extends its support to more complex analysis pipelines in the column space. We encourage users to read the examples carefully and file issues for different use cases. In this function, labelstr behaves atypically. If labelstr = NULL (the default), row labels are assigned @@ -221,7 +190,7 @@ Note See also - analyze_vars(), rtables::analyze_colvars(). + analyze_vars(), rtables::analyze_colvars(). diff --git a/main/reference/append_varlabels.html b/main/reference/append_varlabels.html index 847cad73ef..63b3cc9e90 100644 --- a/main/reference/append_varlabels.html +++ b/main/reference/append_varlabels.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/apply_auto_formatting.html b/main/reference/apply_auto_formatting.html index c2143e89b7..e8c2ef6415 100644 --- a/main/reference/apply_auto_formatting.html +++ b/main/reference/apply_auto_formatting.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/argument_convention.html b/main/reference/argument_convention.html index 38e63f9e88..5437d98e56 100644 --- a/main/reference/argument_convention.html +++ b/main/reference/argument_convention.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -99,7 +68,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .df_row @@ -193,7 +162,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. diff --git a/main/reference/arrange_grobs.html b/main/reference/arrange_grobs.html index 724cfd33fb..9f91e79111 100644 --- a/main/reference/arrange_grobs.html +++ b/main/reference/arrange_grobs.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as.rtable.html b/main/reference/as.rtable.html index 8716b9da86..45840e3655 100644 --- a/main/reference/as.rtable.html +++ b/main/reference/as.rtable.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as_factor_keep_attributes.html b/main/reference/as_factor_keep_attributes.html index 7a80536208..5f2a7f8fe4 100644 --- a/main/reference/as_factor_keep_attributes.html +++ b/main/reference/as_factor_keep_attributes.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/assertions.html b/main/reference/assertions.html index 6bf063b098..644af7abfd 100644 --- a/main/reference/assertions.html +++ b/main/reference/assertions.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bins_percent_labels.html b/main/reference/bins_percent_labels.html index 2f3a732445..f656bf4a18 100644 --- a/main/reference/bins_percent_labels.html +++ b/main/reference/bins_percent_labels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bland_altman.html b/main/reference/bland_altman.html index 6d349b7c1a..e1b6dde0ba 100644 --- a/main/reference/bland_altman.html +++ b/main/reference/bland_altman.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/c_label_n.html b/main/reference/c_label_n.html index d8fb94cf37..e2cf9a6daf 100644 --- a/main/reference/c_label_n.html +++ b/main/reference/c_label_n.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -112,7 +81,7 @@ Arguments Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. Note diff --git a/main/reference/c_label_n_alt.html b/main/reference/c_label_n_alt.html index 8ace5db811..9e61d9bdf5 100644 --- a/main/reference/c_label_n_alt.html +++ b/main/reference/c_label_n_alt.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,13 +70,13 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. See also diff --git a/main/reference/cfun_by_flag.html b/main/reference/cfun_by_flag.html index 4dc256a74f..f7bc45e087 100644 --- a/main/reference/cfun_by_flag.html +++ b/main/reference/cfun_by_flag.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_diff_prop_ci.html b/main/reference/check_diff_prop_ci.html index cfa6600e59..6bb23e9e84 100644 --- a/main/reference/check_diff_prop_ci.html +++ b/main/reference/check_diff_prop_ci.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_same_n.html b/main/reference/check_same_n.html index b6bd65c6fe..230c27513d 100644 --- a/main/reference/check_same_n.html +++ b/main/reference/check_same_n.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combination_function.html b/main/reference/combination_function.html index f30d92a5b2..7d98c6d6ee 100644 --- a/main/reference/combination_function.html +++ b/main/reference/combination_function.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_counts.html b/main/reference/combine_counts.html index 4deba1b2fe..deb1229c3f 100644 --- a/main/reference/combine_counts.html +++ b/main/reference/combine_counts.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_groups.html b/main/reference/combine_groups.html index 7cc3d90c46..8d92853e87 100644 --- a/main/reference/combine_groups.html +++ b/main/reference/combine_groups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_levels.html b/main/reference/combine_levels.html index 060a39cfcb..c8963cd6c4 100644 --- a/main/reference/combine_levels.html +++ b/main/reference/combine_levels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_vectors.html b/main/reference/combine_vectors.html index 492bbe1e8c..bf3be4a50f 100644 --- a/main/reference/combine_vectors.html +++ b/main/reference/combine_vectors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/compare_variables.html b/main/reference/compare_variables.html index d0abf884e5..d56ee311ed 100644 --- a/main/reference/compare_variables.html +++ b/main/reference/compare_variables.html @@ -25,7 +25,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -43,37 +43,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ for numeric variables can be viewed by running get_stats("analyze_vars_numeric", add_pval = TRUE) and for non-numeric variables by running get_stats("analyze_vars_counts", add_pval = TRUE). Use the .stats parameter to specify the statistics to include in your output summary table. -Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column +Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column split on the variable to be used in comparisons, and specify a reference group via the ref_group parameter. Comparisons can be performed for each group (column) against the specified reference group by including the p-value statistic. @@ -250,7 +219,7 @@ ArgumentsValue compare_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_compare() to the table layout. s_compare() returns output of s_summary() and comparisons versus the reference group in the form of p-values. @@ -258,7 +227,7 @@ ValueFunctions compare_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_compare(): S3 generic function to produce a comparison summary. s_compare(numeric): Method for numeric class. This uses the standard t-test to calculate the p-value. diff --git a/main/reference/control_analyze_vars.html b/main/reference/control_analyze_vars.html index 1be5a04c97..1078371bf7 100644 --- a/main/reference/control_analyze_vars.html +++ b/main/reference/control_analyze_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_annot.html b/main/reference/control_annot.html index 90398288c9..3b70e7f74e 100644 --- a/main/reference/control_annot.html +++ b/main/reference/control_annot.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxph.html b/main/reference/control_coxph.html index 2bc84ded72..56a5de1af1 100644 --- a/main/reference/control_coxph.html +++ b/main/reference/control_coxph.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxreg.html b/main/reference/control_coxreg.html index 10fa198c10..f1bc41395e 100644 --- a/main/reference/control_coxreg.html +++ b/main/reference/control_coxreg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_incidence_rate.html b/main/reference/control_incidence_rate.html index 54df4de699..836397b300 100644 --- a/main/reference/control_incidence_rate.html +++ b/main/reference/control_incidence_rate.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_lineplot_vars.html b/main/reference/control_lineplot_vars.html index 27f0172aa3..881754fed8 100644 --- a/main/reference/control_lineplot_vars.html +++ b/main/reference/control_lineplot_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_logistic.html b/main/reference/control_logistic.html index 5064ed810f..6d2553575e 100644 --- a/main/reference/control_logistic.html +++ b/main/reference/control_logistic.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_riskdiff.html b/main/reference/control_riskdiff.html index 5b9034b9d9..9b30c90cdd 100644 --- a/main/reference/control_riskdiff.html +++ b/main/reference/control_riskdiff.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_step.html b/main/reference/control_step.html index 4f5edc7ec3..5a490cfc4e 100644 --- a/main/reference/control_step.html +++ b/main/reference/control_step.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_time.html b/main/reference/control_surv_time.html index dd3a50ff23..fd3247973a 100644 --- a/main/reference/control_surv_time.html +++ b/main/reference/control_surv_time.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_timepoint.html b/main/reference/control_surv_timepoint.html index 6149465fa1..34e02b09e1 100644 --- a/main/reference/control_surv_timepoint.html +++ b/main/reference/control_surv_timepoint.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/count_cumulative.html b/main/reference/count_cumulative.html index 90d68f8cf5..67dfa57606 100644 --- a/main/reference/count_cumulative.html +++ b/main/reference/count_cumulative.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -224,17 +193,17 @@ ArgumentsValue count_cumulative() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_cumulative() to the table layout. s_count_cumulative() returns a named list of count_fractions: a list with each thresholds value as a component, each component containing a vector for the count and fraction. -a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). +a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). Functions count_cumulative(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_cumulative(): Statistics function that produces a named list given a numeric vector of thresholds. a_count_cumulative(): Formatted analysis function which is used as afun in count_cumulative(). diff --git a/main/reference/count_missed_doses.html b/main/reference/count_missed_doses.html index e5dc01442f..833e3b457c 100644 --- a/main/reference/count_missed_doses.html +++ b/main/reference/count_missed_doses.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -195,17 +164,17 @@ ArgumentsValue count_missed_doses() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_missed_doses() to the table layout. s_count_nonmissing() returns the statistic n which is the count of non-missing values in x. s_count_missed_doses() returns the statistics n and count_fraction with one element for each threshold. -a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). +a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). Functions count_missed_doses(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_nonmissing(): Statistics function to count non-missing values. s_count_missed_doses(): Statistics function to count patients with missed doses. a_count_missed_doses(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences.html b/main/reference/count_occurrences.html index f336adc2fe..c2a2930e38 100644 --- a/main/reference/count_occurrences.html +++ b/main/reference/count_occurrences.html @@ -23,7 +23,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -41,37 +41,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -264,7 +233,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -272,24 +241,24 @@ ArgumentsValue count_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences() to the table layout. summarize_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences() to the table layout. s_count_occurrences() returns a list with:count: list of counts with one element per occurrence. count_fraction: list of counts and fractions with one element per occurrence. fraction: list of numerators and denominators with one element per occurrence. -a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences() returns the corresponding list with formatted rtables::CellValue().
basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = "unique_count", .labels = c(unique_count = "Total number of patients with at least one AE") ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -530,13 +499,13 @@ Statistics Functionssplit_rows_by() before calling again +with split_rows_by() before calling again summarize_num_patients(). -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -545,7 +514,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -560,7 +529,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -596,12 +565,12 @@ Statistics Functionscount_occurrences(). Let’s first try using this function in a simpler layout without row splits: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%) Putting everything together, the final AE table looks like this: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion() layout creating function: -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2) To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables. @@ -148,7 +117,7 @@ Argumentsdo_summarize_row_groups (flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels. @@ -205,14 +174,14 @@ Arguments Value - A layout object suitable for passing to further layouting functions, or to rtables::build_table(). + A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout. Note -This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() +This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() that may be subjected to changes as rtables extends its support to more complex analysis pipelines in the column space. We encourage users to read the examples carefully and file issues for different use cases. In this function, labelstr behaves atypically. If labelstr = NULL (the default), row labels are assigned @@ -221,7 +190,7 @@ Note See also - analyze_vars(), rtables::analyze_colvars(). + analyze_vars(), rtables::analyze_colvars(). diff --git a/main/reference/append_varlabels.html b/main/reference/append_varlabels.html index 847cad73ef..63b3cc9e90 100644 --- a/main/reference/append_varlabels.html +++ b/main/reference/append_varlabels.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/apply_auto_formatting.html b/main/reference/apply_auto_formatting.html index c2143e89b7..e8c2ef6415 100644 --- a/main/reference/apply_auto_formatting.html +++ b/main/reference/apply_auto_formatting.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/argument_convention.html b/main/reference/argument_convention.html index 38e63f9e88..5437d98e56 100644 --- a/main/reference/argument_convention.html +++ b/main/reference/argument_convention.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -99,7 +68,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .df_row @@ -193,7 +162,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. diff --git a/main/reference/arrange_grobs.html b/main/reference/arrange_grobs.html index 724cfd33fb..9f91e79111 100644 --- a/main/reference/arrange_grobs.html +++ b/main/reference/arrange_grobs.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as.rtable.html b/main/reference/as.rtable.html index 8716b9da86..45840e3655 100644 --- a/main/reference/as.rtable.html +++ b/main/reference/as.rtable.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as_factor_keep_attributes.html b/main/reference/as_factor_keep_attributes.html index 7a80536208..5f2a7f8fe4 100644 --- a/main/reference/as_factor_keep_attributes.html +++ b/main/reference/as_factor_keep_attributes.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/assertions.html b/main/reference/assertions.html index 6bf063b098..644af7abfd 100644 --- a/main/reference/assertions.html +++ b/main/reference/assertions.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bins_percent_labels.html b/main/reference/bins_percent_labels.html index 2f3a732445..f656bf4a18 100644 --- a/main/reference/bins_percent_labels.html +++ b/main/reference/bins_percent_labels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bland_altman.html b/main/reference/bland_altman.html index 6d349b7c1a..e1b6dde0ba 100644 --- a/main/reference/bland_altman.html +++ b/main/reference/bland_altman.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/c_label_n.html b/main/reference/c_label_n.html index d8fb94cf37..e2cf9a6daf 100644 --- a/main/reference/c_label_n.html +++ b/main/reference/c_label_n.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -112,7 +81,7 @@ Arguments Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. Note diff --git a/main/reference/c_label_n_alt.html b/main/reference/c_label_n_alt.html index 8ace5db811..9e61d9bdf5 100644 --- a/main/reference/c_label_n_alt.html +++ b/main/reference/c_label_n_alt.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,13 +70,13 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. See also diff --git a/main/reference/cfun_by_flag.html b/main/reference/cfun_by_flag.html index 4dc256a74f..f7bc45e087 100644 --- a/main/reference/cfun_by_flag.html +++ b/main/reference/cfun_by_flag.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_diff_prop_ci.html b/main/reference/check_diff_prop_ci.html index cfa6600e59..6bb23e9e84 100644 --- a/main/reference/check_diff_prop_ci.html +++ b/main/reference/check_diff_prop_ci.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_same_n.html b/main/reference/check_same_n.html index b6bd65c6fe..230c27513d 100644 --- a/main/reference/check_same_n.html +++ b/main/reference/check_same_n.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combination_function.html b/main/reference/combination_function.html index f30d92a5b2..7d98c6d6ee 100644 --- a/main/reference/combination_function.html +++ b/main/reference/combination_function.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_counts.html b/main/reference/combine_counts.html index 4deba1b2fe..deb1229c3f 100644 --- a/main/reference/combine_counts.html +++ b/main/reference/combine_counts.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_groups.html b/main/reference/combine_groups.html index 7cc3d90c46..8d92853e87 100644 --- a/main/reference/combine_groups.html +++ b/main/reference/combine_groups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_levels.html b/main/reference/combine_levels.html index 060a39cfcb..c8963cd6c4 100644 --- a/main/reference/combine_levels.html +++ b/main/reference/combine_levels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_vectors.html b/main/reference/combine_vectors.html index 492bbe1e8c..bf3be4a50f 100644 --- a/main/reference/combine_vectors.html +++ b/main/reference/combine_vectors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/compare_variables.html b/main/reference/compare_variables.html index d0abf884e5..d56ee311ed 100644 --- a/main/reference/compare_variables.html +++ b/main/reference/compare_variables.html @@ -25,7 +25,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -43,37 +43,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ for numeric variables can be viewed by running get_stats("analyze_vars_numeric", add_pval = TRUE) and for non-numeric variables by running get_stats("analyze_vars_counts", add_pval = TRUE). Use the .stats parameter to specify the statistics to include in your output summary table. -Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column +Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column split on the variable to be used in comparisons, and specify a reference group via the ref_group parameter. Comparisons can be performed for each group (column) against the specified reference group by including the p-value statistic. @@ -250,7 +219,7 @@ ArgumentsValue compare_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_compare() to the table layout. s_compare() returns output of s_summary() and comparisons versus the reference group in the form of p-values. @@ -258,7 +227,7 @@ ValueFunctions compare_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_compare(): S3 generic function to produce a comparison summary. s_compare(numeric): Method for numeric class. This uses the standard t-test to calculate the p-value. diff --git a/main/reference/control_analyze_vars.html b/main/reference/control_analyze_vars.html index 1be5a04c97..1078371bf7 100644 --- a/main/reference/control_analyze_vars.html +++ b/main/reference/control_analyze_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_annot.html b/main/reference/control_annot.html index 90398288c9..3b70e7f74e 100644 --- a/main/reference/control_annot.html +++ b/main/reference/control_annot.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxph.html b/main/reference/control_coxph.html index 2bc84ded72..56a5de1af1 100644 --- a/main/reference/control_coxph.html +++ b/main/reference/control_coxph.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxreg.html b/main/reference/control_coxreg.html index 10fa198c10..f1bc41395e 100644 --- a/main/reference/control_coxreg.html +++ b/main/reference/control_coxreg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_incidence_rate.html b/main/reference/control_incidence_rate.html index 54df4de699..836397b300 100644 --- a/main/reference/control_incidence_rate.html +++ b/main/reference/control_incidence_rate.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_lineplot_vars.html b/main/reference/control_lineplot_vars.html index 27f0172aa3..881754fed8 100644 --- a/main/reference/control_lineplot_vars.html +++ b/main/reference/control_lineplot_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_logistic.html b/main/reference/control_logistic.html index 5064ed810f..6d2553575e 100644 --- a/main/reference/control_logistic.html +++ b/main/reference/control_logistic.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_riskdiff.html b/main/reference/control_riskdiff.html index 5b9034b9d9..9b30c90cdd 100644 --- a/main/reference/control_riskdiff.html +++ b/main/reference/control_riskdiff.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_step.html b/main/reference/control_step.html index 4f5edc7ec3..5a490cfc4e 100644 --- a/main/reference/control_step.html +++ b/main/reference/control_step.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_time.html b/main/reference/control_surv_time.html index dd3a50ff23..fd3247973a 100644 --- a/main/reference/control_surv_time.html +++ b/main/reference/control_surv_time.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_timepoint.html b/main/reference/control_surv_timepoint.html index 6149465fa1..34e02b09e1 100644 --- a/main/reference/control_surv_timepoint.html +++ b/main/reference/control_surv_timepoint.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/count_cumulative.html b/main/reference/count_cumulative.html index 90d68f8cf5..67dfa57606 100644 --- a/main/reference/count_cumulative.html +++ b/main/reference/count_cumulative.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -224,17 +193,17 @@ ArgumentsValue count_cumulative() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_cumulative() to the table layout. s_count_cumulative() returns a named list of count_fractions: a list with each thresholds value as a component, each component containing a vector for the count and fraction. -a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). +a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). Functions count_cumulative(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_cumulative(): Statistics function that produces a named list given a numeric vector of thresholds. a_count_cumulative(): Formatted analysis function which is used as afun in count_cumulative(). diff --git a/main/reference/count_missed_doses.html b/main/reference/count_missed_doses.html index e5dc01442f..833e3b457c 100644 --- a/main/reference/count_missed_doses.html +++ b/main/reference/count_missed_doses.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -195,17 +164,17 @@ ArgumentsValue count_missed_doses() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_missed_doses() to the table layout. s_count_nonmissing() returns the statistic n which is the count of non-missing values in x. s_count_missed_doses() returns the statistics n and count_fraction with one element for each threshold. -a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). +a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue(). Functions count_missed_doses(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_nonmissing(): Statistics function to count non-missing values. s_count_missed_doses(): Statistics function to count patients with missed doses. a_count_missed_doses(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences.html b/main/reference/count_occurrences.html index f336adc2fe..c2a2930e38 100644 --- a/main/reference/count_occurrences.html +++ b/main/reference/count_occurrences.html @@ -23,7 +23,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -41,37 +41,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -264,7 +233,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -272,24 +241,24 @@ ArgumentsValue count_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences() to the table layout. summarize_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences() to the table layout. s_count_occurrences() returns a list with:count: list of counts with one element per occurrence. count_fraction: list of counts and fractions with one element per occurrence. fraction: list of numerators and denominators with one element per occurrence. -a_count_occurrences() returns the corresponding list with formatted rtables::CellValue(). +a_count_occurrences() returns the corresponding list with formatted rtables::CellValue().
basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = "unique_count", .labels = c(unique_count = "Total number of patients with at least one AE") ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -530,13 +499,13 @@ Statistics Functionssplit_rows_by()
split_rows_by()
summarize_num_patients()
-basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -545,7 +514,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -560,7 +529,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -596,12 +565,12 @@ Statistics Functionscount_occurrences(). Let’s first try using this function in a simpler layout without row splits: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%) Putting everything together, the final AE table looks like this: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion() layout creating function: -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2) To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables. @@ -148,7 +117,7 @@ Argumentsdo_summarize_row_groups (flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels. @@ -205,14 +174,14 @@ Arguments Value - A layout object suitable for passing to further layouting functions, or to rtables::build_table(). + A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout. Note -This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() +This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() that may be subjected to changes as rtables extends its support to more complex analysis pipelines in the column space. We encourage users to read the examples carefully and file issues for different use cases. In this function, labelstr behaves atypically. If labelstr = NULL (the default), row labels are assigned @@ -221,7 +190,7 @@ Note See also - analyze_vars(), rtables::analyze_colvars(). + analyze_vars(), rtables::analyze_colvars(). diff --git a/main/reference/append_varlabels.html b/main/reference/append_varlabels.html index 847cad73ef..63b3cc9e90 100644 --- a/main/reference/append_varlabels.html +++ b/main/reference/append_varlabels.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/apply_auto_formatting.html b/main/reference/apply_auto_formatting.html index c2143e89b7..e8c2ef6415 100644 --- a/main/reference/apply_auto_formatting.html +++ b/main/reference/apply_auto_formatting.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/argument_convention.html b/main/reference/argument_convention.html index 38e63f9e88..5437d98e56 100644 --- a/main/reference/argument_convention.html +++ b/main/reference/argument_convention.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -99,7 +68,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .df_row @@ -193,7 +162,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. diff --git a/main/reference/arrange_grobs.html b/main/reference/arrange_grobs.html index 724cfd33fb..9f91e79111 100644 --- a/main/reference/arrange_grobs.html +++ b/main/reference/arrange_grobs.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as.rtable.html b/main/reference/as.rtable.html index 8716b9da86..45840e3655 100644 --- a/main/reference/as.rtable.html +++ b/main/reference/as.rtable.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as_factor_keep_attributes.html b/main/reference/as_factor_keep_attributes.html index 7a80536208..5f2a7f8fe4 100644 --- a/main/reference/as_factor_keep_attributes.html +++ b/main/reference/as_factor_keep_attributes.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/assertions.html b/main/reference/assertions.html index 6bf063b098..644af7abfd 100644 --- a/main/reference/assertions.html +++ b/main/reference/assertions.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bins_percent_labels.html b/main/reference/bins_percent_labels.html index 2f3a732445..f656bf4a18 100644 --- a/main/reference/bins_percent_labels.html +++ b/main/reference/bins_percent_labels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bland_altman.html b/main/reference/bland_altman.html index 6d349b7c1a..e1b6dde0ba 100644 --- a/main/reference/bland_altman.html +++ b/main/reference/bland_altman.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/c_label_n.html b/main/reference/c_label_n.html index d8fb94cf37..e2cf9a6daf 100644 --- a/main/reference/c_label_n.html +++ b/main/reference/c_label_n.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -112,7 +81,7 @@ Arguments Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. Note diff --git a/main/reference/c_label_n_alt.html b/main/reference/c_label_n_alt.html index 8ace5db811..9e61d9bdf5 100644 --- a/main/reference/c_label_n_alt.html +++ b/main/reference/c_label_n_alt.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,13 +70,13 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. See also diff --git a/main/reference/cfun_by_flag.html b/main/reference/cfun_by_flag.html index 4dc256a74f..f7bc45e087 100644 --- a/main/reference/cfun_by_flag.html +++ b/main/reference/cfun_by_flag.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_diff_prop_ci.html b/main/reference/check_diff_prop_ci.html index cfa6600e59..6bb23e9e84 100644 --- a/main/reference/check_diff_prop_ci.html +++ b/main/reference/check_diff_prop_ci.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_same_n.html b/main/reference/check_same_n.html index b6bd65c6fe..230c27513d 100644 --- a/main/reference/check_same_n.html +++ b/main/reference/check_same_n.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combination_function.html b/main/reference/combination_function.html index f30d92a5b2..7d98c6d6ee 100644 --- a/main/reference/combination_function.html +++ b/main/reference/combination_function.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_counts.html b/main/reference/combine_counts.html index 4deba1b2fe..deb1229c3f 100644 --- a/main/reference/combine_counts.html +++ b/main/reference/combine_counts.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_groups.html b/main/reference/combine_groups.html index 7cc3d90c46..8d92853e87 100644 --- a/main/reference/combine_groups.html +++ b/main/reference/combine_groups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_levels.html b/main/reference/combine_levels.html index 060a39cfcb..c8963cd6c4 100644 --- a/main/reference/combine_levels.html +++ b/main/reference/combine_levels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_vectors.html b/main/reference/combine_vectors.html index 492bbe1e8c..bf3be4a50f 100644 --- a/main/reference/combine_vectors.html +++ b/main/reference/combine_vectors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/compare_variables.html b/main/reference/compare_variables.html index d0abf884e5..d56ee311ed 100644 --- a/main/reference/compare_variables.html +++ b/main/reference/compare_variables.html @@ -25,7 +25,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -43,37 +43,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ for numeric variables can be viewed by running get_stats("analyze_vars_numeric", add_pval = TRUE) and for non-numeric variables by running get_stats("analyze_vars_counts", add_pval = TRUE). Use the .stats parameter to specify the statistics to include in your output summary table. -Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column +Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column split on the variable to be used in comparisons, and specify a reference group via the ref_group parameter. Comparisons can be performed for each group (column) against the specified reference group by including the p-value statistic. @@ -250,7 +219,7 @@ ArgumentsValue compare_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_compare() to the table layout. s_compare() returns output of s_summary() and comparisons versus the reference group in the form of p-values. @@ -258,7 +227,7 @@ ValueFunctions compare_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_compare(): S3 generic function to produce a comparison summary. s_compare(numeric): Method for numeric class. This uses the standard t-test to calculate the p-value. diff --git a/main/reference/control_analyze_vars.html b/main/reference/control_analyze_vars.html index 1be5a04c97..1078371bf7 100644 --- a/main/reference/control_analyze_vars.html +++ b/main/reference/control_analyze_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_annot.html b/main/reference/control_annot.html index 90398288c9..3b70e7f74e 100644 --- a/main/reference/control_annot.html +++ b/main/reference/control_annot.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxph.html b/main/reference/control_coxph.html index 2bc84ded72..56a5de1af1 100644 --- a/main/reference/control_coxph.html +++ b/main/reference/control_coxph.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxreg.html b/main/reference/control_coxreg.html index 10fa198c10..f1bc41395e 100644 --- a/main/reference/control_coxreg.html +++ b/main/reference/control_coxreg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_incidence_rate.html b/main/reference/control_incidence_rate.html index 54df4de699..836397b300 100644 --- a/main/reference/control_incidence_rate.html +++ b/main/reference/control_incidence_rate.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_lineplot_vars.html b/main/reference/control_lineplot_vars.html index 27f0172aa3..881754fed8 100644 --- a/main/reference/control_lineplot_vars.html +++ b/main/reference/control_lineplot_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_logistic.html b/main/reference/control_logistic.html index 5064ed810f..6d2553575e 100644 --- a/main/reference/control_logistic.html +++ b/main/reference/control_logistic.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_riskdiff.html b/main/reference/control_riskdiff.html index 5b9034b9d9..9b30c90cdd 100644 --- a/main/reference/control_riskdiff.html +++ b/main/reference/control_riskdiff.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_step.html b/main/reference/control_step.html index 4f5edc7ec3..5a490cfc4e 100644 --- a/main/reference/control_step.html +++ b/main/reference/control_step.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_time.html b/main/reference/control_surv_time.html index dd3a50ff23..fd3247973a 100644 --- a/main/reference/control_surv_time.html +++ b/main/reference/control_surv_time.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_timepoint.html b/main/reference/control_surv_timepoint.html index 6149465fa1..34e02b09e1 100644 --- a/main/reference/control_surv_timepoint.html +++ b/main/reference/control_surv_timepoint.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/count_cumulative.html b/main/reference/count_cumulative.html index 90d68f8cf5..67dfa57606 100644 --- a/main/reference/count_cumulative.html +++ b/main/reference/count_cumulative.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -224,17 +193,17 @@ ArgumentsValue count_cumulative() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_cumulative() to the table layout. s_count_cumulative() returns a named list of count_fractions: a list with each thresholds value as a component, each component containing a vector for the count and fraction. -a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). +a_count_cumulative() returns the corresponding list with formatted rtables::CellValue().
basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -545,7 +514,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -560,7 +529,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -596,12 +565,12 @@ Statistics Functionscount_occurrences(). Let’s first try using this function in a simpler layout without row splits: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%) Putting everything together, the final AE table looks like this: -basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion() layout creating function: -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2) To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables. @@ -148,7 +117,7 @@ Argumentsdo_summarize_row_groups (flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels. @@ -205,14 +174,14 @@ Arguments Value - A layout object suitable for passing to further layouting functions, or to rtables::build_table(). + A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout. Note -This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() +This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() that may be subjected to changes as rtables extends its support to more complex analysis pipelines in the column space. We encourage users to read the examples carefully and file issues for different use cases. In this function, labelstr behaves atypically. If labelstr = NULL (the default), row labels are assigned @@ -221,7 +190,7 @@ Note See also - analyze_vars(), rtables::analyze_colvars(). + analyze_vars(), rtables::analyze_colvars(). diff --git a/main/reference/append_varlabels.html b/main/reference/append_varlabels.html index 847cad73ef..63b3cc9e90 100644 --- a/main/reference/append_varlabels.html +++ b/main/reference/append_varlabels.html @@ -13,7 +13,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -31,37 +31,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/apply_auto_formatting.html b/main/reference/apply_auto_formatting.html index c2143e89b7..e8c2ef6415 100644 --- a/main/reference/apply_auto_formatting.html +++ b/main/reference/apply_auto_formatting.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/argument_convention.html b/main/reference/argument_convention.html index 38e63f9e88..5437d98e56 100644 --- a/main/reference/argument_convention.html +++ b/main/reference/argument_convention.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -99,7 +68,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .df_row @@ -193,7 +162,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. diff --git a/main/reference/arrange_grobs.html b/main/reference/arrange_grobs.html index 724cfd33fb..9f91e79111 100644 --- a/main/reference/arrange_grobs.html +++ b/main/reference/arrange_grobs.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as.rtable.html b/main/reference/as.rtable.html index 8716b9da86..45840e3655 100644 --- a/main/reference/as.rtable.html +++ b/main/reference/as.rtable.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/as_factor_keep_attributes.html b/main/reference/as_factor_keep_attributes.html index 7a80536208..5f2a7f8fe4 100644 --- a/main/reference/as_factor_keep_attributes.html +++ b/main/reference/as_factor_keep_attributes.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/assertions.html b/main/reference/assertions.html index 6bf063b098..644af7abfd 100644 --- a/main/reference/assertions.html +++ b/main/reference/assertions.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bins_percent_labels.html b/main/reference/bins_percent_labels.html index 2f3a732445..f656bf4a18 100644 --- a/main/reference/bins_percent_labels.html +++ b/main/reference/bins_percent_labels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/bland_altman.html b/main/reference/bland_altman.html index 6d349b7c1a..e1b6dde0ba 100644 --- a/main/reference/bland_altman.html +++ b/main/reference/bland_altman.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/c_label_n.html b/main/reference/c_label_n.html index d8fb94cf37..e2cf9a6daf 100644 --- a/main/reference/c_label_n.html +++ b/main/reference/c_label_n.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -112,7 +81,7 @@ Arguments Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. Note diff --git a/main/reference/c_label_n_alt.html b/main/reference/c_label_n_alt.html index 8ace5db811..9e61d9bdf5 100644 --- a/main/reference/c_label_n_alt.html +++ b/main/reference/c_label_n_alt.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,13 +70,13 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. Value - A list with formatted rtables::CellValue() with the row count value and the correct label. + A list with formatted rtables::CellValue() with the row count value and the correct label. See also diff --git a/main/reference/cfun_by_flag.html b/main/reference/cfun_by_flag.html index 4dc256a74f..f7bc45e087 100644 --- a/main/reference/cfun_by_flag.html +++ b/main/reference/cfun_by_flag.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_diff_prop_ci.html b/main/reference/check_diff_prop_ci.html index cfa6600e59..6bb23e9e84 100644 --- a/main/reference/check_diff_prop_ci.html +++ b/main/reference/check_diff_prop_ci.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/check_same_n.html b/main/reference/check_same_n.html index b6bd65c6fe..230c27513d 100644 --- a/main/reference/check_same_n.html +++ b/main/reference/check_same_n.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combination_function.html b/main/reference/combination_function.html index f30d92a5b2..7d98c6d6ee 100644 --- a/main/reference/combination_function.html +++ b/main/reference/combination_function.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_counts.html b/main/reference/combine_counts.html index 4deba1b2fe..deb1229c3f 100644 --- a/main/reference/combine_counts.html +++ b/main/reference/combine_counts.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_groups.html b/main/reference/combine_groups.html index 7cc3d90c46..8d92853e87 100644 --- a/main/reference/combine_groups.html +++ b/main/reference/combine_groups.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_levels.html b/main/reference/combine_levels.html index 060a39cfcb..c8963cd6c4 100644 --- a/main/reference/combine_levels.html +++ b/main/reference/combine_levels.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/combine_vectors.html b/main/reference/combine_vectors.html index 492bbe1e8c..bf3be4a50f 100644 --- a/main/reference/combine_vectors.html +++ b/main/reference/combine_vectors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/compare_variables.html b/main/reference/compare_variables.html index d0abf884e5..d56ee311ed 100644 --- a/main/reference/compare_variables.html +++ b/main/reference/compare_variables.html @@ -25,7 +25,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -43,37 +43,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -101,7 +70,7 @@ for numeric variables can be viewed by running get_stats("analyze_vars_numeric", add_pval = TRUE) and for non-numeric variables by running get_stats("analyze_vars_counts", add_pval = TRUE). Use the .stats parameter to specify the statistics to include in your output summary table. -Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column +Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column split on the variable to be used in comparisons, and specify a reference group via the ref_group parameter. Comparisons can be performed for each group (column) against the specified reference group by including the p-value statistic. @@ -250,7 +219,7 @@ ArgumentsValue compare_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_compare() to the table layout. s_compare() returns output of s_summary() and comparisons versus the reference group in the form of p-values. @@ -258,7 +227,7 @@ ValueFunctions compare_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_compare(): S3 generic function to produce a comparison summary. s_compare(numeric): Method for numeric class. This uses the standard t-test to calculate the p-value. diff --git a/main/reference/control_analyze_vars.html b/main/reference/control_analyze_vars.html index 1be5a04c97..1078371bf7 100644 --- a/main/reference/control_analyze_vars.html +++ b/main/reference/control_analyze_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_annot.html b/main/reference/control_annot.html index 90398288c9..3b70e7f74e 100644 --- a/main/reference/control_annot.html +++ b/main/reference/control_annot.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxph.html b/main/reference/control_coxph.html index 2bc84ded72..56a5de1af1 100644 --- a/main/reference/control_coxph.html +++ b/main/reference/control_coxph.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_coxreg.html b/main/reference/control_coxreg.html index 10fa198c10..f1bc41395e 100644 --- a/main/reference/control_coxreg.html +++ b/main/reference/control_coxreg.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_incidence_rate.html b/main/reference/control_incidence_rate.html index 54df4de699..836397b300 100644 --- a/main/reference/control_incidence_rate.html +++ b/main/reference/control_incidence_rate.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_lineplot_vars.html b/main/reference/control_lineplot_vars.html index 27f0172aa3..881754fed8 100644 --- a/main/reference/control_lineplot_vars.html +++ b/main/reference/control_lineplot_vars.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_logistic.html b/main/reference/control_logistic.html index 5064ed810f..6d2553575e 100644 --- a/main/reference/control_logistic.html +++ b/main/reference/control_logistic.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_riskdiff.html b/main/reference/control_riskdiff.html index 5b9034b9d9..9b30c90cdd 100644 --- a/main/reference/control_riskdiff.html +++ b/main/reference/control_riskdiff.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_step.html b/main/reference/control_step.html index 4f5edc7ec3..5a490cfc4e 100644 --- a/main/reference/control_step.html +++ b/main/reference/control_step.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -27,37 +27,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_time.html b/main/reference/control_surv_time.html index dd3a50ff23..fd3247973a 100644 --- a/main/reference/control_surv_time.html +++ b/main/reference/control_surv_time.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/control_surv_timepoint.html b/main/reference/control_surv_timepoint.html index 6149465fa1..34e02b09e1 100644 --- a/main/reference/control_surv_timepoint.html +++ b/main/reference/control_surv_timepoint.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/count_cumulative.html b/main/reference/count_cumulative.html index 90d68f8cf5..67dfa57606 100644 --- a/main/reference/count_cumulative.html +++ b/main/reference/count_cumulative.html @@ -21,7 +21,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -39,37 +39,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -224,17 +193,17 @@ ArgumentsValue count_cumulative() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_cumulative() to the table layout. s_count_cumulative() returns a named list of count_fractions: a list with each thresholds value as a component, each component containing a vector for the count and fraction. -a_count_cumulative() returns the corresponding list with formatted rtables::CellValue(). +a_count_cumulative() returns the corresponding list with formatted rtables::CellValue().
basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -545,7 +514,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -560,7 +529,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -596,12 +565,12 @@ Statistics Functionscount_occurrences()
-basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%)
basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%)
basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -620,10 +589,10 @@ Statistics Functions#> dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%) 162 (40.5%)
Putting everything together, the final AE table looks like this:
-basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion() layout creating function: -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2) To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables. @@ -148,7 +117,7 @@ Argumentsdo_summarize_row_groups (flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels. @@ -205,14 +174,14 @@ Arguments Value - A layout object suitable for passing to further layouting functions, or to rtables::build_table(). + A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout.
basic_table() %>% - split_cols_by(var = "ACTARM") %>% - add_colcounts() %>% - add_overall_col(label = "All Patients") %>% +basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion() layout creating function: -basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2) To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables. @@ -148,7 +117,7 @@ Argumentsdo_summarize_row_groups (flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels. @@ -205,14 +174,14 @@ Arguments Value - A layout object suitable for passing to further layouting functions, or to rtables::build_table(). + A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout.
basic_table() %>% + split_cols_by(var = "ACTARM") %>% + add_colcounts() %>% + add_overall_col(label = "All Patients") %>% summarize_num_patients( var = "USUBJID", .stats = c("unique", "nonunique"), @@ -632,7 +601,7 @@ Statistics Functions= "Overall total number of events" ) ) %>% - split_rows_by( + split_rows_by( "AEBODSYS", child_labels = "visible", nested = FALSE, @@ -648,7 +617,7 @@ Statistics Functions) ) %>% count_occurrences(vars = "AEDECOD") %>% - build_table( + build_table( df = adae, alt_counts_df = adsl ) @@ -719,14 +688,14 @@ Response Tableestimate_proportion()
-basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2)
basic_table() %>% - split_cols_by(var = "ARM") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2)
basic_table() %>% + split_cols_by(var = "ARM") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", table_names = "est_prop" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -734,16 +703,16 @@ Response Table#> 95% CI (Wald, with correction) (78.7, 91.5) (58.8, 75.5) (85.6, 96.2)
To specify which arm in the table should be used as the reference, use the argument ref_group from -split_cols_by(). Below we change the reference arm to “B: +split_cols_by(). Below we change the reference arm to “B: Placebo” and so this arm is displayed as the first column:
ref_group
split_cols_by()
-basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables.
basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level arguments to modify the type of confidence interval that is calculated: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@ - These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions + These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:analyze_num_patients() analyze_vars() compare_vars() @@ -168,7 +137,7 @@ estimate_proportion() estimate_proportion_diff() summarize_ancova() -summarize_colvars(): even if this function uses rtables::analyze_colvars(), +summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@ See also -analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). diff --git a/main/reference/analyze_variables.html b/main/reference/analyze_variables.html index 2b05f876e0..3508e78af7 100644 --- a/main/reference/analyze_variables.html +++ b/main/reference/analyze_variables.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -35,37 +35,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -310,7 +279,7 @@ ArgumentsValue analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout. s_summary() returns different statistics depending on the class of x. If x is of class numeric, returns a list with the following named numeric items:n: The length() of x. @@ -348,20 +317,20 @@ Valuecount_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here. -a_summary() returns the corresponding list with formatted rtables::CellValue(). +a_summary() returns the corresponding list with formatted rtables::CellValue(). Details Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. +columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset. Functions analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_summary(): S3 generic function to produces a variable summary. s_summary(numeric): Method for numeric class. s_summary(factor): Method for factor class. @@ -387,7 +356,7 @@ Note Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table(). +created from character variables before passing the dataset to rtables::build_table(). To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE. Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is. diff --git a/main/reference/analyze_vars_in_cols.html b/main/reference/analyze_vars_in_cols.html index a9467da063..dffe720738 100644 --- a/main/reference/analyze_vars_in_cols.html +++ b/main/reference/analyze_vars_in_cols.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table. -This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables.
basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ————————————————————————————————————————————————————————————————————————————— @@ -753,15 +722,15 @@ Response Tableconf_level
-basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@
basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue(). Functions count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze(). +arguments and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades. a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -86,9 +55,9 @@ -Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls. @@ -128,7 +97,7 @@ Arguments Value - A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() + A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout. diff --git a/main/reference/add_rowcounts.html b/main/reference/add_rowcounts.html index 3dcc2f2db3..9b4bed9298 100644 --- a/main/reference/add_rowcounts.html +++ b/main/reference/add_rowcounts.html @@ -11,7 +11,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -29,37 +29,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -82,8 +51,8 @@ -This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups(). +This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups(). diff --git a/main/reference/aesi_label.html b/main/reference/aesi_label.html index bd5b5724c9..25cfd8a34f 100644 --- a/main/reference/aesi_label.html +++ b/main/reference/aesi_label.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/afun_riskdiff.html b/main/reference/afun_riskdiff.html index 402de30b1f..bb988ca13e 100644 --- a/main/reference/afun_riskdiff.html +++ b/main/reference/afun_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -33,37 +33,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -88,7 +57,7 @@ In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations. @@ -123,7 +92,7 @@ Argumentslabelstr (string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information. @@ -153,7 +122,7 @@ Arguments.all_col_counts (integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()). +taken from alt_counts_df if specified (see rtables::build_table()). .stats @@ -191,13 +160,13 @@ Arguments Value - A list of formatted rtables::CellValue(). + A list of formatted rtables::CellValue(). See also stat_propdiff_ci() for details on risk difference calculation. -Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout. diff --git a/main/reference/afun_selected_stats.html b/main/reference/afun_selected_stats.html index a6c2252dd6..98c76f6d87 100644 --- a/main/reference/afun_selected_stats.html +++ b/main/reference/afun_selected_stats.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report diff --git a/main/reference/analyze_colvars_functions.html b/main/reference/analyze_colvars_functions.html index fcc33d229e..a6e82f7cf8 100644 --- a/main/reference/analyze_colvars_functions.html +++ b/main/reference/analyze_colvars_functions.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -117,7 +86,7 @@ - These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern + These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables. analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups(). -summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups(). +summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars(). +summarize_row_groups() and rtables::analyze_colvars(). See also -summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). -analyze_functions for functions which are wrappers for rtables::analyze(). +summarize_functions for functions which are wrappers for rtables::summarize_row_groups(). +analyze_functions for functions which are wrappers for rtables::analyze(). diff --git a/main/reference/analyze_functions.html b/main/reference/analyze_functions.html index 47b782c289..ec155d415b 100644 --- a/main/reference/analyze_functions.html +++ b/main/reference/analyze_functions.html @@ -75,7 +75,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -93,37 +93,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -145,7 +114,7 @@
basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", conf_level = 0.9 ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————— @@ -772,15 +741,15 @@ Response Tableestimate_proportion_diff()
-basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue().
basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff() layout creating function for this: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade. a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade(). diff --git a/main/reference/abnormal_by_worst_grade_worsen.html b/main/reference/abnormal_by_worst_grade_worsen.html index e5e8c236c5..235655e7a2 100644 --- a/main/reference/abnormal_by_worst_grade_worsen.html +++ b/main/reference/abnormal_by_worst_grade_worsen.html @@ -43,7 +43,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -61,37 +61,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -127,7 +96,7 @@ Any: The total number of patients who have worsened from their baseline grades. Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var. @@ -226,19 +195,19 @@ ArgumentsValue count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout. s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any". a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue(). +formatted rtables::CellValue().
basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion_diff( vars = "is_rsp", show_labels = "visible", var_labels = "Unstratified Analysis" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————————————— @@ -792,11 +761,11 @@ Response Tabletest_proportion_diff()
-basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue().
basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue().
basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff(vars = "is_rsp") %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> —————————————————————————————————————————————————————————————————————— @@ -804,14 +773,14 @@ Response TableTo customize the output, we use the method argument to select a Chi-Squared test with Schouten correction. -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities. a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked(). diff --git a/main/reference/abnormal_by_worst_grade.html b/main/reference/abnormal_by_worst_grade.html index faef70b7fe..c223af2d38 100644 --- a/main/reference/abnormal_by_worst_grade.html +++ b/main/reference/abnormal_by_worst_grade.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir. @@ -230,17 +199,17 @@ ArgumentsValue count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout. s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results. -a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue().
method
-basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue().
basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names argument and providing unique names through that: -basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x") Below the only tern function is analyze_vars which replaces the -rtables::analyze function above. +rtables::analyze function above. # Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)")) # Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@ -tern 0.9.6.9001 +tern 0.9.6.9002 tern 0.9.6CRAN release: 2024-09-24 @@ -91,6 +60,7 @@ EnhancementsRefactored estimate_incidence_rate to work as both an analyze function and a summarize function, controlled by the added summarize parameter. When summarize = TRUE, labels can be fine-tuned via the new label_fmt argument to the same function. Added fraction statistic to the analyze_var_count method group. Improved summarize_glm_count() documentation and all its associated functions to better describe the results and the functions’ purpose. +Added method argument to s_odds_ratio() and estimate_odds_ratio() to control whether exact or approximate conditional likelihood calculations are used. Bug Fixes diff --git a/main/pkgdown.yml b/main/pkgdown.yml index 1861a84cb5..877b9bb213 100644 --- a/main/pkgdown.yml +++ b/main/pkgdown.yml @@ -6,7 +6,7 @@ articles: tables: tables.html tern_formats: tern_formats.html tern: tern.html -last_built: 2024-10-04T20:21Z +last_built: 2024-10-07T19:58Z urls: reference: https://insightsengineering.github.io/tern/reference article: https://insightsengineering.github.io/tern/articles diff --git a/main/reference/abnormal.html b/main/reference/abnormal.html index 9dfcac011d..f1939f5d17 100644 --- a/main/reference/abnormal.html +++ b/main/reference/abnormal.html @@ -33,7 +33,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -51,37 +51,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -225,16 +194,16 @@ ArgumentsValue count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout. s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients. -a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level. a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal(). diff --git a/main/reference/abnormal_by_baseline.html b/main/reference/abnormal_by_baseline.html index 44ea0f0381..f4dcb8530a 100644 --- a/main/reference/abnormal_by_baseline.html +++ b/main/reference/abnormal_by_baseline.html @@ -59,7 +59,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -77,37 +77,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -254,17 +223,17 @@ ArgumentsValue count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout. s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts. -a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue(). Functions count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze(). +and additional format arguments. This function is a wrapper for rtables::analyze(). s_count_abnormal_by_baseline(): Statistics function for a single abnormal level. a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline(). diff --git a/main/reference/abnormal_by_marked.html b/main/reference/abnormal_by_marked.html index 707e041056..bce7d6facf 100644 --- a/main/reference/abnormal_by_marked.html +++ b/main/reference/abnormal_by_marked.html @@ -47,7 +47,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -65,37 +65,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -133,7 +102,7 @@ Any: The number of patients with either single or replicated marked abnormalities. Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis. -Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction. @@ -238,17 +207,17 @@ ArgumentsValue count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout. s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results. -a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue(). +a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue().
basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% test_proportion_diff( vars = "is_rsp", method = "schouten" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ——————————————————————————————————————————————————————————————————————————————————————————————— @@ -823,9 +792,9 @@ Response Tabletable_names
-basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x")
basic_table() %>% - split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% - add_colcounts() %>% +basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x")
basic_table() %>% + split_cols_by(var = "ARM", ref_group = "B: Placebo") %>% + add_colcounts() %>% estimate_proportion( vars = "is_rsp", method = "clopper-pearson", @@ -843,7 +812,7 @@ Response Table method = "schouten", table_names = "test_prop_diff" ) %>% - build_table(anl) + build_table(anl) #> A: Drug X B: Placebo C: Combination #> (N=134) (N=134) (N=132) #> ———————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/main/articles/tern.html b/main/articles/tern.html index 5d0ad085e8..1bb2a19f87 100644 --- a/main/articles/tern.html +++ b/main/articles/tern.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -174,10 +143,10 @@ Analytical Functions for rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x")
rtables rtables layout functions, in the pipeline which creates the rtables table. They apply some statistical logic to the layout of the rtables table. The table layout is -materialized with the rtables::build_table function and the +materialized with the rtables::build_table function and the data. The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects. Examples of the tern analytical functions are @@ -189,7 +158,7 @@ Analytical Functions for rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x")
The tern analytical functions are wrappers around the -rtables::analyze function; they offer various methods +rtables::analyze function; they offer various methods useful from the perspective of clinical trials and other statistical projects.
Examples of the tern analytical functions are @@ -189,7 +158,7 @@
rtables In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@ Analytical Functions for rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x")
In the rtables code below we first describe the two tables and assign the descriptions to the variables lyt and lyt2. We then built the tables using the actual data with -rtables::build_table. The description of a table is called +rtables::build_table. The description of a table is called a table layout. The analyze instruction adds to the layout that the ARM variable should be analyzed with the mean analysis function @@ -202,25 +171,25 @@
lyt
lyt2
ARM
mean
rtables Defining the table layout with a pure rtables code. # Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x") +lyt <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% + rtables::analyze(vars = "AVAL", mean, format = "xx.x")
Defining the table layout with a pure rtables code.
# Create table layout pure rtables -lyt <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% - rtables::analyze(vars = "AVAL", mean, format = "xx.x")
Below the only tern function is analyze_vars which replaces the -rtables::analyze function above.
analyze_vars
# Create table layout with tern analyze_vars analyze function -lyt2 <- rtables::basic_table() %>% - rtables::split_cols_by(var = "ARM") %>% - rtables::split_rows_by(var = "AVISIT") %>% +lyt2 <- rtables::basic_table() %>% + rtables::split_cols_by(var = "ARM") %>% + rtables::split_rows_by(var = "AVISIT") %>% analyze_vars(vars = "AVAL", .formats = c("mean_sd" = "(xx.xx, xx.xx)"))
# Apply table layout to data and produce `rtables` object adrs <- formatters::ex_adrs -rtables::build_table(lyt, df = adrs) +rtables::build_table(lyt, df = adrs) #> A: Drug X B: Placebo C: Combination #> —————————————————————————————————————————————————————————— #> SCREENING @@ -231,7 +200,7 @@ Analytical Functions for rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@
rtables #> mean 1.7 2.1 1.6 #> FOLLOW UP #> mean 2.2 2.9 2.0 -rtables::build_table(lyt2, df = adrs) +rtables::build_table(lyt2, df = adrs) #> A: Drug X B: Placebo C: Combination #> ——————————————————————————————————————————————————————————————— #> SCREENING diff --git a/main/articles/tern_formats.html b/main/articles/tern_formats.html index 64e74bc938..4639324277 100644 --- a/main/articles/tern_formats.html +++ b/main/articles/tern_formats.html @@ -28,7 +28,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -49,37 +49,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report @@ -163,7 +132,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -171,7 +140,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————— #> low 2/2 (100%) @@ -191,7 +160,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -199,7 +168,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = format_fraction) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 1/2 (50%) @@ -220,7 +189,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -228,7 +197,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx / xx") ) %>% - build_table(df2) + build_table(df2) #> all obs #> —————————————— #> low 2 / 2 @@ -249,7 +218,7 @@ Comparing tern & df2 <- df2 %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -257,7 +226,7 @@ Comparing tern & exclude_base_abn = FALSE, .formats = list(fraction = "xx.x / xx.x") ) %>% - build_table(df2) + build_table(df2) #> all obs #> ———————————————— #> low 2.0 / 2.0 @@ -375,7 +344,7 @@ Creating Custom Formatting Functio ) %>% filter(ONTRTFL == "Y") -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -383,7 +352,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = format_fraction_fixed_dp) ) %>% - build_table(df2) + build_table(df2) #> all obs #> ——————————————————— #> low 2/2 (100.0%) @@ -410,7 +379,7 @@ Creating Custom Formatting Functio return(result) } -basic_table() %>% +basic_table() %>% count_abnormal( var = "RANGE", abnormal = list(low = "LOW", high = "HIGH"), @@ -418,7 +387,7 @@ Creating Custom Formatting Functio exclude_base_abn = FALSE, .formats = list(fraction = custom_format) # Here we implement our new custom_format function ) %>% - build_table(df2) + build_table(df2) #> all obs #> ————————————————————— #> low 2/2 (100.000%) diff --git a/main/authors.html b/main/authors.html index 79f6e180ad..a179f9c635 100644 --- a/main/authors.html +++ b/main/authors.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -137,14 +106,14 @@ Citation Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/. @Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, } diff --git a/main/index.html b/main/index.html index 89ba0f393c..06fb4f4169 100644 --- a/main/index.html +++ b/main/index.html @@ -31,7 +31,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -52,37 +52,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report diff --git a/main/news/index.html b/main/news/index.html index 784fdeeefc..bd6f8af47e 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002 part of @@ -25,37 +25,6 @@ Changelog - - Versions main -latest-tag -release-candidate -v0.9.2-rc1 -v0.9.1-rc3 -v0.8.5-rc2 -v0.8.5-rc1 -v0.8.4-rc1 -v0.8.3-rc2 -v0.8.3-rc1 -v0.8.2-rc2 -v0.8.2-rc1 -v0.7.10 -v0.9.6 -v0.9.5 -v0.9.4 -v0.9.3 -v0.9.2 -v0.9.1 -v0.9.0 -v0.8.5 -v0.8.4 -v0.8.2 -v0.8.1 -v0.8.0 -v0.7.9 - Reports Coverage report Unit test report @@ -76,7 +45,7 @@
Zhu J, Sabanés Bové D, Stoilova J, Garolini D, de la Rua E, Yogasekaram A, Wang H, Collin F, Waddell A, Rucki P, Liao C, Li J (2024). tern: Create Common TLGs Used in Clinical Trials. -R package version 0.9.6.9001, +R package version 0.9.6.9002, https://github.com/insightsengineering/tern/, https://insightsengineering.github.io/tern/.
@Manual{, title = {tern: Create Common TLGs Used in Clinical Trials}, author = {Joe Zhu and Daniel {Sabanés Bové} and Jana Stoilova and Davide Garolini and Emily {de la Rua} and Abinaya Yogasekaram and Heng Wang and Francois Collin and Adrian Waddell and Pawel Rucki and Chendi Liao and Jennifer Li}, year = {2024}, - note = {R package version 0.9.6.9001, + note = {R package version 0.9.6.9002, https://github.com/insightsengineering/tern/}, url = {https://insightsengineering.github.io/tern/}, }
CRAN release: 2024-09-24
estimate_incidence_rate
summarize
summarize = TRUE
label_fmt
fraction
analyze_var_count
summarize_glm_count()
s_odds_ratio()
estimate_odds_ratio()
count_abnormal() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal() to the table layout.
count_abnormal()
rtables::build_table()
rtable
s_count_abnormal()
s_count_abnormal() returns the statistic fraction which is a vector with num and denom counts of patients.
num
denom
a_count_abnormal() returns the corresponding list with formatted rtables::CellValue().
a_count_abnormal()
rtables::CellValue()
count_abnormal(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_count_abnormal(): Statistics function which counts patients with abnormal range values for a single abnormal level.
abnormal
a_count_abnormal(): Formatted analysis function which is used as afun in count_abnormal().
count_abnormal_by_baseline() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_baseline() to the table layout.
count_abnormal_by_baseline()
s_count_abnormal_by_baseline()
s_count_abnormal_by_baseline() returns statistic fraction which is a named list with 3 labeled elements: not_abnormal, abnormal, and total. Each element contains a vector with num and denom patient counts.
not_abnormal
total
a_count_abnormal_by_baseline() returns the corresponding list with formatted rtables::CellValue().
a_count_abnormal_by_baseline()
count_abnormal_by_baseline(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_count_abnormal_by_baseline(): Statistics function for a single abnormal level.
a_count_abnormal_by_baseline(): Formatted analysis function which is used as afun in count_abnormal_by_baseline().
Any: The number of patients with either single or replicated marked abnormalities.
Any
Fractions are calculated by dividing the above counts by the number of patients with at least one valid measurement recorded during the analysis.
Prior to using this function in your table layout you must use rtables::split_rows_by() to create two +
rtables::split_rows_by()
Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable direction.
param
direction
count_abnormal_by_marked() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_marked() to the table layout.
count_abnormal_by_marked()
s_count_abnormal_by_marked()
s_count_abnormal_by_marked() returns statistic count_fraction with Single, not last, Last or replicated, and Any results.
count_fraction
Single, not last
Last or replicated
a_count_abnormal_by_marked() returns the corresponding list with formatted rtables::CellValue().
a_count_abnormal_by_marked()
count_abnormal_by_marked(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_count_abnormal_by_marked(): Statistics function for patients with marked lab abnormalities.
a_count_abnormal_by_marked(): Formatted analysis function which is used as afun in count_abnormal_by_marked().
Pre-processing is crucial when using this function and can be done automatically using the h_adlb_abnormal_by_worst_grade() helper function. See the description of this function for details on the necessary pre-processing steps.
h_adlb_abnormal_by_worst_grade()
Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row +
Prior to using this function in your table layout you must use rtables::split_rows_by() to create two row splits, one on variable param and one on variable grade_dir.
grade_dir
count_abnormal_by_worst_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_by_worst_grade() to the table layout.
count_abnormal_by_worst_grade()
s_count_abnormal_by_worst_grade()
s_count_abnormal_by_worst_grade() returns the single statistic count_fraction with grades 1 to 4 and "Any" results.
a_count_abnormal_by_worst_grade() returns the corresponding list with formatted rtables::CellValue().
a_count_abnormal_by_worst_grade()
count_abnormal_by_worst_grade(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_count_abnormal_by_worst_grade(): Statistics function which counts patients by worst grade.
a_count_abnormal_by_worst_grade(): Formatted analysis function which is used as afun in count_abnormal_by_worst_grade().
Any: The total number of patients who have worsened from their baseline grades.
Fractions are calculated by dividing the above counts by the number of patients who's analysis toxicity grades have worsened from baseline toxicity grades during treatment.
Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row +
Prior to using this function in your table layout you must use rtables::split_rows_by() to create a row split on variable direction_var.
direction_var
count_abnormal_lab_worsen_by_baseline() returns a layout object suitable for passing to further layouting -functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted +functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_abnormal_lab_worsen_by_baseline() to the table layout.
count_abnormal_lab_worsen_by_baseline()
s_count_abnormal_lab_worsen_by_baseline()
s_count_abnormal_lab_worsen_by_baseline() returns the counts and fraction of patients whose worst post-baseline lab grades are worse than their baseline grades, for post-baseline worst grades "1", "2", "3", "4" and "Any".
a_count_abnormal_lab_worsen_by_baseline() returns the corresponding list with -formatted rtables::CellValue().
a_count_abnormal_lab_worsen_by_baseline()
count_abnormal_lab_worsen_by_baseline(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze().
s_count_abnormal_lab_worsen_by_baseline(): Statistics function for patients whose worst post-baseline lab grades are worse than their baseline grades.
a_count_abnormal_lab_worsen_by_baseline(): Formatted analysis function which is used as afun diff --git a/main/reference/add_riskdiff.html b/main/reference/add_riskdiff.html index 209d534567..6d3f5c7225 100644 --- a/main/reference/add_riskdiff.html +++ b/main/reference/add_riskdiff.html @@ -15,7 +15,7 @@ tern - 0.9.6.9001 + 0.9.6.9002
Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference +
rtables::add_combo_levels()
Wrapper function for rtables::add_combo_levels() which configures settings for the risk difference column to be added to an rtables object. To add a risk difference column to a table, this function -should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument +should be used as split_fun in calls to rtables::split_cols_by(), followed by setting argument riskdiff to TRUE in all following analyze function calls.
split_fun
rtables::split_cols_by()
riskdiff
TRUE
A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() +
A closure suitable for use as a split function (split_fun) within rtables::split_cols_by() when creating a table layout.
This works analogously to rtables::add_colcounts() but on the rows. This function -is a wrapper for rtables::summarize_row_groups().
rtables::add_colcounts()
rtables::summarize_row_groups()
This works analogously to rtables::add_colcounts() but on the rows. This function +is a wrapper for rtables::summarize_row_groups().
In the risk difference column, this function uses the statistics function associated with afun to calculates risk difference values from arm X (reference group) and arm Y. These arms are specified when configuring the risk difference column which is done using the add_riskdiff() split function in -the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This +the previous call to rtables::split_cols_by(). For all other columns, applies afun as usual. This function utilizes the stat_propdiff_ci() function to perform risk difference calculations.
add_riskdiff()
stat_propdiff_ci()
(string) label of the level of the parent split currently being summarized -(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() +(must be present as second argument in Content Row Functions). See rtables::summarize_row_groups() for more information.
string
(integer) vector where each value represents a global count for a column. Values are -taken from alt_counts_df if specified (see rtables::build_table()).
integer
alt_counts_df
A list of formatted rtables::CellValue().
stat_propdiff_ci() for details on risk difference calculation.
Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with +
Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument set to TRUE in subsequent analyze functions calls, adds a risk difference column to a table layout.
These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern +
rtables::analyze_colvars()
These functions are wrappers of rtables::analyze_colvars() which apply corresponding tern statistics functions to add an analysis to a given table layout. In particular, these functions where designed to have the analysis methods split into different columns.
analyze_vars_in_cols(): fundamental tabulation of analysis methods onto columns. In other words, the analysis methods are defined in the column space, i.e. they become @@ -130,19 +99,19 @@ it is used for other tables.
analyze_vars_in_cols()
analyze_patients_exposure_in_cols(): based only on analyze_colvars. It needs summarize_patients_exposure_in_cols() to leverage nesting of label rows analysis -with rtables::summarize_row_groups().
analyze_patients_exposure_in_cols()
analyze_colvars
summarize_patients_exposure_in_cols()
summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves +with rtables::summarize_row_groups().
summarize_coxreg()
summarize_coxreg(): generally based on rtables::summarize_row_groups(), it behaves similarly to tabulate_* functions described above as it is designed to provide specific standard tables that may contain nested structure with a combination of -summarize_row_groups() and rtables::analyze_colvars().
tabulate_*
summarize_functions for functions which are wrappers for rtables::summarize_row_groups().
analyze_functions for functions which are wrappers for rtables::analyze().
These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions +
These functions are wrappers of rtables::analyze() which apply corresponding tern statistics functions to add an analysis to a given table layout:
analyze_num_patients()
compare_vars()
estimate_proportion()
estimate_proportion_diff()
summarize_ancova()
summarize_colvars(): even if this function uses rtables::analyze_colvars(), +
summarize_colvars()
summarize_colvars(): even if this function uses rtables::analyze_colvars(), it applies the analysis methods as different rows for one or more variables that are split into different columns. In comparison, analyze_colvars_functions leverage analyze_colvars to have the context split in rows and the analysis @@ -183,8 +152,8 @@
analyze_colvars_functions for functions that are wrappers for rtables::analyze_colvars().
analyze_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_summary() to the table layout.
s_summary()
s_summary() returns different statistics depending on the class of x.
x
If x is of class numeric, returns a list with the following named numeric items:
numeric
list
n: The length() of x.
n
length()
count_fraction: Count and proportion of TRUE in x relative to the denominator, or NA if the denominator is zero. Note that NAs in x are never counted or leading to NA here.
NA
a_summary() returns the corresponding list with formatted rtables::CellValue().
a_summary()
Automatic digit formatting: The number of digits to display can be automatically determined from the analyzed variable(s) (vars) for certain statistics by setting the statistic format to "auto" in .formats. This utilizes the format_auto() formatting function. Note that only data for the current row & variable (for all -columns) will be considered (.df_row[[.var]], see rtables::additional_fun_params) and not the whole dataset.
vars
"auto"
.formats
format_auto()
.df_row[[.var]]
rtables::additional_fun_params
analyze_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_summary(): S3 generic function to produces a variable summary.
s_summary(numeric): Method for numeric class.
s_summary(numeric)
s_summary(factor): Method for factor class.
s_summary(factor)
factor
Automatic conversion of character to factor does not guarantee that the table can be generated correctly. In particular for sparse tables this very likely can fail. It is therefore better to always pre-process the dataset such that factors are manually -created from character variables before passing the dataset to rtables::build_table().
To use for comparison (with additional p-value statistic), parameter compare must be set to TRUE.
compare
Ensure that either all NA values are converted to an explicit NA level or all NA values are left as is.
The layout-creating function analyze_vars_in_cols() creates a layout element to generate a column-wise analysis table.
This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). +
This function sets the analysis methods as column labels and is a wrapper for rtables::analyze_colvars(). It was designed principally for PK tables.
(flag) defaults to FALSE and applies the analysis to the current -label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr +label rows. This is a wrapper of rtables::summarize_row_groups() and it can accept labelstr to define row labels. This behavior is not supported as we never need to overload row labels.
flag
FALSE
labelstr
A layout object suitable for passing to further layouting functions, or to rtables::build_table(). +
A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will summarize the given variables, arrange the output in columns, and add it to the table layout.
This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() +
This is an experimental implementation of rtables::summarize_row_groups() and rtables::analyze_colvars() that may be subjected to changes as rtables extends its support to more complex analysis pipelines in the column space. We encourage users to read the examples carefully and file issues for different use cases.
In this function, labelstr behaves atypically. If labelstr = NULL (the default), row labels are assigned @@ -221,7 +190,7 @@
labelstr = NULL
analyze_vars(), rtables::analyze_colvars().
A list with formatted rtables::CellValue() with the row count value and the correct label.
get_stats("analyze_vars_numeric", add_pval = TRUE)
get_stats("analyze_vars_counts", add_pval = TRUE)
.stats
Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column +
Prior to using this function in your table layout you must use rtables::split_cols_by() to create a column split on the variable to be used in comparisons, and specify a reference group via the ref_group parameter. Comparisons can be performed for each group (column) against the specified reference group by including the p-value statistic.
compare_vars() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_compare() to the table layout.
s_compare()
s_compare() returns output of s_summary() and comparisons versus the reference group in the form of p-values.
compare_vars(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_compare(): S3 generic function to produce a comparison summary.
s_compare(numeric): Method for numeric class. This uses the standard t-test to calculate the p-value.
s_compare(numeric)
count_cumulative() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_cumulative() to the table layout.
count_cumulative()
s_count_cumulative()
s_count_cumulative() returns a named list of count_fractions: a list with each thresholds value as a component, each component containing a vector for the count and fraction.
thresholds
a_count_cumulative() returns the corresponding list with formatted rtables::CellValue().
a_count_cumulative()
count_cumulative(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_count_cumulative(): Statistics function that produces a named list given a numeric vector of thresholds.
a_count_cumulative(): Formatted analysis function which is used as afun in count_cumulative().
count_missed_doses() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_missed_doses() to the table layout.
count_missed_doses()
s_count_missed_doses()
s_count_nonmissing() returns the statistic n which is the count of non-missing values in x.
s_count_nonmissing()
s_count_missed_doses() returns the statistics n and count_fraction with one element for each threshold.
a_count_missed_doses() returns the corresponding list with formatted rtables::CellValue().
a_count_missed_doses()
count_missed_doses(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_count_nonmissing(): Statistics function to count non-missing values.
s_count_missed_doses(): Statistics function to count patients with missed doses.
a_count_missed_doses(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences.html b/main/reference/count_occurrences.html index f336adc2fe..c2a2930e38 100644 --- a/main/reference/count_occurrences.html +++ b/main/reference/count_occurrences.html @@ -23,7 +23,7 @@ tern - 0.9.6.9001 + 0.9.6.9002
count_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences() to the table layout.
count_occurrences()
s_count_occurrences()
summarize_occurrences() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences() to the table layout.
summarize_occurrences()
s_count_occurrences() returns a list with:
count: list of counts with one element per occurrence.
count
count_fraction: list of counts and fractions with one element per occurrence.
fraction: list of numerators and denominators with one element per occurrence.
a_count_occurrences() returns the corresponding list with formatted rtables::CellValue().
a_count_occurrences()
count_occurrences(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
summarize_occurrences(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups().
s_count_occurrences(): Statistics function which counts number of patients that report an occurrence.
a_count_occurrences(): Formatted analysis function which is used as afun diff --git a/main/reference/count_occurrences_by_grade.html b/main/reference/count_occurrences_by_grade.html index 7c837a348b..7934a93f2d 100644 --- a/main/reference/count_occurrences_by_grade.html +++ b/main/reference/count_occurrences_by_grade.html @@ -27,7 +27,7 @@ tern - 0.9.6.9001 + 0.9.6.9002
count_occurrences_by_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_occurrences_by_grade() to the table layout.
count_occurrences_by_grade()
s_count_occurrences_by_grade()
summarize_occurrences_by_grade() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_occurrences_by_grade() to the table layout.
summarize_occurrences_by_grade()
s_count_occurrences_by_grade() returns a list of counts and fractions with one element per grade level or grade level grouping.
a_count_occurrences_by_grade() returns the corresponding list with formatted rtables::CellValue().
a_count_occurrences_by_grade()
count_occurrences_by_grade(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze().
summarize_occurrences_by_grade(): Layout-creating function which can take content function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups().
s_count_occurrences_by_grade(): Statistics function which counts the number of patients by highest grade.
a_count_occurrences_by_grade(): Formatted analysis function which is used as afun diff --git a/main/reference/count_patients_events_in_cols.html b/main/reference/count_patients_events_in_cols.html index 260ca73eb5..73a0e9327b 100644 --- a/main/reference/count_patients_events_in_cols.html +++ b/main/reference/count_patients_events_in_cols.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002
summarize_patients_events_in_cols() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows +or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows containing the statistics from s_count_patients_and_multiple_events() to the table layout.
summarize_patients_events_in_cols()
s_count_patients_and_multiple_events()
s_count_patients_and_multiple_events() returns a list with the statistics:
unique: number of unique patients in df.
unique
all: number of rows in df.
all
summarize_patients_events_in_cols(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::summarize_row_groups().
s_count_patients_and_multiple_events(): Statistics function which counts numbers of patients and multiple events defined by filters. Used as analysis function afun in summarize_patients_events_in_cols().
count_patients_with_event() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_patients_with_event() to the table layout.
count_patients_with_event()
s_count_patients_with_event()
s_count_patients_with_event() returns the count and fraction of unique identifiers with the defined event.
a_count_patients_with_event() returns the corresponding list with formatted rtables::CellValue().
a_count_patients_with_event()
count_patients_with_event(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze().
s_count_patients_with_event(): Statistics function which counts the number of patients for which the defined event has occurred.
a_count_patients_with_event(): Formatted analysis function which is used as afun diff --git a/main/reference/count_patients_with_flags.html b/main/reference/count_patients_with_flags.html index c85e01f4e6..2c801a952a 100644 --- a/main/reference/count_patients_with_flags.html +++ b/main/reference/count_patients_with_flags.html @@ -19,7 +19,7 @@ tern - 0.9.6.9001 + 0.9.6.9002
count_patients_with_flags() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_patients_with_flags() to the table layout.
count_patients_with_flags()
s_count_patients_with_flags()
s_count_patients_with_flags() returns the count and the fraction of unique identifiers with each particular flag as a list of statistics n, count, count_fraction, and n_blq, with one element per flag.
n_blq
a_count_patients_with_flags() returns the corresponding list with formatted rtables::CellValue().
a_count_patients_with_flags()
count_patients_with_flags(): Layout-creating function which can take statistics function -arguments and additional format arguments. This function is a wrapper for rtables::analyze().
s_count_patients_with_flags(): Statistics function which counts the number of patients for which a particular flag variable is TRUE.
a_count_patients_with_flags(): Formatted analysis function which is used as afun diff --git a/main/reference/count_values.html b/main/reference/count_values.html index 007176c16d..1bb3924d97 100644 --- a/main/reference/count_values.html +++ b/main/reference/count_values.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002
count_values() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_count_values() to the table layout.
count_values()
s_count_values()
s_count_values() returns output of s_summary() for specified values of a non-numeric variable.
a_count_values() returns the corresponding list with formatted rtables::CellValue().
a_count_values()
count_values(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_count_values(): S3 generic function to count values.
s_count_values(character): Method for character class.
s_count_values(character)
character
s_count_values(factor): Method for factor class. This makes an automatic diff --git a/main/reference/cox_regression.html b/main/reference/cox_regression.html index bf7d0cc132..197cc1a5b6 100644 --- a/main/reference/cox_regression.html +++ b/main/reference/cox_regression.html @@ -9,7 +9,7 @@ tern - 0.9.6.9001 + 0.9.6.9002
s_count_values(factor)
summarize_coxreg() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add a Cox regression table +or to rtables::build_table(). Adding this function to an rtable layout will add a Cox regression table containing the chosen statistics to the table layout.
s_coxreg() returns the selected statistic for from the Cox regression model for the selected variable(s).
s_coxreg()
a_coxreg() returns formatted rtables::CellValue().
a_coxreg()
s_coxreg(): Statistics function that transforms results tabulated from fit_coxreg_univar() or fit_coxreg_multivar() into a list.
fit_coxreg_univar()
fit_coxreg_multivar()
a_coxreg(): Analysis function which is used as afun in rtables::analyze() -and cfun in rtables::summarize_row_groups() within summarize_coxreg().
cfun
a_coxreg(): Analysis function which is used as afun in rtables::analyze() +and cfun in rtables::summarize_row_groups() within summarize_coxreg().
Automatic conversion of character to factor does not guarantee results can be generated correctly. It is therefore better to always pre-process the dataset such that factors are manually created from character -variables before passing the dataset to rtables::build_table().
These defaults are experimental because we use the names of functions to retrieve the default statistics. This should be generalized in groups of methods according to more reasonable groupings.
Formats in tern and rtables can be functions that take in the table cell value and -return a string. This is well documented in vignette("custom_appearance", package = "rtables").
vignette("custom_appearance", package = "rtables")
estimate_multinomial_response() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_length_proportion() to the table layout.
estimate_multinomial_response()
s_length_proportion()
s_length_proportion() returns statistics from s_proportion().
s_proportion()
a_length_proportion() returns the corresponding list with formatted rtables::CellValue().
a_length_proportion()
estimate_multinomial_response(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze() and -rtables::summarize_row_groups().
s_length_proportion(): Statistics function which feeds the length of x as number of successes, and .N_col as total number of successes and failures into s_proportion().
.N_col
a_length_proportion(): Formatted analysis function which is used as afun diff --git a/main/reference/estimate_proportion.html b/main/reference/estimate_proportion.html index 7dc19ab2b5..e4601dc9a4 100644 --- a/main/reference/estimate_proportion.html +++ b/main/reference/estimate_proportion.html @@ -17,7 +17,7 @@ tern - 0.9.6.9001 + 0.9.6.9002
estimate_proportion() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_proportion() to the table layout.
s_proportion() returns statistics n_prop (n and proportion) and prop_ci (proportion CI) for a given variable.
n_prop
prop_ci
a_proportion() returns the corresponding list with formatted rtables::CellValue().
a_proportion()
estimate_proportion(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_proportion(): Statistics function estimating a proportion along with its confidence interval.
a_proportion(): Formatted analysis function which is used as afun diff --git a/main/reference/ex_data.html b/main/reference/ex_data.html index 5a710a78c0..4618306800 100644 --- a/main/reference/ex_data.html +++ b/main/reference/ex_data.html @@ -7,7 +7,7 @@ tern - 0.9.6.9001 + 0.9.6.9002
(numeric) variable data the statistics were calculated from. Used only to find significant digits. In analyze_vars this comes from .df_row (see -rtables::additional_fun_params), and it is the row data after the above row splits. No +rtables::additional_fun_params), and it is the row data after the above row splits. No column split is considered.
.df_row
Given a rtables::rtable() object with at least one column with a single value and one column with 2 +
rtables::rtable()
Given a rtables::rtable() object with at least one column with a single value and one column with 2 values, converts table to a ggplot2::ggplot() object and generates an accompanying forest plot. The table and forest plot are printed side-by-side.
ggplot2::ggplot()
This converts a list of group levels into a data frame format which is expected by rtables::add_combo_levels().
(named character or NULL) format patterns for x. Names of the format must -match the names of x. This parameter is passed directly to the rtables::format_rcell +match the names of x. This parameter is passed directly to the rtables::format_rcell function through the format parameter.
NULL
format
rtables::format_rcell
or_glm(data, conf_level) -or_clogit(data, conf_level)
(proportion) confidence level of the interval.
proportion
(string) whether to use the correct ("exact") calculation in the conditional likelihood or one +of the approximations. See survival::clogit() for details.
"exact"
survival::clogit()
Please see h_tab_surv_one_biomarker() and h_tab_rsp_one_biomarker(), which use this function for examples. -This function is a wrapper for rtables::summarize_row_groups().
h_tab_surv_one_biomarker()
h_tab_rsp_one_biomarker()
estimate_incidence_rate() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_incidence_rate() to the table layout.
estimate_incidence_rate()
s_incidence_rate()
s_incidence_rate() returns the following statistics:
person_years: Total person-years at risk.
person_years
n_events: Total number of events observed.
n_events
n_unique: Total number of patients with at least one event observed.
n_unique
n_rate: Total number of events observed & estimated incidence rate.
n_rate
a_incidence_rate() returns the corresponding list with formatted rtables::CellValue().
a_incidence_rate()
estimate_incidence_rate(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_incidence_rate(): Statistics function which estimates the incidence rate and the associated confidence interval.
a_incidence_rate(): Formatted analysis function which is used as afun in estimate_incidence_rate().
Analyze functions with their corresponding statistics functions and formatted analysis functions.
Analyze functions are used in combination with rtables layout functions in the pipeline which creates the table.
Statistics functions (denoted by s_ prefix) compute the numbers that are tabulated later. In order to separate computation from formatting, they do not take care of rcell type formatting themselves.
s_
Formatted analysis functions (denoted by a_ prefix) have the same arguments as the corresponding statistics functions, and can be further customized by calling rtables::make_afun() on them. They are used as afun in rtables::analyze().
a_
Layout-creating function which creates a multivariate column layout summarizing logistic -regression results. This function is a wrapper for rtables::split_cols_by_multivar().
rtables::split_cols_by_multivar()
Constructor for content functions to be used in summarize_logistic() to summarize -logistic regression results. This function is a wrapper for rtables::summarize_row_groups().
summarize_logistic()
arguments passed to s_odds_ratio().
estimate_odds_ratio() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_odds_ratio() to the table layout.
s_odds_ratio() returns a named list with the statistics or_ci (containing est, lcl, and ucl) and n_tot.
or_ci
est
lcl
ucl
n_tot
a_odds_ratio() returns the corresponding list with formatted rtables::CellValue().
a_odds_ratio()
estimate_odds_ratio(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_odds_ratio(): Statistics function which estimates the odds ratio between a treatment and a control. A variables list with arm and strata variable names must be passed if a stratified analysis is required.
variables
arm
strata
estimate_proportion_diff() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_proportion_diff() to the table layout.
s_proportion_diff()
s_proportion_diff() returns a named list of elements diff and diff_ci.
diff
diff_ci
a_proportion_diff() returns the corresponding list with formatted rtables::CellValue().
a_proportion_diff()
estimate_proportion_diff(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_proportion_diff(): Statistics function estimating the difference in terms of responder proportion.
a_proportion_diff(): Formatted analysis function which is used as afun in estimate_proportion_diff().
test_proportion_diff() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_test_proportion_diff() to the table layout.
test_proportion_diff()
s_test_proportion_diff()
s_test_proportion_diff() returns a named list with a single item pval with an attribute label describing the method used. The p-value tests the null hypothesis that proportions in two groups are the same.
pval
label
a_test_proportion_diff() returns the corresponding list with formatted rtables::CellValue().
a_test_proportion_diff()
test_proportion_diff(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_test_proportion_diff(): Statistics function which tests the difference between two proportions.
a_test_proportion_diff(): Formatted analysis function which is used as afun in test_proportion_diff().
keep_rows() returns a pruning function that can be used with rtables::prune_table() +
keep_rows()
rtables::prune_table()
keep_rows() returns a pruning function that can be used with rtables::prune_table() to prune an rtables table.
keep_content_rows() returns a pruning function that checks the condition on the first content row of leaf tables in the table.
keep_content_rows()
Since most table specifications are worded positively, we name our constructor and condition functions positively, too. However, note that the result of keep_rows() says what -should be pruned, to conform with the rtables::prune_table() interface.
An rtables table summarizing binary response by subgroup.
a_response_subgroups() returns the corresponding list with formatted rtables::CellValue().
a_response_subgroups()
tabulate_rsp_subgroups(): Table-creating function which creates a table -summarizing binary response by subgroup. This function is a wrapper for rtables::analyze_colvars() -and rtables::summarize_row_groups().
tabulate_rsp_subgroups()
a_response_subgroups(): Formatted analysis function which is used as afun in tabulate_rsp_subgroups().
Given a rtables::rtable() object, performs basic conversion to a ggplot2::ggplot() object built using +
Given a rtables::rtable() object, performs basic conversion to a ggplot2::ggplot() object built using functions from the ggplot2 package. Any table titles and/or footnotes are ignored.
ggplot2
rtables::cont_n_allcols()
rtables::cont_n_onecol()
additional arguments to rtables::split_cols_by() in order. For instance, to +
additional arguments to rtables::split_cols_by() in order. For instance, to control formats (format), add a joint column for all groups (incl_all).
incl_all
Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() +
Split function add_riskdiff() which, when used as split_fun within rtables::split_cols_by() with riskdiff argument is set to TRUE in subsequent analyze functions, adds a column containing proportion (risk) difference to an rtables layout.
summarize_ancova() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_ancova() to the table layout.
s_ancova()
s_ancova() returns a named list of 5 statistics:
n: Count of complete sample size for the group.
lsmean: Estimated marginal means in the group.
lsmean
pval: p-value (not adjusted for multiple comparisons).
a_ancova() returns the corresponding list with formatted rtables::CellValue().
a_ancova()
summarize_ancova(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_ancova(): Statistics function that produces a named list of results of the investigated linear model.
a_ancova(): Formatted analysis function which is used as afun in summarize_ancova().
summarize_change() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_change_from_baseline() to the table layout.
summarize_change()
s_change_from_baseline()
s_change_from_baseline() returns the same values returned by s_summary.numeric().
s_summary.numeric()
a_change_from_baseline() returns the corresponding list with formatted rtables::CellValue().
a_change_from_baseline()
summarize_change(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_change_from_baseline(): Statistics function that summarizes baseline or post-baseline visits.
a_change_from_baseline(): Formatted analysis function which is used as afun in summarize_change().
The analyze function summarize_colvars() uses the statistics function s_summary() to analyze variables that are arranged in columns. The variables to analyze should be specified in the table layout via column splits (see -rtables::split_cols_by() and rtables::split_cols_by_multivar()) prior to using summarize_colvars().
The function is a minimal wrapper for rtables::analyze_colvars(), a function typically used to apply different +rtables::split_cols_by() and rtables::split_cols_by_multivar()) prior to using summarize_colvars().
The function is a minimal wrapper for rtables::analyze_colvars(), a function typically used to apply different analysis methods in rows for each column variable. To use the analysis methods as column labels, please refer to the analyze_vars_in_cols() function.
rtables::split_cols_by_multivar() and analyze_colvars_functions.
analyze_colvars_functions
These functions are wrappers for rtables::summarize_row_groups(), applying corresponding tern content functions +
These functions are wrappers for rtables::summarize_row_groups(), applying corresponding tern content functions to add summary rows to a given table layout:
add_rowcounts()
estimate_multinomial_response() (with rtables::analyze())
h_tab_one_biomarker() (probably to deprecate)
h_tab_one_biomarker()
logistic_summary_by_flag()
Additionally, the summarize_coxreg() function utilizes rtables::summarize_row_groups() -(in combination with several other rtables functions like rtables::analyze_colvars()) to +
Additionally, the summarize_coxreg() function utilizes rtables::summarize_row_groups() +(in combination with several other rtables functions like rtables::analyze_colvars()) to output a Cox regression summary table.
summarize_glm_count() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_glm_count() to the table layout.
s_glm_count()
s_glm_count() returns a named list of 5 statistics:
rate: Estimated event rate per follow-up time.
rate
summarize_glm_count(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_glm_count(): Statistics function that produces a named list of results of the investigated Poisson model.
A layout object suitable for passing to further layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will add a logistic regression variable summary to the table layout.
analyze_num_patients() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_num_patients_content() to the table layout.
s_num_patients_content()
summarize_num_patients() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_num_patients_content() to the table layout.
s_num_patients() returns a named list of 3 statistics:
s_num_patients()
unique: Vector of counts and percentages.
nonunique: Vector of counts.
nonunique
In general, functions that starts with analyze* are expected to -work like rtables::analyze(), while functions that starts with summarize* -are based upon rtables::summarize_row_groups(). The latter provides a +work like rtables::analyze(), while functions that starts with summarize* +are based upon rtables::summarize_row_groups(). The latter provides a value for each dividing split in the row and column space, but, being it bound to the fundamental splits, it is repeated by design in every page when pagination is involved.
analyze*
summarize*
analyze_num_patients(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
summarize_num_patients(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::summarize_row_groups().
s_num_patients(): Statistics function which counts the number of unique patients, the corresponding percentage taken with respect to the total number of patients, and the number of non-unique patients.
analyze_patients_exposure_in_cols() returns a layout object suitable for passing to further -layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will +layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted data rows, with the statistics from s_count_patients_sum_exposure() arranged in columns, to the table layout.
s_count_patients_sum_exposure()
summarize_patients_exposure_in_cols() returns a layout object suitable for passing to further -layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will +layouting functions, or to rtables::build_table(). Adding this function to an rtable layout will add formatted content rows, with the statistics from s_count_patients_sum_exposure() arranged in columns, to the table layout.
s_count_patients_sum_exposure() returns a named list with the statistics:
n_patients: Number of unique patients in df.
n_patients
sum_exposure: Sum of ex_var across all patients in df.
sum_exposure
ex_var
a_count_patients_sum_exposure() returns formatted rtables::CellValue().
a_count_patients_sum_exposure()
analyze_patients_exposure_in_cols(): Layout-creating function which can take statistics function arguments and additional format arguments. This function is a wrapper for -rtables::split_cols_by_multivar() and rtables::analyze_colvars().
summarize_patients_exposure_in_cols(): Layout-creating function which can take statistics function arguments and additional format arguments. This function is a wrapper for -rtables::split_cols_by_multivar() and rtables::summarize_row_groups().
s_count_patients_sum_exposure(): Statistics function which counts numbers of patients and the sum of exposure across all patients.
a_count_patients_sum_exposure(): Analysis function which is used as afun in -rtables::analyze_colvars() within analyze_patients_exposure_in_cols() and as cfun in -rtables::summarize_row_groups() within summarize_patients_exposure_in_cols().
coxph_pairwise() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_coxph_pairwise() to the table layout.
coxph_pairwise()
s_coxph_pairwise()
s_coxph_pairwise() returns the statistics:
pvalue: p-value to test the null hypothesis that hazard ratio = 1.
pvalue
hr: Hazard ratio.
hr
n_tot: Total number of observations.
n_tot_events: Total number of events.
n_tot_events
a_coxph_pairwise() returns the corresponding list with formatted rtables::CellValue().
a_coxph_pairwise()
coxph_pairwise(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_coxph_pairwise(): Statistics function which analyzes HR, CIs of HR, and p-value of a Cox-PH model.
a_coxph_pairwise(): Formatted analysis function which is used as afun in coxph_pairwise().
An rtables table summarizing survival by subgroup.
a_survival_subgroups() returns the corresponding list with formatted rtables::CellValue().
a_survival_subgroups()
tabulate_survival_subgroups(): Table-creating function which creates a table -summarizing survival by subgroup. This function is a wrapper for rtables::analyze_colvars() -and rtables::summarize_row_groups().
tabulate_survival_subgroups()
a_survival_subgroups(): Formatted analysis function which is used as afun in tabulate_survival_subgroups().
surv_time() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_surv_time() to the table layout.
surv_time()
s_surv_time()
s_surv_time() returns the statistics:
median: Median survival time.
median
median_ci: Confidence interval for median time.
median_ci
range_event: Survival time range for observations with events.
range_event
range: Survival time range for all observations.
range
a_surv_time() returns the corresponding list with formatted rtables::CellValue().
a_surv_time()
surv_time(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_surv_time(): Statistics function which analyzes survival times.
a_surv_time(): Formatted analysis function which is used as afun in surv_time().
surv_timepoint() returns a layout object suitable for passing to further layouting functions, -or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing +or to rtables::build_table(). Adding this function to an rtable layout will add formatted rows containing the statistics from s_surv_timepoint() and/or s_surv_timepoint_diff() to the table layout depending on the value of method.
surv_timepoint()
s_surv_timepoint()
s_surv_timepoint_diff()
s_surv_timepoint() returns the statistics:
pt_at_risk: Patients remaining at risk.
pt_at_risk
rate_se: Standard error of event free rate.
rate_se
rate_ci: Confidence interval for event free rate.
rate_ci
a_surv_timepoint() returns the corresponding list with formatted rtables::CellValue().
a_surv_timepoint()
s_surv_timepoint_diff() returns the statistics:
rate_diff: Event-free rate difference between two groups.
rate_diff
rate_diff_ci: Confidence interval for the difference.
rate_diff_ci
ztest_pval: p-value to test the difference is 0.
ztest_pval
a_surv_timepoint_diff() returns the corresponding list with formatted rtables::CellValue().
a_surv_timepoint_diff()
surv_timepoint(): Layout-creating function which can take statistics function arguments -and additional format arguments. This function is a wrapper for rtables::analyze().
s_surv_timepoint(): Statistics function which analyzes survival rate.
a_surv_timepoint(): Formatted analysis function which is used as afun in surv_timepoint() when method = "surv".
method = "surv"
Collection of useful functions that are expanding on the core list of functions -provided by rtables. See rtables::custom_split_funs and rtables::make_split_fun() +provided by rtables. See rtables::custom_split_funs and rtables::make_split_fun() for more information on how to make a custom split function. All these functions -work with rtables::split_rows_by() argument split_fun to modify the way the split -happens. For other split functions, consider consulting rtables::split_funcs.
rtables::make_split_fun()
rtables::split_funcs