Can i make a question? Would the following work in a lm() function? species ~ Environmental_factor (e.g temperature) . I want to see if they are related.
Great question, Walter! It depends on the variables you are using - what kind of variable is "species" (e.g., is it a categorical variable)? If "species" is a categorical variable, you will need to create "dummy variables" for it (www.statisticssolutions.com/dummy-coding-the-how-and-why/). If "species" is continuous, you could certainly do something like "lm(mean species size ~ temperature)", where you want to see how the size of a species might change with temperature.
This course comes highly recommended!
Thank you so much! :)
Would you lunch another course?
I'm looking forward to it.
Thanks! Yes, that's the plan... :)
@@RforEcology great
Can i make a question? Would the following work in a lm() function? species ~ Environmental_factor (e.g temperature) . I want to see if they are related.
Great question, Walter! It depends on the variables you are using - what kind of variable is "species" (e.g., is it a categorical variable)? If "species" is a categorical variable, you will need to create "dummy variables" for it (www.statisticssolutions.com/dummy-coding-the-how-and-why/).
If "species" is continuous, you could certainly do something like "lm(mean species size ~ temperature)", where you want to see how the size of a species might change with temperature.