read.example: read file list

Description Usage Arguments Value Author(s) References See Also Examples

Description

read.example This function read file list under one package, or sets working directory under package.

Usage

1
read.example(package, setpath = FALSE)

Arguments

package

package name.

setpath

Whether set working directory under package, FALSE(default).

Value

this returned a path or file list.

Author(s)

Yuanzhen Lin <yzhlinscau@163.com>

References

Yuanzhen Lin. R & ASReml-R Statistics. China Forestry Publishing House. 2016 AAFMM website:https://github.com/yzhlinscau/AAFMM

See Also

See Also as read.file, fdata

Examples

1
2
3
4
5
6
7
library(AAFMM)
# read file list under a package
AAFMM::read.example(package = "AAFMM")

# set working directory under a package
AAFMM::read.example(package = "AAFMM", setpath = TRUE)
getwd()

yzhlinscau/AAFMM documentation built on May 4, 2019, 4:17 a.m.