fortify_x3p {bulletr} | R Documentation |
Convert a list of x3p file into a data frame
Description
x3p format consists of a list with header info and a 2d matrix of scan depths. fortify_x3p turn the matrix into a variable within a data frame, using the parameters of the header as necessary.
Usage
fortify_x3p(x3p)
Arguments
x3p |
a file in x3p format as return by function read_x3p |
Value
data frame with variables x, y, and value
Examples
data(br411)
br411_fort <- fortify_x3p(br411)
head(br411_fort)
[Package bulletr version 0.1 Index]