powered by
This function allows you to scale vectors or an entire data frame using the max-min scaling method A numeric vector is always returned.
maxmin(x)
Pass a vector or the required columns of a data frame through this argument.
Returns a numeric vector with the input rescaled.
This is used within keymetrics_scan() to enable row-wise heatmapping. Originally implemented in https://github.com/martinctc/surveytoolbox.
keymetrics_scan()
Other Support: camel_clean(), check_inputs(), combine_signals(), cut_hour(), extract_date_range(), extract_hr(), heat_colours(), is_date_format(), p_test(), pairwise_count(), plot_WOE(), read_preamble(), rgb2hex(), totals_bind(), totals_col(), totals_reorder(), tstamp(), us_to_space(), wrap()
camel_clean()
check_inputs()
combine_signals()
cut_hour()
extract_date_range()
extract_hr()
heat_colours()
is_date_format()
p_test()
pairwise_count()
plot_WOE()
read_preamble()
rgb2hex()
totals_bind()
totals_col()
totals_reorder()
tstamp()
us_to_space()
wrap()
# NOT RUN { numbers <- c(15, 40, 10, 2) maxmin(numbers) # }
Run the code above in your browser using DataLab