[R] Clarks 2Dt function in R
bialozyt at biologie.uni-marburg.de
bialozyt at biologie.uni-marburg.de
Mon Apr 4 11:11:08 CEST 2011
Dear Ben,
you answerd to Nancy Shackelford about Clarks 2Dt function.
Since the thread ended just after your reply,
I would like to ask, if you have an idea how to use this function in R
I defined it the following way:
function(x , p, u) {
(p/(pi*u))*(1+(x^2/u))^(p+1)
}
and would like to fit this one to my obeservational data (count)
[,1] [,2]
[1,] 15 12
[2,] 45 13
[3,] 75 10
[4,] 105 8
[5,] 135 16
[6,] 165 5
[7,] 195 15
[8,] 225 8
[9,] 255 9
[10,] 285 12
[11,] 315 5
[12,] 345 4
[13,] 375 1
[14,] 405 1
[15,] 435 1
[16,] 465 0
[17,] 495 1
[18,] 525 2
[19,] 555 0
[20,] 585 0
[21,] 615 0
[22,] 645 0
[23,] 675 0
but I am not able to fit anything.
Do you have an idea?
I guess there is something wrong in my formula for Clarks 2Dt
Thank you for reading
Ciao
Ronald Bialozyt
More information about the R-help
mailing list