Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program R function that inputs a data frame and outputs a list with the following components: The number of observations in the data frame. The

Program R function that inputs a data frame and outputs a list with the following components: The number of observations in the data frame. The number of variables in the data frame. A vector of the variable names in the data frame. A list object named "column_data," where each list item appears in alphabetical order and is a list object with the name of a column which: 1. contains either the: - class of the column, - minimum, - mean, and - maximum, of that variable as well as, - the number of NA values present in the data for that column 2. OR which contains the: - class of the column, - vector of the statistical modes of that variable, as well as - the number of times the modal values are each represented in the data frame.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elementary Technical Mathematics

Authors: Dale Ewen

12th Edition

1337630586, 978-1337630580

More Books

Students also viewed these Mathematics questions