LUA YAW rotation

Hello, I need to rotate the copter to a given angle through a lua script, but I can’t find in the examples how to do it