import_data {FreqProf}R Documentation

Import Data Pop Up

Description

This function reads a file, whose extension is either csv, bin or fpw, and imports it as a data.frame.

Usage

import_data(filename = file.choose())

Arguments

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.

Value

A data.frame ready to be converted into freqprof class (see function freqprof).

Examples

 
 # Select a file
 import_data(filename = system.file("extdata", "S58-1-1.bin", 
                                    package = "FreqProf"))
 

[Package FreqProf version 0.0.1 Index]