rand_walk_column_names {RandomWalker} | R Documentation |
Get Column Names
Description
This function generates the column names of a rand walk data frame.
This function subsets random walks to identify the walk with the maximum or minimum value.
Usage
rand_walk_column_names(.rand_data, .dim_names, .num_sims, .t)
subset_walks(.data, .type = "max")
Arguments
.rand_data |
A data frame from which column names are to be extracted. |
.dim_names |
The dimnames passed from the rand walk function. |
.data |
A data frame containing random walks. It must have columns |
.type |
A character string specifying the type of subset: "max" for maximum value, "min" for minimum value, or "both" for both maximum and minimum values. |
Details
The rand_walk_column_names
function takes a data frame as input and
returns the rand walk data with column names.
Value
A data frame containing the subsetted walk.
Author(s)
Steven P. Sanderson II, MPH
See Also
Other Utility Functions:
confidence_interval()
,
convert_snake_to_title_case()
,
generate_caption()
,
get_attributes()
,
rand_walk_helper()
,
running_quantile()
,
std_cum_max_augment()
,
std_cum_mean_augment()
,
std_cum_min_augment()
,
std_cum_prod_augment()
,
std_cum_sum_augment()
Other Utility Functions:
confidence_interval()
,
convert_snake_to_title_case()
,
generate_caption()
,
get_attributes()
,
rand_walk_helper()
,
running_quantile()
,
std_cum_max_augment()
,
std_cum_mean_augment()
,
std_cum_min_augment()
,
std_cum_prod_augment()
,
std_cum_sum_augment()
Examples
df <- rw30()
subset_walks(df, .type = "max")
subset_walks(df, .type = "min")
subset_walks(df, .type = "both")