Displaying 2 results from an estimated 2 matches for "do_op".
Did you mean:
d_op
2006 Apr 21
0
how to do Splus compare() function in R [Broadcast]
...s 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)
>
> unfortunately I do not understand the .internal function
> and cannot find any description of this type of programming
> on the CRAN site
>
>
>
> This is how I am using it in the source file.
>
>
> zz <- readline() # keyboa...
2006 Apr 20
3
how to do Splus compare() function in R
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
thanks in advance
Bob Kelly
[[alternative HTML version deleted]]