read.surf: Reads a surface '.txt' file

Description Usage Arguments Value Examples

Description

This function reads a standard '.txt' file and converts it into a cimg object

Usage

1
read.surf(file, cutoff = c(0.001, 0.999), na.rm = TRUE)

Arguments

file

A string withe the name of the '.txt' file to be loaded.

cutoff

cutoff

na.rm

interpolation algorithm

Value

a cimg object.

Examples

1
2
3
file <- system.file("extdata", "ground.txt", package = "surf")
surf <- read.surf(file)
plot(surf)

coldfir3/surf documentation built on May 13, 2019, 8:49 p.m.