Description Usage Arguments Details Value
View source: R/viz_no_in_caliper.R
A wrapper for no_in_caliper that returns a plot instead of a data frame. Returns a ggplot object.
1 | plot_no_in_caliper(cw_list, df, first_t, percentage = TRUE)
|
cw_list |
List or vector of caliper width value. |
df |
Data frame containing the pooling variables. The first column needs to be called "t" and contain the timepoint, in the form of an unbroken sequence of integers, the smallest of which needs to be smaller than the first_t argument. |
first_t |
Timepoint ("t") from which to start counting. |
percentage |
Should the number of observations within the caliper (FALSE) or the percentage (TRUE) be returned? |
Details go here.
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.