Learn R Programming

MSEtool (version 3.7.3)

XL2Data: Import a Data object from Excel file

Description

Import a Data object from Excel file

Usage

XL2Data(name, dec = c(".", ","), sheet = 1, silent = FALSE)

Value

An object of class 'Data'

Arguments

name

Name of the data file, with or without file extension. Include full file path if not in working directory

dec

the character used in the file for decimal points.

sheet

Sheet number if importing Data from XL file

silent

Logical. Hide messages?

Author

A. Hordyk

Examples

Run this code
if (FALSE) {
MyData <- XL2Data("MyData.xlsx")
}

Run the code above in your browser using DataLab