expand_df_filter | R Documentation |
expand_df
Used within expand_df()
to filter out the data based on the arguments keep_no_obs
and keep_before_obs
.
expand_df_filter(
df,
response,
keep_no_obs,
keep_before_obs,
sort_col,
sort_descending,
group_col
)
df |
Data frame. |
response |
Column name of response variables whose missing values will be
infilled and projected, defaults to |
keep_no_obs |
Logical value indicating whether or not to keep rows in the
expanded data frame when there is no data. Defaults to |
keep_before_obs |
Logical value indicating when data is available, whether or not
to keep rows in the expanded data frame that lie before the first observed point.
Defaults to |
sort_col |
Column name(s) to use to |
sort_descending |
Logical value on whether the sorted values from |
group_col |
Column name(s) of group(s) to use in |
Filtered expanded data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.