Calculate G² (log-likelihood test) from vectors
ll.Rd
Calculate loglikelihood association measures for vectors of counts.
Arguments
- o11
numeric or integer with joint frequency
- f1
numeric or integer with frequencies of tokens
- n
numeric or integer with overall frequencies if not provided, sum of f1 is taken
- f2
numeric or integer with frequencies of co-occurring tokens or construction if not provided, sum of joint frequencies (o11) is taken
- one_sided
logical if
TRUE
, repulsion is indicated by a negative sign