Learn R Programming

geoSpectral (version 0.17.5)

spc.Read_ASD: Read the ASD Spectra from text file

Description

Imports ASD spectra from text files prepared by the software provided by ASD inc. This function imports only one spectra per file.

Usage

spc.Read_ASD(filename)

Arguments

filename

A string name of the input text file containing the raw ASD data.

Value

Returns an object of class Spectra.

Examples

Run this code
# NOT RUN {
filename = file.path(system.file(package = "geoSpectral"),"test_data", "106.064.txt")
L = spc.Read_ASD(filename)
class(L)
spc.plot.plotly(L)

# }

Run the code above in your browser using DataLab