An introduction to fractals and multifractals in ecology using R