poissonconsulting / rescale

An R package to centre and standardize variables based on the values in a second data frame
https://poissonconsulting.github.io/rescale/
Other
0 stars 0 forks source link

Add checks back into rescale_f() #10

Open joethorley opened 1 month ago

joethorley commented 1 month ago
if (anyDuplicated(transform_cols)) error("elements in transform must be unique")
if (anyDuplicated(subtract_cols)) error("elements in subtract must be unique")
if (anyDuplicated(divide_by_cols)) error("elements in divide_by must be unique")