File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 169169 * data frames store tabular data
170170 * special type of list where every list has the same length (can be of different type)
171171 * data frames are usually created through ` read.table() ` and ` read.csv() `
172- * ` data.matrix() ` = converts a matrix to data frame
172+ * ` data.matrix() ` = converts a data frame to matrix.
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
175175* ** attributes**
@@ -904,4 +904,4 @@ system.time({
904904
905905### Miscellaneous
906906* ` unlist(rss) ` = converts a list object into data frame/vector
907- * ` ls("package:elasticnet") ` = list methods in package
907+ * ` ls("package:elasticnet") ` = list methods in package
You can’t perform that action at this time.
0 commit comments