Description Usage Arguments Details Value Author(s) Examples
generate()
creates a new variable either by
deriving from existing variables or with a constant value.
1 |
data |
data.frame |
var |
name for the new variable |
expr |
a constant value, name of an existing variable or an expression for simple arithmetic or logical operations: |
The values of the variable are specified by expr
.
Label
The newly created variable is automatically labeled with the expression specified.
data.frame with the new variable
Email: dr.myominnoo@gmail.com
Website: https://myominnoo.github.io/
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.