import_data {FreqProf} | R Documentation |
This function reads a file, whose extension is either csv, bin or fpw, and imports it as a data.frame.
import_data(filename = file.choose())
filename |
a string indicating the path of the file containing the data. By default, will open a pop-up so that the user can choose a file with the GUI. |
A data.frame ready to be converted into freqprof class (see function
freqprof
).
# Select a file
import_data(filename = system.file("extdata", "S58-1-1.bin",
package = "FreqProf"))