R Assignment Factors Part 1: What is factor in R? Part 2: Assume that the temper
ID: 3873937 • Letter: R
Question
R Assignment
Factors
Part 1:
What is factor in R?
Part 2:
Assume that the temperature at which a manufacturing plant is maintained is believed to affect the rate of the production in the plant. Consider the data in the following table which shows the temperature and the production rates for four products:
Which of the column data is a candidate to be defined as a factor? Why?
Explanation / Answer
Factor in R:
1. They are limited number of unique values.
2. These often refered as categorical variables.
3. They are useful in data analysis for statistical modeling.
Part 2:
Product 2 was defined as a factor.
Because they are very unique when compared to remaining columns
In product 2 most of the values are multiple of 11. i.e. it specific a category.
Most of the values are unique values
So product 2 column will follow factor in R rule
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.