Questions tagged as 'sapply'

2
answers

Apply, sapply, mapply, lapply, vapply, rapply, tapply, replicate, aggregate, by and correlates in R. When and how to use?

What is the difference between the functions apply , sapply , mapply , lapply , vapply , rapply , tapply , replicate , aggregate , by and correlates no R? When and how to use each o...
asked by 04.03.2014 / 23:52
1
answer

Automatically check quantitative variables in R

I have a database here and I need to automatically check which are quantitative variables. My advisor says that I need to use sapply and the is.numeric function and create a code that returns a vector of true and false indicating w...
asked by 27.11.2014 / 15:41
2
answers

Apply, sapply, mapply, lapply, vapply, rapply, tapply, replicate, aggregate, by and correlates in R. When and how to use?

What is the difference between the functions apply , sapply , mapply , lapply , vapply , rapply , tapply , replicate , aggregate , by and correlates no R? When and how to use each o...
asked by 04.03.2014 / 23:52
0
answers

How do I find the maximum and minimum number of a data frame using lapply and sapply?

I can figure out the maximum and minimum value of a data frame like this: question2 <- data.frame (Month = c("January", "February", "March", "April", "May", "June"), Day1 = c(0.73, 0.97, 0.63, 0.35, 0.81, 1.24),...
asked by 26.04.2018 / 02:29