Fixed a typo and updated doc
Updated to functions in formulr