Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
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?
Home
Data Handling
A hospital data contains patient's age and treatment they are undergoing. Which function can be...
+1
vote
asked
May 27, 2019
in
Data Handling
by
tempuser
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?
#datahandling
DataHandling-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 27, 2019
by
tempuser
Answer is tapply
Related questions
0
votes
Q: a hospital data contains patients age___
asked
Jun 6, 2019
in
Data Handling using R
by
tempuser
#datahandling
+1
vote
Q: Which of the following functions can be used to find the number or rows and columns in a dataset?
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
DataHandling-questions-answers
+1
vote
Q: The function write.csv() exports data into a file. However, this function by default adds rownames to the file. Which argument can be used to turn off addition of rownames?
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
DataHandling-questions-answers
0
votes
Q: 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?
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
DataHandling-questions-answers
+1
vote
Q: What is the average mileage of a car in the mtcars dataset
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
DataHandling-questions-answers
+2
votes
Q: Which command can be used to import text files in R
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
DataHandling-questions-answers
0
votes
Q: Which function is used over the margins of an array
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
DataHandling-questions-answers
+1
vote
Q: nrows and skip arguments in the read.table() command can be used to get
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
DataHandling-questions-answers
+1
vote
Q: Which of the following functions lists all columns in a dataset with few values from each column?
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
DataHandling-questions-answers
0
votes
Q: The function read.csv() imports data into
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
DataHandling-questions-answers
...