Description Usage Arguments Value Examples
View source: R/setspell-setspell_selected.R
creates spells and run-lengths, by reference
1 2 3 4 5 6 7 8 9 | setspell_selected(
dtx,
grp,
var1,
value,
check_value = TRUE,
max = TRUE,
pos = "end"
)
|
grp |
grouping variables within-which to calculate on |
var1 |
variable to calcute run- and spell-lengths on. |
pos |
where should the variables be located in the data.table? |
DT |
a data.table |
rename |
should the spells and run-lengths be named after the original variabel or genericaly named? |
This function creates, by reference, four variables with run- and spell-length-type information.
1 2 3 4 | ## Not run:
function(arg1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.