search for: bmn007

Displaying 1 result from an estimated 1 matches for "bmn007".

Did you mean: bm007
2004 Oct 24
1
How to use a matrix in pcurve?
...eryone, I want to calculate the principal curve of a points set. First I read the points'coordinate with function "scan", then converted it to matrix with the function "matrix", and fit the curve with function "principal.curve". Here is my data in the file "bmn007.data": 0.023603 -0.086540 -0.001533 0.024349 -0.083877 -0.001454 .. .. 0.025004 -0.083690 -0.001829 0.025562 -0.083877 -0.001857 0.026100 -0.083877 0.000090 0.025965 -0.083877 0.002574 and the code as follow: pp <- scan("bmn007.data", quiet= TRUE) x <- matrix(pp,...