x_read_write: Read data frame

Description Usage Arguments Value

Description

x_read() Functions to read data frames to plain text delimited files while retaining factor levels

x_write() Functions to write data frames to plain text delimited files while retaining factor levels

Usage

1
2
3
x_read(x, x_name, file_path = "new.csv")

x_write(x, x_name, file_path = "new.csv")

Arguments

x_name

path to store the file of the data frame.

x

a data frame.

file_path

path to store the companion file.

Value

x_read() returns a data frame read from files. An error is raised if the input is not a dataframe, or files not found.

x_write() returns nothing. An error is raised if the input is not a dataframe, or files not found.


STAT545-UBC-students/hw07-ziqiangt documentation built on May 24, 2019, 7:53 a.m.