Login
Remember
Register
User tempuser
Wall
Recent activity
All questions
All answers
Ask a Question
Answers by tempuser
0
votes
For a given matrix mat, how do you increment every element of the matrix by 3 and return a vector. (I) sapply(mat, function(x,y) sum(x)+y,y=3) (II) sapply(mat, function(x) sum(x)+3)
answered
May 27, 2019
in
Data Handling
#datahandling
DataHandling-questions-answers
0
votes
What will the following lines of code return x <- matrix(1:18, 6, 3) apply(x, 2, sum)
answered
May 27, 2019
in
Data Handling
#datahandling
DataHandling-questions-answers
0
votes
Which function is used over the margins of an array
answered
May 27, 2019
in
Data Handling
#datahandling
DataHandling-questions-answers
0
votes
A hospital data contains patient's age and treatment they are undergoing. Which function can be used to find average of patients undergoing each of the treatments?
answered
May 27, 2019
in
Data Handling
#datahandling
DataHandling-questions-answers
0
votes
Applying lapply function on a matrix returns
answered
May 27, 2019
in
Data Handling
#datahandling
DataHandling-questions-answers
0
votes
Which function is very similar to lapply?
answered
May 27, 2019
in
Data Handling
#datahandling
DataHandling-questions-answers
0
votes
Which function can be used when a vector needs to be split into groups defined by a classifying factor, compute a function on the subsets, and return the results?
answered
May 27, 2019
in
Data Handling
#datahandling
DataHandling-questions-answers
0
votes
____ can be used to identify the existence of a matching pattern in a string
answered
May 27, 2019
in
Other
0
votes
____ is similar to separate() function
answered
May 27, 2019
in
Other
0
votes
Identify the correct ones
answered
May 27, 2019
in
Other
#datacleansing
0
votes
What are the possible outlier treatment
answered
May 27, 2019
in
Other
0
votes
If value of time is system time which is 2016-12-21 18:33:31 UTC. What is the output for time+60
answered
May 27, 2019
in
Other
0
votes
Can a variable of factor type be converted to a date type
answered
May 27, 2019
in
Other
0
votes
What is the class of sys.date() and sys.time()
answered
May 27, 2019
in
Other
0
votes
Which function(s) of dplyr would you use to first subset the columns and then sort them on a particular column?
answered
May 27, 2019
in
Other
0
votes
___ allows to make new variables
answered
May 27, 2019
in
Other
0
votes
filter() is for selecting columns and select() is for selecting rows
answered
May 27, 2019
in
Other
0
votes
A dataset with columns (country, disease, #ofdeaths) has values Row1 - (CONGO, TB, 28) Row2 - (SPAIN, TB, 2) Row3 - (EGYPT, TB, 0). Is this is a tidy or messy dataset.?
answered
May 27, 2019
in
Other
0
votes
In a tidy data set ___ forms a row and ____ forms a column
answered
May 27, 2019
in
Other
0
votes
Identify the function which is part of dplyr package that helps in previewing the data.
answered
May 27, 2019
in
Other
Page:
« prev
1
2
3
4
5
next »
...