You could try the sink function! I use that from time to time:
?sink
Kyle H. Ambert
Fellow, National Library of Medicine
Department of Medical Informatics & Clinical Epidemiology
Oregon Health & Science University
ambe...@gmail.com
__
R-help@r-project.
Hi there,
I am having a strange problem. I am running nls on some data.
#data
x <- -(1:100)/10
y <- 100 + 10 * (exp(-x / 2)
Using nls I fit an exponential model to this data and get a great fit
summary(fit)
Formula: wcorr ~ (Y0 + a * exp(m1 * -dist/100))
Parameters:
Estimate Std. E
2 matches
Mail list logo