read.zip: Reads all surface '.txt' files inside a ".zip" file

Description Usage Arguments Value Examples

Description

This function reads a standard '.txt' file and converts it into a list of cimg objects

Usage

1
read.zip(file, file.n = NULL, cutoff = c(0.001, 0.999), na.rm = TRUE)

Arguments

file

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

file.n

the number(s) of file(s) to be read, default is NULL which read all files

cutoff

cutoff

na.rm

interpolation algorithm

Value

a imlist object.

Examples

1
2
3
4
file <- system.file("extdata", "ground.zip", package = "surf")
surf <- read.zip(file)
par(mfrow = c(1,2))
plot(surf, layout = "row")

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