logit(p)
p
|
A numeric Splus object, all of whose values are in the range [0,1]. Missing
values (NAs) are allowed.
|
p are outside the unit interval then an error message
is generated. Values of p equal to 0 or 1 (to within machine precision)
will return -Inf or Inf respectively. Any NAs in the input will also
be NAs in the output.p containing the logits of the input
values.inv.logit