Skip to content

Commit 4c4d6ad

Browse files
committed
updates
1 parent 7aebd53 commit 4c4d6ad

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

Diff for: .Rhistory

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
list.files("diet_data")
2+
files_full <- list.files("diet_data", full.names=TRUE)
3+
summary(files_full)
4+
tmp <- vector(mode = "list", length = length(files_full))
5+
summary(tmp)
6+
for (i in seq_along(files_full)) {
7+
tmp[[i]] <- read.csv(files_full[[i]])
8+
}
9+
str(tmp)
10+
str(tmp[[1]])
11+
head(tmp[[1]][,"Day"])
12+
output <- do.call(rbind, tmp)
13+
str(output)
14+
output <- rbind(tmp[[1]], tmp[[2]], tmp[[3]], tmp[[4]], tmp[[5]])
15+
str(output)

Diff for: Practice_Assignment.pdf

26.5 KB
Binary file not shown.

Diff for: practice_assignment.rmd

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
---
2+
title: R Programming Practice Assignment
23
output: pdf_document
34
---
4-
Practice Assignment
5+
6+
##Derek Franks
7+
8+
###Twitter: @derek_franks
9+
10+
511
========================================================
612

713
The goal of this assignment is to provide a "bridge" between the first two weeks of lectures and assignment 1 for those either new to R or struggling with how to approach the assignment.

0 commit comments

Comments
 (0)