Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
justingrimmer committed Sep 8, 2017
2 parents e147f4f + 9d1a3fa commit 210fcd6
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
Binary file added Homework/HW_5_Answers/HW5 Answers.pdf
Binary file not shown.
Binary file added Homework/HW_7/HW7.pdf
Binary file not shown.
Binary file added Homework/HW_8/HW8.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions Labs/Lab_Assignments/RPset1_2017.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ title: 'R Problem Set 1: Loops, Functions, and Matrix Algebra'
author: "Your name goes here"
date: 'Due date: September 12, 2017'
output:
pdf_document:
toc: yes
html_document:
toc: yes
toc_float: yes
pdf_document:
toc: yes
---

#Instructions

Please print and submit a hardcopy of your completed problem set (the knitted .pdf) to the next lab, 1:30 PM Tuesday, September 12, 2017. *Note*: please do *not* email files. It will be easier to grade your problem sets if given the hardcopy.
Please print and submit a hardcopy of your completed problem set (the knitted .pdf) in class, 9:00AM Tuesday, September 12, 2017. Late submissions will not be accepted. *Note*: please do *not* email files. It will be easier to grade your problem sets if given the hardcopy.

Please do the following problems. When you see a line of code like `set.seed(123)`, just leave it. It is to make your assignments more easily comparable from student to student.

Expand Down
5 changes: 2 additions & 3 deletions Labs/Lab_Assignments/RPset1_2017.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ <h4 class="date"><em>Due date: September 12, 2017</em></h4>

<div id="instructions" class="section level1">
<h1>Instructions</h1>
<p>Please print and submit a hardcopy of your completed problem set (the knitted .pdf) to the next lab, 1:30 PM Tuesday, September 12, 2017. <em>Note</em>: please do <em>not</em> email files. It will be easier to grade your problem sets if given the hardcopy.</p>
<p>Please print and submit a hardcopy of your completed problem set (the knitted .pdf) in class, 9:00AM Tuesday, September 12, 2017. Late submissions will not be accepted. <em>Note</em>: please do <em>not</em> email files. It will be easier to grade your problem sets if given the hardcopy.</p>
<p>Please do the following problems. When you see a line of code like <code>set.seed(123)</code>, just leave it. It is to make your assignments more easily comparable from student to student.</p>
<div id="how-to-do-this-problem-set" class="section level3">
<h3>How to do this problem set</h3>
Expand All @@ -243,8 +243,7 @@ <h3>Problem 1: Working with For Loops</h3>
<p>The following code will create the initial data frame <code>dat</code> for this problem:</p>
<pre class="r"><code># Create a vector x and assign to it values from -2 to 2 in increments of 0.1.
x &lt;- seq(from=-2, to=2, by=0.1)</code></pre>
<pre class="r"><code>#Create a data frame with the columns x, x.plus, and x.multiply. x is the same vector you created before. x.plus is x added to itself, and x.multiply is x multiplied by itself.

<pre class="r"><code>## Create Data Frame
dat &lt;- as.data.frame(matrix(nrow=length(x), ncol=3))
dat[,1] &lt;- x
dat[,2] &lt;- x + x
Expand Down
Binary file modified Labs/Lab_Assignments/RPset1_2017.pdf
Binary file not shown.

0 comments on commit 210fcd6

Please sign in to comment.