I'm new to R and I'm trying to find the correlation between a numeric variable and a factor one. I have a data frame with the following 3 columns: 1. nr of clicks (range 0:14) 2. response (1= "YES", 0="NO") 3. Frequencies - no of counts (how many clients responded "YES" with X no of clicks)
So, the no of rows of the table is 28.
How can I measure the correlation between the dependent variable, response, and the numeric one?
Thanks! Rodica