- Quiz-tion: What is the output of the command lapply from the apply family of functions
- List
- Matrix
- A list and a matrix
- Quiz-tion: Which of the following options best describes the functionality of fread in data.table?
- To load functions from a file
- To load a delimited file
- To load comma-separated (csv) files with embedded R functions
- Quiz-tion: Many data.table functions (set functions) are applied in-place, that is, the functions modify the object without creating a duplicate copy. How can we ensure that our original data.table remains unchanged when applying such operations?
- Create a copy of the data.table using the make.data.table command
- Create a copy using the copy command in data.table
- This is not possible due to restrictions in data.table. Use data.frame instead
Answers:
Q1 - 1, Q2 - 2, Q3 - 2