activity context -nonlinear group as reference- markdown.Rmd