Description Usage Arguments Value See Also Examples
ip_in_range
checks whether a vector of IP
addresses fall within particular IP range(s).
1 | ip_in_range(ip_addresses, ranges)
|
ip_addresses |
a vector of IP addresses |
ranges |
either a vector of ranges equal in length
to |
a logical vector, where TRUE indicates the relevant IP is in the range, and FALSE indicates that the IP is not in the range, or is an invalid IP address.
range_boundaries
for identifying the minimum
and maximum IPs within a range, and validate_range
for
validating that a range exists.
1 2 3 | #Is this in the range? Yes!
ip_in_range("172.18.0.1","172.18.0.0/28")
#[1] TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.