Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Set up a custom color palette that goes from black to red to yellow2. Create two versions of this paletteone that expects a number of
Set up a custom color palette that goes from "black" to "red" to "yellow2". Create two versions of this paletteone that expects a number of colors and one that expects a vector of normalized values between 0 and 1.
Create two vectors that will control point character and character expansion following the guidelines in (i) and (ii). Each of these can be achieved in a single line by vector subsetting/repetition based on a numeric coercion of the corresponding factor vector in the data frame.
i. Use the point characters 19, 17, and 15 to reference the three increasing academic ranks in that order.
ii. Use a character expansion of 1 for females and a character expansion of 1.5 for males.
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