import_data: Import Data Pop Up

Description Usage Arguments Value Examples

View source: R/ImportData.R

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
# Only run this example in interactive R sessions
if(interactive()) {
  # Select a file
  import_data()
 }

AIBRT/FreqProf documentation built on May 5, 2019, 11:30 a.m.