There are a number of values for dependent variable (let's name it Y) and the same number of corresponding values for independent variable (let's name it X).
How can i check if dependency Y(X) is linear?
If my table would looks like (i.e. independent variable X will take only two values 0 or 1):

Is it possible in that case that dependency Y(X) is linear? Why?



Note that if observations are, instead, linearly related to gradients, we have to use a Canonical Correlation Analysis (CANCOR) or Redundancy Analysis (RDA) instead of a Canonical Correspondence Analysis (CCA).So i'm not sure which definition author exactly mean. – Denis Aug 29 '19 at 18:52r). I'm not a statistician and it's not easy to figure out that. What i already understand now from your post i have to make somelinear models(perhaps withlmfunction) and then test them withANOVA. But it's not clear which models i could make with one independent variable. Thank you again. – Denis Aug 29 '19 at 21:32