Рет қаралды 12,318
Here we look at some data from a music streaming service to:
make a table of counts from a data set (a "contingency table").
turn those counts into probabilities and conditional probabilities.
learn about "pipes" in R, a useful way to chain related calculations together to produce the result you want.