Challenge: Apply Function Selector
Tarefa
Swipe to start coding
Given a list of numeric vectors, write a function that returns the sum of each vector as a simple numeric vector using the appropriate apply family function.
- Use the correct apply family function to iterate over each element in
lstand calculate its sum. - Return a numeric vector containing the sum of each input vector.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 6
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 5.56
Challenge: Apply Function Selector
Deslize para mostrar o menu
Tarefa
Swipe to start coding
Given a list of numeric vectors, write a function that returns the sum of each vector as a simple numeric vector using the appropriate apply family function.
- Use the correct apply family function to iterate over each element in
lstand calculate its sum. - Return a numeric vector containing the sum of each input vector.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 6
single