Can a function in R return not one, but two vectors?

(I am really beginning with R, so I might be overlooking something simple)

Edit
Report