ip4: IPv4 Conversion Functions

Description Usage Arguments Examples

Description

Functions to manipulate objects of class "ip4" representing IP version 4 addresses.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
as.ip4(x)

## S3 method for class 'numeric'
as.ip4(x)

## S3 method for class 'character'
as.ip4(x)

## S3 method for class 'ip4'
as.character(x, ...)

Arguments

x

An object to be converted.

...

further arguments passed to or from other methods.

Examples

1
as.ip4("192.168.0.1")

Example output

[1] "192.168.0.1"

Rip46 documentation built on May 2, 2019, 9:28 a.m.

Related to ip4 in Rip46...