amplify: Amplify the data frame with a given structure
Description
The dplyr::mutate function modifies, deletes or creates a new column for
a data frame without altering the number of rows. The amplify function
can create new columns which generally increase (or amplify) the size of the
row dimension. The observations in other columns are duplicated.
Use to control which columns are retained and how it is ordered
in the output. See documentation of dplyr::mutate for more information.
Value
Returns a data frame.
Details
If you are familiar with gene replication process then you can recall these
functions in genetic terms; an amplified gene is a duplication of the
original while a mutated gene modifies the original state.