File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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>
You can’t perform that action at this time.
0 commit comments