शुरू करेंमुफ़्त में शुरू करें

Hmisc describe आउटपुट

psych पैकेज की तरह ही, Hmisc पैकेज कस्टमाइज़्ड आउटपुट बनाता है. str() फंक्शन कस्टमाइज़्ड क्लास टाइप के साथ-साथ Hmisc::describe() के list आउटपुट में स्टोर किए गए elements के नाम भी दिखाएगा.

क्योंकि आउटपुट एक list है, इसलिए $ सेलेक्टर ऑपरेटर का उपयोग करके Hmisc::describe() आउटपुट ऑब्जेक्ट से किसी खास element को निकाला जा सकता है.

abaloneKeep डेटासेट, और dplyrHmisc पैकेज आपके लिए लोड कर दिए गए हैं.

यह अभ्यास पाठ्यक्रम का हिस्सा है

SAS उपयोगकर्ताओं के लिए R

पाठ्यक्रम देखें

अभ्यास निर्देश

  • abalone whole weight, shucked weight, और shell weight के लिए Hmisc::describe() का आउटपुट abhmisc नाम से सेव करें.
  • abhmisc की structure प्रदर्शित करें.
  • abhmisc आउटपुट ऑब्जेक्ट से shuckedWeight element प्रदर्शित करें.
  • abhmisc आउटपुट ऑब्जेक्ट के shuckedWeight element के भीतर से extremes element प्रदर्शित करें.

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# Save output from Hmisc::describe(), view class of output
abhmisc <- ___ %>% 
  ___ %>% 
  ___

# Get structure of abhmisc
___

# View shuckedWeight statistics from abhmisc
___

# View shuckedWeight extremes from abhmisc
___
कोड संपादित करें और चलाएँ