Plotting y vs. x:
plot(y ~ x)
the graph seems to be flattening out at x = 0 at a level of around y =
500 so lets look at:
plot(500-y ~ x)
This curve is moving up rapidly so lets take the log to flatten it out:
plot(log(500-y) ~ x)
That looks quite linear so log(500-y)
Hi all,
I am not a mathematician and I am trying to fit a function which could fit my
observed data.
Which function should I use and how could I fit it to data in R?
Below are the data:
x <- c(0, 9, 17, 24, 28, 30)
y <- c(500, 480, 420, 300, 160, 5)
I use R for Mac OS, version 2.10-1 2009-08-24
2 matches
Mail list logo