read.file: read file function

View source: R/basF.R

read.fileR Documentation

read file function

Description

read.file This function read file similar to asreml.read.table().

Usage

read.file(file, header = TRUE, sep = ",", dec = ".", ...)

Arguments

file

File name.

header

Whether file has header for Varialbes, TRUE(default).

sep

Field separator character, ','(default).

dec

Decimal points' character, '.'(default).

...

Further arguments to be passed to read.table.

Details

Count error for h2 and corr value, also outputs significent level.

Value

this returned a data.frame.

Author(s)

Yuanzhen Lin <yzhlinscau@163.com>

References

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

See Also

See Also as read.example, fdata

Examples

library(AFEchidna)
AfEchidna::read.example(package = "AFfR", setpath = TRUE)
df<-AfEchidna::read.file(file="fm.csv", header=TRUE)
names(df)


yzhlinscau/AAfun0s documentation built on April 18, 2023, 4:11 p.m.