::: {.cell hash='Lecture_cache/revealjs/unnamed-chunk-47_9472654bcff153f84cce31a9620c2086'}

```{.r .cell-code}
log_q = function(x,q=1) {
  if (q==1)
    log(x)
  else 
    (x^(1-q)-1)/(1-q)
}
```
:::