ip_format | R Documentation |
Format vector of IP data using compressed or exploded representation.
## S3 method for class 'ip_address' format(x, ..., exploded = FALSE) ## S3 method for class 'ip_interface' format(x, ..., exploded = FALSE) ## S3 method for class 'ip_network' format(x, ..., exploded = FALSE)
x |
An object to format |
... |
These dots are for future extensions and must be empty. |
exploded |
Logical scalar. Should IPv6 addresses display leading zeros?
(default: |
A character vector
format(ip_address("2001:db8::8a2e:370:7334")) format(ip_address("2001:db8::8a2e:370:7334"), exploded = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.