would like to know how the functions of the apply family work and if possible with examples. In what contexts best apply? Thanks since then!