Re: [R] how to do Splus compare() function in R

2006-04-20 Thread Bellinger Instruments P/L
The sign() function requires one argument, and returns the sign of the value, where I require a number -1, 0, or 1 depending on if the value is <, ==, or > the first argument. This is the Splus function when listed, > compare function(e1, e2) .Internal(compare(e1, e2), "do_op", T, 18) unfortunat

[R] how to do Splus compare() function in R

2006-04-19 Thread Bellinger Instruments P/L
Hi I have a source file in Splus that fails in R as I am using the Splus function compare(). compare( ii * 1e9,f ) where ii is a single variable and f is a vector of length 146 R returns with no function error Can anyone inform me how I can do this in R

[R] how to do Splus compare() function in R

2006-04-19 Thread Bellinger Instruments P/L
Hi I have a source file in Splus that fails in R as I am using the Splus function compare(). compare( ii * 1e9,f ) where ii is a single variable and f is a vector of length 146 R returns with no function error Can anyone inform me how I can do this in R

Re: [R] error message from gls(), unstructured in lower triangle, identical diagonal, help.

2003-03-02 Thread P L
> It's just by chance that this happened: the > correlation you generated > was not strong enough, or was far from an > unstructured correlation and > the algorithm did not converge (and you obtained > this error message). > Generate another sample might solve the problem. > I think that you he