SOAP.logical {SSOAP}R Documentation

Convert a SOAP logical value to S

Description

This is a simple function that handles converting a boolean value given in SOAP to an S logical value. This operates on the value within the SOAP node (not the node itself). This is different from as.logical only in that it handles "0" (i.e. a string).

Usage

SOAP.logical(x)

Arguments

x a string, or any S value that is to coerced to a logical value.

Details

Value

A logical value.

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://www.w3.org/TR/SOAP/ http://www.omegahat.org/SSOAP, http://www.omegahat.org/bugs.

See Also

fromSOAP SOAPPrimitiveConverters

Examples

## Not run: 
# Since not exported
 SOAP.logical("0")
 SOAP.logical("TRUE")
 SOAP.logical("FALSE")
## End(Not run)

[Package SSOAP version 0.4-4 Index]