I need to exactly replicate Excel's LOGEST function in R, but can't find a way of doing it without using generic least squares estimation. Before I write some custom code myself, has anyone come across such a thing?
data <- 2:7
Desired output (from Excel's LOGEST function):
1.27730742 1.758076359