ip_cast {ipaddress} | R Documentation |
Cast to IP vector
Description
Methods for converting character vectors and ip_interface
vectors to
ip_address
and ip_network
vectors.
Usage
as_ip_address(x)
as_ip_interface(x)
as_ip_network(x)
Arguments
x |
An object to cast |
Value
-
as_ip_address()
: Anip_address
vector -
as_ip_network()
: Anip_network
vector -
as_ip_interface()
: Anip_interface
vector
Examples
as_ip_address(ip_interface("192.168.0.1/10"))
as_ip_network(ip_interface("192.168.0.1/10"))
[Package ipaddress version 1.0.2 Index]