The texts labeled ham on average are the texts that contain the most characters within a tweet. The texts labeled spam are texts showing tweets with less characters used.

## 
##  ham spam 
## 0.52 0.48

The maximum amount of characters within a tweet is 221. The tweet with the minimum amount of characters is 14. The Median amount of characters within the 50 tweets is 82.0 characters. The average number of characters is 87.1 characters.

##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##    14.0    49.5    82.0    87.1   108.2   221.0

The plot graph shows the texts are labeled ham and spam. On average between the labeled text it shows that the label ham has .04 percent more characters than spam. Ham measures at .52 and spam measures at .49

## Loading required package: Matrix
## 
## Attaching package: 'arules'
## The following objects are masked from 'package:base':
## 
##     abbreviate, write
## Eclat
## 
## parameter specification:
##  tidLists support minlen maxlen            target   ext
##     FALSE    0.07      1    221 frequent itemsets FALSE
## 
## algorithmic control:
##  sparse sort verbose
##       7   -2    TRUE
## 
## Absolute minimum support count: 3 
## 
## create itemset ... 
## set transactions ...[57 item(s), 50 transaction(s)] done [0.00s].
## sorting and recoding items ... [6 item(s)] done [0.00s].
## creating bit matrix ... [6 row(s), 50 column(s)] done [0.00s].
## writing  ... [23 set(s)] done [0.00s].
## Creating S4 object  ... done [0.00s].

Everytime support is at 1.00 or .02 percent the confidence is 1. The lift shows a variety of different results when support or confidence is at .02 or 1. The lift shows 50, 1.0, 1.92, 2.08 whenever the LHS shows febreuary 11. The RHS item was also purchased 100% of the time when support is 1 or .02 percent.

## Apriori
## 
## Parameter specification:
##  confidence minval smax arem  aval originalSupport maxtime support minlen
##         0.5    0.1    1 none FALSE            TRUE       5   0.001      1
##  maxlen target   ext
##      10  rules FALSE
## 
## Algorithmic control:
##  filter tree heap memopt load sort verbose
##     0.1 TRUE TRUE  FALSE TRUE    2    TRUE
## 
## Absolute minimum support count: 0 
## 
## set item appearances ...[0 item(s)] done [0.00s].
## set transactions ...[57 item(s), 50 transaction(s)] done [0.00s].
## sorting and recoding items ... [57 item(s)] done [0.00s].
## creating transaction tree ... done [0.00s].
## checking subsets of size 1 2 3 4 done [0.00s].
## writing ... [634 rule(s)] done [0.00s].
## creating S4 object  ... done [0.00s].
##     lhs                                   rhs                               
## [1] {}                                 => {twitter=yes}                     
## [2] {Dates=11-Feb}                     => {text=It’s a digital thermometer.}
## [3] {text=It’s a digital thermometer.} => {Dates=11-Feb}                    
## [4] {Dates=11-Feb}                     => {x=ham}                           
## [5] {Dates=11-Feb}                     => {twitter=yes}                     
## [6] {text=Hope not at me}              => {Dates=9-Feb}                     
##     support confidence lift      count
## [1] 1.00    1           1.000000 50   
## [2] 0.02    1          50.000000  1   
## [3] 0.02    1          50.000000  1   
## [4] 0.02    1           1.923077  1   
## [5] 0.02    1           1.000000  1   
## [6] 0.02    1           2.083333  1
##     lhs                                   rhs                                support confidence lift count
## [1] {Dates=11-Feb}                     => {text=It’s a digital thermometer.}    0.02          1   50     1
## [2] {text=It’s a digital thermometer.} => {Dates=11-Feb}                        0.02          1   50     1
## [3] {x=ham,                                                                                               
##      Dates=11-Feb}                     => {text=It’s a digital thermometer.}    0.02          1   50     1
## [4] {x=ham,                                                                                               
##      text=It’s a digital thermometer.} => {Dates=11-Feb}                        0.02          1   50     1
## [5] {Dates=11-Feb,                                                                                        
##      twitter=yes}                      => {text=It’s a digital thermometer.}    0.02          1   50     1
## [6] {text=It’s a digital thermometer.,                                                                    
##      twitter=yes}                      => {Dates=11-Feb}                        0.02          1   50     1