Learn R Programming

DLMtool (version 5.2)

XL2Data: Import a Data object from Excel file

Description

Import a Data object from Excel file

Usage

XL2Data(name = "Data", dir = NULL)

Arguments

name

Name of the data file, with or without file extension.

dir

Optional file path. Default is getwd()

Value

An object of class 'Data'

Examples

Run this code
# NOT RUN {
MyData <- XL2Data("MyData.xlsx")
# }

Run the code above in your browser using DataLab