Learn R Programming

word.alignment (version 1.0.9)

ExcelToR: Converting Excel Files Into Required R Format

Description

This function converts the excel files into required R format.

Usage

ExcelToR(file_align = 'alignment.xlsx', null.tokens = TRUE, len = len)

Arguments

file_align

the excel file name which we want to convert it into required R format.

null.tokens

logical. If TRUE, 'null' is added at the first of each source sentence of the test set.

len

the number of sheets of the excel file to be converted into R format. It must be assigned by the user.

Value

an RData object as 'file_align.RData'.

See Also

cons.agn, Evaluation1