fortify_x3p: Convert an x3p file into a data frame

View source: R/x3p.R

fortify_x3pR Documentation

Convert an x3p file into a data frame

Description

old function - for previous ISO standard. 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)

erichare/bulletr documentation built on May 3, 2024, 10:14 p.m.