Closed chitrams closed 5 months ago
return(out_data)
is better practice because it explicitly defines what it is that you want out of the function. R can do just out_data
or even without specification if in the above I didn't save it to the object population-data.
In the following function for example:
Is it better to specify
return(population_data)
as above or simply to just putpopulation_data
at the end of that function? To research.