in Education by
The _______ function computes the time (in seconds) needed to execute an expression. (a) system.timedeb() (b) system.time() (c) system.datetime() (d) system.deb() This question was posed to me in an online interview. My doubt is from R Profiler in division Profiling, Simulation and Data Analysis of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Correct choice is (b) system.time() Explanation: They system.time() function takes an arbitrary R expression as input and returns the amount of time taken to evaluate the expression.

Related questions

0 votes
    system.time function returns an object of class _______ which contains two useful bits of information. (a) ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    _______ divides the time spend in each function by the total run time (a) by.sum (b) by.total ( ... Data Analysis of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    _________ time is time charged to the CPU(s) for the R expression. (a) elapsed (b) user (c) response ... Data Analysis of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    _______ grammar makes a clear distinction between your data and what gets displayed on the screen or page. (a) ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    You can time ________ expressions by wrapping them in curly braces within the call to system.time(). (a) ... Analysis of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    ________ is a systematic way to examine how much time is spent in different parts of a program. (a) ... Analysis of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Parallel processing is done via __________ package can make the elapsed time smaller than the user time. (a) ... of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    The elapsed time may be ________ than the user time if your machine has multiple cores/processors. (a) smaller ... of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    __________ produces bivariate scatterplots or time-series plots. (a) xyplot (b) dotplot (c) barchart (d) bwplot ... of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    Which of the following function actually fits the linear model? (a) lm.time() (b) lm.date() (c) lm. ... Data Analysis of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Which function opens the screen graphics device for the Mac? (a) bitmap() (b) quartz() (c) pdf() (d ... Data Analysis of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which of the following function takes multiple columns? (a) spread() (b) gather() (c) separate() (d) ... Analysis of R Programming Select the correct answer from above options...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    Spread function is known as ___________ in spreadsheets. (a) pivot (b) unpivot (c) cast (d) order I have ... Analysis of R Programming Select the correct answer from above options...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    What is ggplot2 an implementation of? (a) the Grammar of Graphics developed by Leland Wilkinson (b) 3D ... of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which of the following is an example of a vector graphics device in R? (a) JPEG (b) PNG (c) GIF (d ... Data Analysis of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
...