IP_split: Split IP addresses

Description Usage Arguments Value Examples

View source: R/IP_country.R

Description

Split IP addresses

Usage

1
IP_split(IP.address, integer = TRUE, data.frame = TRUE)

Arguments

IP.address

vector of IPv4 addresses

integer

logical, convert output to class integer

data.frame

logical, convert output to data.frame

Value

Returns a matrix or data.frame with four columns and as many rows as IP.addresses were inputted

Examples

1

Example output

   V1  V2  V3  V4
1  23 219 158 221
2 212  52 176  25
3 159  22 160  88
4 103 236  39 103
5 139  97  28 251
6 125  62 243  91

IPtoCountry documentation built on May 2, 2019, 6:03 a.m.