Learn R Programming

IPtoCountry (version 0.0.1)

IP_split: Split IP addresses

Description

Split IP addresses

Usage

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

Run this code
head(IP_split(IPs))

Run the code above in your browser using DataLab