fdata: format dataset

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

Description

fdata This function will format dataset for varialbes to factors.

Usage

1
fdata(data, faS = NULL)

Arguments

package

package name.

setpath

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

Details

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

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, read.example

Examples

1
2
3
4
library(datasets)
names(mtcars)

mtcars1<-fdata(mtcars,faS=c(2,8,9))

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