R version 4.0.2, OS: Windows 10, problem creating function using function()

It seems everything I have inputted is ok. But the function doesn't work. Pls help me find out the problem

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.