import_data: Import Data Pop Up

Description Usage Arguments Value Examples

Description

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

Usage

1
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

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

FreqProf documentation built on May 2, 2019, 6:38 a.m.