Question: When the time variable is discrete, we can also show a time trend using a bar plot. This is quite common in practice. fyeara is

When the time variable is discrete, we can also show a time trend using a bar plot. This is quite common in practice. fyeara is an integer so we can use it as a discrete variable and create a bar plot of annual profits for Facebook and Nvidia as shown below. Use the variable oisdpq as a measure of profits and make sure that you include onty non NA values. The plot starts from year 2010. Manually change the 4111 of bars using the following colors: c("4 se9fs","#b131a2"). Finally, use Sriracha font (available on Google Fonts) throughout this plot.
50,0004000030,00020,00030,000Meto Platforms lneMidla Corp20102ott 2012201320142o1s 20620r720t82o19202o 202120222ozs 202z4Flscal Vear
When the time variable is discrete, we can also

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!