import_excel_data: Imports the data from the excel file

Description Usage Arguments Value Author(s)

Description

Imports the data from the excel file

Usage

1
2
import_excel_data(path = NULL, sheet = NULL, import.col.names,
  output.var.names, group.col.name, control.value, treatment.value)

Arguments

path

(Character) the path that the excel file can be read from. By default it is set to NULL so that a pop up window will ask for the path.

sheet

(Character) (default: NULL) the sheet inside excel file that the data are stored. By default it gets the first one.

import.col.names

(Character) the column names as specifed in the excel.

output.var.names

(Character) the variable names as they will be displayed in the output.

group.col.name

(Character) the column name that specifies the group (control or treatment)

control.value

(Character) the value that specifies the control group. (e.g. 0 or 'control')

treatment.value

(Character) the value that specifies the treatment group (e.g. 1 or 'treatment')

Value

data.frame with the data.

Author(s)

Agapios Panos <panosagapios@gmail.com>


agapiospanos/TableOne documentation built on June 19, 2019, 2:46 p.m.