Description Usage Arguments Author(s) Examples
Methods to abbreviate long item labels in transactions and rules.
1 2 3 4 5 6 | ## S3 method for class 'transactions'
abbreviate(data, minlength = 4, ...,method = "both.sides")
## S3 method for class 'rules'
abbreviate(data, minlength = 4, ...,method = "both.sides")
## S3 method for class 'itemMatrix'
abbreviate(data, minlength = 4, ...,method = "both.sides")
|
data |
an object of class "transactions", "itemMatrix" and "rules" |
minlength |
characters allwed in abbreviation |
method |
apply to level and value (both.sides) |
... |
further arguments; currently unused |
Sudheer Chelluboina and Michael Hahsler based on code by Martin Vodenicharov.
1 2 | data(Adult)
Adult <- abbreviate(Adult, 9)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.