Week1 Cheat Sheet Dplyr Functions
Week1 Cheat Sheet Dplyr Functions
destfile a character
string with the name
where the downloaded
file is saved.
head(x) function
returns the first part of head(sub_airline)
head() head(x)
a vector, matrix, table,
data frame or function.
tail(x) function
returns the last parts
tail() tail(x) of a vector, matrix, tail(sub_airline)
table, data frame or
function.
write_csv() write.csv(x, file, traitsAsDir write_csv() save write_csv(sub_airline, "lax_to_jfk.csv")
= FALSE, csv2 = TRUE, row.names summaries of
= FALSE, ...)
partitioned breeding
values to CSV files on
disk for further
analyses of processing
with other software or
just for saving
(backing up) results.
traitsAsDir should
results be saved within
trait folders; the
construction is
file.path(dirname(file),
trait, basename(file));
folders are created if
they do not exist.
Author(s)
Amrutha Rao
Changelog
Date Version Changed by Change Description
2023-05-11 1.1 Eric Hao & Vladislav Boyko Updated Page Frames
2021-08-05 1.0 Amrutha Rao Initial Version