Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please pay attention to nchar() in R ### Question 1 (2 points) Load the dataframe named Glass. {r} library(mlbench) data(Glass) Make a copy of the
Please pay attention to nchar() in R
### Question 1 (2 points) Load the dataframe named Glass. {r} library(mlbench) data(Glass) Make a copy of the Glass dataframe to a new dataframe called gdat Paste your R code in BOX 1 [Format:a11] '{r} Apply the str function to get information on gdat. Paste your R code in BOX 2 [Format:a9] {r} Apply the str function to get information on gdat. Paste your R code in BOX 2 [Format:a9] '{r} How many observations (=rows) does gdat hold? Answer in BOX 3 [Format:XXX] What is column number of the only column of gdat that is a factor? Answer in BOX 4 [Format:XX]Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started