Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Apply Function Selector | Apply Family Functions in R
Control Flow in R
セクション 3.  6
single

single

bookChallenge: Apply Function Selector

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

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 lst and calculate its sum.
  • Return a numeric vector containing the sum of each input vector.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 3.  6
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt