Description Usage Arguments Value Examples
View source: R/short_generic.R
Multiply a single vector or selected vectors in a dataframe by a fixed constant value. Vectors must be either numeric or integer.
1 | mult_by(dat, mult_value)
|
dat |
a dataframe with only integer or numeric vectors |
mult_value |
A numeric or integer value to use as a multiplier |
A vector, or dataframe dat
with specified columns
multiplied by mult_value
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.