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
What is difference between lapply and sapply in R language?
Home
R Language
What is difference between lapply and sapply in R language?
0
votes
asked
Feb 24, 2020
in
R Language
by
rahuljain1
What is difference between lapply and sapply in R language?
#r-language-lapply
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 24, 2020
by
SakshiSharma
lapply is used to show the output in the form of list whereas sapply is used to show the output in the form of vector or data frame
Related questions
0
votes
Q: apply(), lapply(), sapply(), tapply() Function in R with Examples
asked
Nov 13, 2019
in
R Language
by
MBarbieri
#r-language
#r-question-answer
#r-programming
+2
votes
Q: Differentiate between lapply and sapply.
asked
Jul 28, 2019
in
R Language
by
Aarav2017
#r-language
#r-programming
#r-course
#r-tutorial
#r-question-answer
#r-interview-question
#r-basics
#r-test
#what-is-r
#learn-r
0
votes
Q: What is the difference between sapply and lapply? When should you use one versus the other? Bonus: When should you use vapply?
asked
Jun 15, 2023
in
R Basics
by
john ganales
sapply
lapply
0
votes
Q: What is the difference between seq(4) and seq_along(4) in R language?
asked
Feb 24, 2020
in
R Language
by
rahuljain1
#r-language-seq
0
votes
Q: What is difference between matrix and dataframes in R language?
asked
Feb 24, 2020
in
R Language
by
rahuljain1
#r-language-matrix
#r-language-data-frames
0
votes
Q: Difference between library () and require () functions in R language.
asked
Feb 24, 2020
in
R Language
by
rahuljain1
#r-library
+1
vote
Q: What is the difference between library() and require() functions in R language?
asked
Feb 10, 2020
in
R Language
by
rahuljain1
#r-library
#r-require
0
votes
Q: Which function perform individual difference scaling in R language?
asked
Feb 27, 2020
in
R Language
by
rahuljain1
#r-programming-scaling
+2
votes
Q: What is the difference between data frame and a matrix in R?
asked
Jul 28, 2019
in
R Language
by
Aarav2017
#r-language
#r-programming
#r-course
#r-tutorial
#r-question-answer
#r-interview-question
#r-basics
#r-test
#what-is-r
#learn-r
0
votes
Q: How you can produce co-relations and covariances in R language?
asked
Feb 24, 2020
in
R Language
by
rahuljain1
#r-language-operations
...