I have 2 variables, both from class "numeric":
> head(y)
[1] 0.4651804 0.6185849 0.3766175 0.5489810 0.3695258 0.4002567
> head(x)
[1] 59.32820 68.46436 80.76974 132.90824 216.75995 153.25551
I plotted them, and now I would like to fit an exponential model to the data (and add it to the plot) but I cannot find any info on fitting models to multivariate data in R! Only to univariate data, can somebody help? I don't even know where to start... Thanks!