1. Learn
  2. /
  3. कोर्स
  4. /
  5. R परिचय

Connected

अभ्यास

एक list बनाना

आइए अपनी पहली list बनाएँ! किसी list का निर्माण करने के लिए आप list() फंक्शन का उपयोग करते हैं:

my_list <- list(comp1, comp2 ...)

list फंक्शन के आर्ग्युमेंट्स ही list के components होते हैं. याद रखिए, ये components matrices, vectors, अन्य lists, … हो सकते हैं.

निर्देश

100 XP

एक list बनाएँ, जिसका नाम my_list हो, और जिसमें my_vector, my_matrix और my_df वैरिएबल list components के रूप में शामिल हों.