Build data and AI skills | 50% off

Last chance! 50% off unlimited learning

Sale ends in


geoelectrics (version 0.2.2)

parseProcessedDataFile: Parses a Processed Data File

Description

Parses .xyz files produced by the software Res2DInv. Needs to be overwritten if another processed data format is used.

Usage

parseProcessedDataFile(address, skip = 0)

Value

list of two data frames: The first data frame contains points without topography (distance, depth and resistivity values). The second data frame contains points with topography (distance, height and resistivity values).

Arguments

address

address of the raw data ascii file.

skip

the number of lines of the data file to skip before beginning to read data.

See Also

ProcessedData-class, Profile-class

Examples

Run this code
fileAddress <- system.file('extdata/processed/p1_DipolDipol_SW-NE.xyz',
                   package = 'geoelectrics')

processedData = new('ProcessedData')
processedData@address = fileAddress
processedData@points <- parseProcessedDataFile(address = fileAddress)[[1]]
processedData@pointsWithTopo <- parseProcessedDataFile(address = fileAddress)[[2]]

Run the code above in your browser using DataLab