Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Testing
Feedback
Ask a Question
What will the following lines of code return x <- matrix(1:18, 6, 3) apply(x, 2, sum)
Home
Data Handling
What will the following lines of code return x <- matrix(1:18, 6, 3)...
asked
May 27, 2019
in
Data Handling
by
tempuser
Q:
What will the following lines of code return
x <- matrix(1:18, 6, 3)
apply(x, 2, sum)
#datahandling
1
Answer
0
votes
answered
May 27, 2019
by
tempuser
vector of 3 elements
Related questions
0
votes
Q: what will following lines of code return x<-matrix(1:18,6,3)____-
asked
Jun 7, 2019
in
Data Handling using R
by
tempuser
#datahandling
0
votes
Q: 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)
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
+1
vote
Q: If x and y are two tbls, which of the following joins return all rows from x and y irrespective of matching values?
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
0
votes
Q: The fraction (5x-11)/(2x2 + x - 6) was obtained by adding the two fractions A/(x + 2) and B/(2x - 3). The values of A and B must be, respectively: (a) 5x, -11, (b) -11, 5x, (c) -1, 3, (d) 3, -1, (e) 5, -11
asked
May 21, 2019
in
Mathematics
by
sheetalkhandelwal
#maths
#mathematics
+1
vote
Q: If there are 6 terms in a series, then find the sum of geometric series 2, 6, 18, 54, ----
asked
May 27, 2019
in
Other
by
rajeshsharma
#job
#aptitude-test
career-test
reasoning-questions
quantitative-aptitude
jobs
0
votes
Q: If x and y are two tbls, which of the following joins return all rows from x where there are not matching values in y, keeping just columns from x?
asked
Jun 7, 2019
in
Data Handling using R
by
tempuser
#datahandling
0
votes
Q: If x and y are two tbls, which of the following joins return all rows from x and y irrespective of matching values?
asked
Jun 7, 2019
in
Data Handling using R
by
tempuser
#datahandling
0
votes
Q: If x and y are two tbls, which of the following joins return all rows from y, and all columns from x and y?
asked
Jun 7, 2019
in
Data Handling using R
by
tempuser
#datahandling
0
votes
Q: If x and y are two tbls, which of the following joins return all rows from x where there are matching values in y, and all columns from x and y?
asked
Jun 7, 2019
in
Data Handling using R
by
tempuser
#datahandling
0
votes
Q: If x and y are two tbls, which of the following joins return all rows from x where there are matching values in y, keeping just columns from x?
asked
Jun 7, 2019
in
Data Handling using R
by
tempuser
#datahandling
...