Hello everyone,
I want to estimate a function for the relationship between the distance
and the cross-correlation coefficients. This means that I have several
pairs of distance and cross-correlation coefficients.
Hence, I have a function which includes two vectors with the same length
(for distance and the cross-correlation coefficients) and the parameters
x[1] and x[2] which I want to optimize.
I can easily apply auglag or constrOptim.nl from the alabama package for
scalar values, but I did not find a way to include vectors.
Has anyone from you an idea?
thank you and best regards
Björn
--
Björn Guse
Dr. rer. nat.
Institut für Natur- und Ressourcenschutz
Abteilung Hydrologie und Wasserwirtschaft
Christian-Albrechts-Universität zu Kiel
Olshausenstr. 75
D-24118 Kiel
(+49) 0431-880-1224
www.hydrology.uni-kiel.de
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.