Skip to content

Commit e1d7b34

Browse files
committed
Merge pull request sux13#8 from Trindaz/master
Corrected type on R Programming notes
2 parents a0f857e + fc2a635 commit e1d7b34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

2_RPROG/R Programming Course Notes.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ x
168168
* `as.data.frame(obj)` = converts object to data frame
169169
* data frames store tabular data
170170
* special type of list where every list has the same length (can be of different type)
171-
* data frames are usually created through `read.table()` and `read.cvs()`
171+
* data frames are usually created through `read.table()` and `read.csv()`
172172
* `data.matrix()` = converts a matrix to data frame
173173
* `colMeans(matrix)` or `rowMeans(matrix)` = returns means of the columns/rows of a matrix/dataframe in a vector
174174
* `as.numeric(rownames(df))` = returns row indices for rows of a data frame with unnamed rows

2_RPROG/R_Programming_Course_Notes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ <h3>Matrices and Data Frames</h3>
376376
<li><code>as.data.frame(obj)</code> = converts object to data frame</li>
377377
<li>data frames store tabular data</li>
378378
<li>special type of list where every list has the same length (can be of different type)</li>
379-
<li>data frames are usually created through <code>read.table()</code> and <code>read.cvs()</code></li>
379+
<li>data frames are usually created through <code>read.table()</code> and <code>read.csv()</code></li>
380380
<li><code>data.matrix()</code> = converts a matrix to data frame</li>
381381
</ul></li>
382382
<li><code>colMeans(matrix)</code> or <code>rowMeans(matrix)</code> = returns means of the columns/rows of a matrix/dataframe in a vector</li>

0 commit comments

Comments
 (0)