I have a transaction object trans
created using read.transaction()
. How do I delete a named column from trans
?
Asked
Active
Viewed 238 times
0

csgillespie
- 59,189
- 14
- 150
- 185

David Soroko
- 8,521
- 2
- 39
- 51
1 Answers
0
You can use regular matrix subsetting. If you want to get rid of column 3 in trans
then you just say:
trans <- trans[,-3]

Michael Hahsler
- 2,965
- 1
- 12
- 16