I am very new to R and I would like to ask how to perform an iteration of a time series data using the formula below:
ln(x) + x = constant,
where x is the data taken from the time series. The limits of x is from zero to infinity, as long as the left hand side will be equivalent to the right hand side. I would also like to ask how to show the calculated x values to predict future event, say if I have a data from 2013 to 2014 then I want to predict the values on 2015. The frequency of the data is exactly from January to December (frequency=12).