Description Usage Arguments Value See Also Examples
Check whether an IP address is valid with is_valid
,
IPv4 with is_ipv4
, IPv6 with is_ipv6
, or multicast (intended to point to
multiple machines) with is_multicast
1 2 3 4 5 6 7 | is_multicast(ip_addresses)
is_ipv4(ip_addresses)
is_ipv6(ip_addresses)
is_valid(ip_addresses)
|
ip_addresses |
a vector of IP addresses |
a vector of TRUE or FALSE values, indicating whether an IP is multicast or not, or NA values if the IP addresses are NAs.
ip_classify
for character rather than logical classification.
1 2 3 4 5 6 7 8 | # This is multicast
is_multicast("224.0.0.2")
# It's also IPv4
is_ipv4("224.0.0.2")
# It's not IPv6
is_ipv6("224.0.0.2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.