You have been provided with theYield Factors- All Yearswhich contains 7 variables and you are required to write codes that determine the following: Number of observations and features are in the...

1 answer below »

You have been provided with theYield Factors- All Yearswhich contains 7 variables and you are required to write codes that determine the following:



  1. Number of observations and features are in the dataset.

  2. Structure and summary of the dataset.

  3. Retrieve data for grazing land in 2016.

  4. Create a new column – “Yield_Factor” – which is a quotient of “National_Yield” (dividend) and “World_Yield” (divisor).

  5. Create an “infrastructure” dataset and use it to generate a scatter plot with “National_Yield” on the x-axis and “World_Yield” on the y-axis.

  6. Create a scatter plot of “Year_2016” with the x-axis representing “National_Yield” and the y-axis representing “World_Yield” and faceted to have one subplot per “Land_type”.

  7. Find the median national yield (National_Yield), median world yield (World_Yield) and median yield factor (Yield_Factor) within each combination of Land_type and Year.

  8. Create a line plot showing the change in median yield factor by Land_type over time


For each of the outputs [(a) - (g)] provide a discussion of your findings - a minimum of one paragraph.


1. Attach File




Yield Factors- All Years batch_idCountryYearcountry_codeLand_typeNational_YieldWorld_Yield 90Afghanistan19612Crop Land1.322.11 90Afghanistan19612Grazing Land2.676.19 90Afghanistan19612Marine Fishing Grounds0503.84 90Afghanistan19612Inland Fishing Grounds00 90Afghanistan19612Forest Land0.641.82 90Afghanistan19612Infrastructure00 90Afghanistan19622Crop Land1.292.23 90Afghanistan19622Grazing Land2.676.19 90Afghanistan19622Marine Fishing Grounds0503.84 90Afghanistan19622Inland Fishing Grounds00 90Afghanistan19622Forest Land0.641.82 90Afghanistan19622Infrastructure00 90Afghanistan19632Crop Land1.212.25 90Afghanistan19632Grazing Land2.676.19 90Afghanistan19632Marine Fishing Grounds0503.84 90Afghanistan19632Inland Fishing Grounds00 90Afghanistan19632Forest Land0.641.82 90Afghanistan19632Infrastructure00 90Afghanistan19642Crop Land1.312.39 90Afghanistan19642Grazing Land2.676.19 90Afghanistan19642Marine Fishing Grounds0503.84 90Afghanistan19642Inland Fishing Grounds00 90Afghanistan19642Forest Land0.641.82 90Afghanistan19642Infrastructure00 90Afghanistan19652Crop Land1.362.42 90Afghanistan19652Grazing Land2.676.19 90Afghanistan19652Marine Fishing Grounds0503.84 90Afghanistan19652Inland Fishing Grounds00 90Afghanistan19652Forest Land0.641.82 90Afghanistan19652Infrastructure00 90Afghanistan19662Crop Land1.312.71 90Afghanistan19662Grazing Land2.676.19 90Afghanistan19662Marine Fishing Grounds0503.84 90Afghanistan19662Inland Fishing Grounds00 90Afghanistan19662Forest Land0.641.82 90Afghanistan19662Infrastructure00 90Afghanistan19672Crop Land1.583.07 90Afghanistan19672Grazing Land2.676.19 90Afghanistan19672Marine Fishing Grounds0503.84 90Afghanistan19672Inland Fishing Grounds00 90Afghanistan19672Forest Land0.641.82 90Afghanistan19672Infrastructure00 90Afghanistan19682Crop Land1.653.24 90Afghanistan19682Grazing Land2.676.19 90Afghanistan19682Marine Fishing Grounds0503.84 90Afghanistan19682Inland Fishing Grounds00 90Afghanistan19682Forest Land0.641.82 90Afghanistan19682Infrastructure00 90Afghanistan19692Crop Land1.683.14 90Afghanistan19692Grazing Land2.676.19 90Afghanistan19692Marine Fishing Grounds0503.84 90Afghanistan19692Inland Fishing Grounds00 90Afghanistan19692Forest Land0.641.82 90Afghanistan19692Infrastructure00 90Afghanistan19702Crop Land1.463.2 90Afghanistan19702Grazing Land2.676.19 90Afghanistan19702Marine Fishing Grounds0503.84 90Afghanistan19702Inland Fishing Grounds00 90Afghanistan19702Forest Land0.641.82 90Afghanistan19702Infrastructure00 90Afghanistan19712Crop Land1.33.33 90Afghanistan19712Grazing Land2.676.19 90Afghanistan19712Marine Fishing Grounds0503.84 90Afghanistan19712Inland Fishing Grounds00 90Afghanistan19712Forest Land0.641.82 90Afghanistan19712Infrastructure00 90Afghanistan19722Crop Land1.32.72 90Afghanistan19722Grazing Land2.676.19 90Afghanistan19722Marine Fishing Grounds0503.84 90Afghanistan19722Inland Fishing Grounds00 90Afghanistan19722Forest Land0.641.82 90Afghanistan19722Infrastructure00 90Afghanistan19732Crop Land1.613.3 90Afghanistan19732Grazing Land2.676.19 90Afghanistan19732Marine Fishing Grounds0503.84 90Afghanistan19732Inland Fishing Grounds00 90Afghanistan19732Forest Land0.641.82 90Afghanistan19732Infrastructure00 90Afghanistan19742Crop Land1.633.17 90Afghanistan19742Grazing Land2.676.19 90Afghanistan19742Marine Fishing Grounds0503.84 90Afghanistan19742Inland Fishing Grounds00 90Afghanistan19742Forest Land0.641.82 90Afghanistan19742Infrastructure00 90Afghanistan19752Crop Land1.673.1 90Afghanistan19752Grazing Land2.676.19 90Afghanistan19752Marine Fishing Grounds0503.84 90Afghanistan19752Inland Fishing Grounds00 90Afghanistan19752Forest Land0.641.82 90Afghanistan19752Infrastructure00 90Afghanistan19762Crop Land1.743.4 90Afghanistan19762Grazing Land2.676.19 90Afghanistan19762Marine Fishing Grounds0503.84 90Afghanistan19762Inland Fishing Grounds00 90Afghanistan19762Forest Land0.641.82 90Afghanistan19762Infrastructure00 90Afghanistan19772Crop Land1.513.28 90Afghanistan19772Grazing Land2.676.19 90Afghanistan19772Marine Fishing Grounds0503.84 90Afghanistan19772Inland Fishing Grounds00 90Afghanistan19772Forest Land0.641.82 90Afghanistan19772Infrastructure00 90Afghanistan19782Crop Land1.633.68 90Afghanistan19782Grazing Land2.676.19 90Afghanistan19782Marine Fishing Grounds0503.84 90Afghanistan19782Inland Fishing Grounds00 90Afghanistan19782Forest Land0.641.82 90Afghanistan19782Infrastructure00 90Afghanistan19792Crop Land1.683.8 90Afghanistan19792Grazing Land2.676.19 90Afghanistan19792Marine Fishing Grounds0503.84 90Afghanistan19792Inland Fishing Grounds00 90Afghanistan19792Forest Land0.641.82 90Afghanistan19792Infrastructure00 90Afghanistan19802Crop Land1.734.05 90Afghanistan19802Grazing Land2.676.19 90Afghanistan19802Marine Fishing Grounds0503.84 90Afghanistan19802Inland Fishing Grounds00 90Afghanistan19802Forest Land0.641.82 90Afghanistan19802Infrastructure00 90Afghanistan19812Crop Land1.714.34 90Afghanistan19812Grazing Land2.676.19 90Afghanistan19812Marine Fishing Grounds0503.84 90Afghanistan19812Inland Fishing Grounds00 90Afghanistan19812Forest Land0.641.82 90Afghanistan19812Infrastructure00 90Afghanistan19822Crop Land1.724.76 90Afghanistan19822Grazing Land2.676.19 90Afghanistan19822Marine Fishing Grounds0503.84 90Afghanistan19822Inland Fishing Grounds00 90Afghanistan19822Forest Land0.641.82 90Afghanistan19822Infrastructure00 90Afghanistan19832Crop Land1.754.93 90Afghanistan19832Grazing Land2.676.19 90Afghanistan19832Marine Fishing Grounds0503.84 90Afghanistan19832Inland Fishing Grounds00 90Afghanistan19832Forest Land0.641.82 90Afghanistan19832Infrastructure00 90Afghanistan19842Crop Land1.745.43 90Afghanistan19842Grazing Land2.676.19 90Afghanistan19842Marine Fishing Grounds0503.84 90Afghanistan19842Inland Fishing Grounds00 90Afghanistan19842Forest Land0.641.82 90Afghanistan19842Infrastructure00 90Afghanistan19852Crop Land1.735.59 90Afghanistan19852Grazing Land2.676.19 90Afghanistan19852Marine Fishing Grounds0503.84 90Afghanistan19852Inland Fishing Grounds00 90Afghanistan19852Forest Land0.641.82 90Afghanistan19852Infrastructure00 90Afghanistan19862Crop Land1.715.94 90Afghanistan19862Grazing Land2.676.19 90Afghanistan19862Marine Fishing Grounds0503.84 90Afghanistan19862Inland Fishing Grounds00 90Afghanistan19862Forest Land0.641.82 90Afghanistan19862Infrastructure00 90Afghanistan19872Crop Land1.735.43 90Afghanistan19872Grazing Land2.676.19 90Afghanistan19872Marine Fishing Grounds0503.84 90Afghanistan19872Inland Fishing Grounds00 90Afghanistan19872Forest Land0.641.82 90Afghanistan19872Infrastructure00 90Afghanistan19882Crop Land1.685.86 90Afghanistan19882Grazing Land2.676.19 90Afghanistan19882Marine Fishing Grounds0503.84 90Afghanistan19882Inland Fishing Grounds00 90Afghanistan19882Forest Land0.641.82 90Afghanistan19882Infrastructure00 90Afghanistan19892Crop Land1.636.27 90Afghanistan19892Grazing Land2.676.19 90Afghanistan19892Marine Fishing Grounds0503.84 90Afghanistan19892Inland Fishing Grounds00 90Afghanistan19892Forest Land0.641.82 90Afghanistan19892Infrastructure00 90Afghanistan19902Crop Land1.657.03 90Afghanistan19902Grazing Land2.676.19 90Afghanistan19902Marine Fishing Grounds0503.84 90Afghanistan19902Inland Fishing Grounds00 90Afghanistan19902Forest Land0.641.82 90Afghanistan19902Infrastructure00 90Afghanistan19912Crop Land1.76.66 90Afghanistan19912Grazing Land2.676.19 90Afghanistan19912Marine Fishing Grounds0503.84 90Afghanistan19912Inland Fishing Grounds00 90Afghanistan19912Forest Land0.641.82 90Afghanistan19912Infrastructure00 90Afghanistan19922Crop Land1.666.99 90Afghanistan19922Grazing Land2.676.19 90Afghanistan19922Marine Fishing Grounds0503.84 90Afghanistan19922Inland Fishing Grounds00 90Afghanistan19922Forest Land0.641.82 90Afghanistan19922Infrastructure00 90Afghanistan19932Crop Land1.625.88 90Afghanistan19932Grazing Land2.676.19 90Afghanistan19932Marine Fishing Grounds0503.84 90Afghanistan19932Inland Fishing Grounds00 90Afghanistan19932Forest Land0.641.82 90Afghanistan19932Infrastructure00 90Afghanistan19942Crop Land1.625.51 90Afghanistan19942Grazing Land2.676.19 90Afghanistan19942Marine Fishing Grounds0503.84 90Afghanistan19942Inland Fishing Grounds00 90Afghanistan19942Forest Land0.641.82 90Afghanistan19942Infrastructure00 90Afghanistan19952Crop Land1.715.69 90Afghanistan19952Grazing Land2.676.19 90Afghanistan19952Marine Fishing Grounds0503.84 90Afghanistan19952Inland Fishing Grounds00 90Afghanistan19952Forest Land0.641.82 90Afghanistan19952Infrastructure00 90Afghanistan19962Crop Land1.75.83 90Afghanistan19962Grazing Land2.676.19 90Afghanistan19962Marine Fishing Grounds0503.84 90Afghanistan19962Inland Fishing Grounds00 90Afghanistan19962Forest Land0.641.82 90Afghanistan19962Infrastructure00 90Afghanistan19972Crop Land1.835.89 90Afghanistan19972Grazing Land2.676.19 90Afghanistan19972Marine Fishing Grounds0503.84 90Afghanistan19972Inland Fishing Grounds00 90Afghanistan19972Forest Land0.641.82 90Afghanistan19972Infrastructure00 90Afghanistan19982Crop Land1.865.76 90Afghanistan19982Grazing Land2.676.19 90Afghanistan19982Marine Fishing Grounds0503.84 90Afghanistan19982Inland Fishing Grounds00 90Afghanistan19982Forest Land0.641.82 90Afghanistan19982Infrastructure00 90Afghanistan19992Crop Land1.846.34 90Afghanistan19992Grazing Land2.676.19 90Afghanistan19992Marine Fishing Grounds0503.84 90Afghanistan19992Inland Fishing Grounds00 90Afghanistan19992Forest Land0.641.82 90Afghanistan19992Infrastructure00 90Afghanistan20002Crop Land1.457.47 90Afghanistan20002Grazing Land2.676.19 90Afghanistan20002Marine Fishing Grounds0503.84 90Afghanistan20002Inland Fishing Grounds00 90Afghanistan20002Forest Land0.641.82 90Afghanistan20002Infrastructure00 90Afghanistan20012Crop Land1.728.54 90Afghanistan20012Grazing Land2.676.19 90Afghanistan20012Marine Fishing Grounds0503.84 90Afghanistan20012Inland Fishing Grounds00 90Afghanistan20012Forest Land0.641.82 90Afghanistan20012Infrastructure00 90Afghanistan20022Crop Land2.267.29 90Afghanistan20022Grazing Land2.676.19 90Afghanistan20022Marine Fishing Grounds0503.84 90Afghanistan20022Inland Fishing Grounds00 90Afghanistan20022Forest Land0.641.82 90Afghanistan20022Infrastructure00 90Afghanistan20032Crop Land1.995.53 90Afghanistan20032Grazing Land2.676.19 90Afghanistan20032Marine Fishing Grounds0503.84 90Afghanistan20032Inland Fishing Grounds00 90Afghanistan20032Forest Land0.641.82 90Afghanistan20032Infrastructure00 90Afghanistan20042Crop Land1.897.22 90Afghanistan20042Grazing Land2.676.19 90Afghanistan20042Marine Fishing Grounds0503.84 90Afghanistan20042Inland Fishing Grounds00 90Afghanistan20042Forest Land0.641.82 90Afghanistan20042Infrastructure00 90Afghanistan20052Crop Land2.295.68 90Afghanistan20052Grazing Land2.676.19 90Afghanistan20052Marine Fishing Grounds0503.84 90Afghanistan20052Inland Fishing Grounds00 90Afghanistan20052Forest Land0.641.82 90Afghanistan20052Infrastructure00 90Afghanistan20062Crop Land2.136.31 90Afghanistan20062Grazing Land2.676.19 90Afghanistan20062Marine Fishing Grounds0503.84 90Afghanistan20062Inland Fishing Grounds00 90Afghanistan20062Forest Land0.641.82 90Afghanistan20062Infrastructure00 90Afghanistan20072Crop Land2.465.92 90Afghanistan20072Grazing Land2.676.19 90Afghanistan20072Marine Fishing Grounds0503.84 90Afghanistan20072Inland Fishing Grounds00 90Afghanistan20072Forest Land0.641.82 90Afghanistan20072Infrastructure00 90Afghanistan20082Crop Land2.17.83 90Afghanistan20082Grazing Land2.676.19 90Afghanistan20082Marine Fishing Grounds0503.84 90Afghanistan20082Inland Fishing Grounds00 90Afghanistan20082Forest Land0.641.82 90Afghanistan20082Infrastructure00 90Afghanistan20092Crop Land2.616.09 90Afghanistan20092Grazing Land2.676.19 90Afghanistan20092Marine Fishing Grounds0503.84 90Afghanistan20092Inland Fishing Grounds00 90Afghanistan20092Forest Land0.641.82 90Afghanistan20092Infrastructure00 90Afghanistan20102Crop Land2.556.4 90Afghanistan20102Grazing Land2.676.19 90Afghanistan20102Marine Fishing Grounds0503.84 90Afghanistan20102Inland Fishing Grounds00 90Afghanistan20102Forest Land0.641.82 90Afghanistan20102Infrastructure00 90Afghanistan20112Crop Land2.227.35 90Afghanistan20112Grazing Land2.676.19 90Afghanistan20112Marine Fishing Grounds0503.84 90Afghanistan20112Inland Fishing Grounds00 90Afghanistan20112Forest Land0.641.82 90Afghanistan20112Infrastructure00 90Afghanistan20122Crop Land2.536.22 90Afghanistan20122Grazing Land2.676.19 90Afghanistan20122Marine Fishing Grounds0503.84 90Afghanistan20122Inland Fishing Grounds00 90Afghanistan20122Forest Land0.641.82 90Afghanistan20122Infrastructure00 90Afghanistan20132Crop Land2.576.6 90Afghanistan20132Grazing Land2.676.19 90Afghanistan20132Marine Fishing Grounds0503.84 90Afghanistan20132Inland Fishing Grounds00 90Afghanistan20132Forest Land0.641.82 90Afghanistan20132Infrastructure00 90Afghanistan20142Crop Land2.636.63 90Afghanistan20142Grazing Land2.676.19 90Afghanistan20142Marine Fishing Grounds0503.84 90Afghanistan20142Inland Fishing Grounds00 90Afghanistan20142Forest Land0.641.82 90Afghanistan20142Infrastructure00 90Afghanistan20152Crop Land2.87.8 90Afghanistan20152Grazing Land2.676.19 90Afghanistan20152Marine Fishing Grounds0503.84 90Afghanistan20152Inland Fishing Grounds00 90Afghanistan20152Forest Land0.641.82 90Afghanistan20152Infrastructure00 90Afghanistan20162Crop Land2.928.4 90Afghanistan20162Grazing Land2.676.19 90Afghanistan20162Marine Fishing Grounds0503.84 90Afghanistan20162Inland Fishing Grounds00 90Afghanistan20162Forest Land0.641.82 90Afghanistan20162Infrastructure00 90Albania19613Crop Land1.51.76 90Albania19613Grazing Land11.266.19 90Albania19613Marine Fishing Grounds507503.84 90Albania19613Inland Fishing Grounds00 90Albania19613Forest Land1.161.82 90Albania19613Infrastructure00 90Albania19623Crop Land1.561.73 90Albania19623Grazing Land11.266.19 90Albania19623Marine Fishing Grounds507503.84 90Albania19623Inland Fishing Grounds00 90Albania19623Forest Land1.161.82 90Albania19623Infrastructure00 90Albania19633Crop Land1.642.04 90Albania19633Grazing Land11.266.19 90Albania19633Marine Fishing Grounds507503.84 90Albania19633Inland Fishing Grounds00 90Albania19633Forest Land1.161.82 90Albania19633Infrastructure00 90Albania19643Crop Land1.811.89 90Albania19643Grazing Land11.266.19 90Albania19643Marine Fishing Grounds507503.84 90Albania19643Inland Fishing Grounds00 90Albania19643Forest Land1.161.82 90Albania19643Infrastructure00 90Albania19653Crop Land1.72.07 90Albania19653Grazing Land11.266.19 90Albania19653Marine Fishing Grounds507503.84 90Albania19653Inland Fishing Grounds00 90Albania19653Forest Land1.161.82 90Albania19653Infrastructure00 90Albania19663Crop Land2.082.25 90Albania19663Grazing Land11.266.19 90Albania19663Marine Fishing Grounds507503.84 90Albania19663Inland Fishing Grounds00 90Albania19663Forest Land1.161.82 90Albania19663Infrastructure00 90Albania19673Crop Land2.132.28 90Albania19673Grazing Land11.266.19 90Albania19673Marine Fishing Grounds507503.84 90Albania19673Inland Fishing Grounds00 90Albania19673Forest Land1.161.82 90Albania19673Infrastructure00 90Albania19683Crop Land2.222.35 90Albania19683Grazing Land11.266.19 90Albania19683Marine Fishing Grounds507503.84 90Albania19683Inland Fishing Grounds00 90Albania19683Forest Land1.161.82 90Albania19683Infrastructure00 90Albania19693Crop Land2.192.25 90Albania19693Grazing Land11.266.19 90Albania19693Marine Fishing Grounds507503.84 90Albania19693Inland Fishing Grounds00 90Albania19693Forest Land1.161.82 90Albania19693Infrastructure00 90Albania19703Crop Land2.312.42 90Albania19703Grazing Land11.266.19 90Albania19703Marine Fishing Grounds507503.84 90Albania19703Inland Fishing Grounds00 90Albania19703Forest Land1.161.82 90Albania19703Infrastructure00 90Albania19713Crop Land2.412.69 90Albania19713Grazing Land11.266.19 90Albania19713Marine Fishing Grounds507503.84 90Albania19713Inland Fishing Grounds00 90Albania19713Forest Land1.161.82 90Albania19713Infrastructure00 90Albania19723Crop Land2.442.58 90Albania19723Grazing Land11.266.19 90Albania19723Marine Fishing Grounds507503.84 90Albania19723Inland Fishing Grounds00 90Albania19723Forest Land1.161.82 90Albania19723Infrastructure00 90Albania19733Crop Land2.572.71 90Albania19733Grazing Land11.266.19 90Albania19733Marine Fishing Grounds507503.84 90Albania19733Inland Fishing Grounds00 90Albania19733Forest Land1.161.82 90Albania19733Infrastructure00 90Albania19743Crop Land2.622.69 90Albania19743Grazing Land11.266.19 90Albania19743Marine Fishing Grounds507503.84 90Albania19743Inland Fishing Grounds00 90Albania19743Forest Land1.161.82 90Albania19743Infrastructure00 90Albania19753Crop Land2.722.82 90Albania19753Grazing Land11.266.19 90Albania19753Marine Fishing Grounds507503.84 90Albania19753Inland Fishing Grounds00 90Albania19753Forest Land1.161.82 90Albania19753Infrastructure00 90Albania19763Crop Land2.952.7 90Albania19763Grazing Land11.266.19 90Albania19763Marine Fishing Grounds507503.84 90Albania19763Inland Fishing Grounds00 90Albania19763Forest Land1.161.82 90Albania19763Infrastructure00 90Albania19773Crop Land2.982.61 90Albania19773Grazing Land11.266.19 90Albania19773Marine Fishing Grounds507503.84 90Albania19773Inland Fishing Grounds00 90Albania19773Forest Land1.161.82 90Albania19773Infrastructure00 90Albania19783Crop Land3.12.93 90Albania19783Grazing Land11.266.19 90Albania19783Marine Fishing Grounds507503.84 90Albania19783Inland Fishing Grounds00 90Albania19783Forest Land1.161.82 90Albania19783Infrastructure00 90Albania19793Crop Land3.383.03 90Albania19793Grazing Land11.266.19 90Albania19793Marine Fishing Grounds507503.84 90Albania19793Inland Fishing Grounds00 90Albania19793Forest Land1.161.82 90Albania19793Infrastructure00 90Albania19803Crop Land3.052.91 90Albania19803Grazing Land11.266.19 90Albania19803Marine Fishing Grounds507503.84 90Albania19803Inland Fishing Grounds00 90Albania19803Forest Land1.161.82 90Albania19803Infrastructure00 90Albania19813Crop Land3.253.14 90Albania19813Grazing Land11.266.19 90Albania19813Marine Fishing Grounds507503.84 90Albania19813Inland Fishing Grounds00 90Albania19813Forest Land1.161.82 90Albania19813Infrastructure00 90Albania19823Crop Land3.443.33 90Albania19823Grazing Land11.266.19 90Albania19823Marine Fishing Grounds507503.84 90Albania19823Inland Fishing Grounds00 90Albania19823Forest Land1.161.82 90Albania19823Infrastructure00 90Albania19833Crop Land3.823.15 90Albania19833Grazing Land11.266.19 90Albania19833Marine Fishing Grounds507503.84 90Albania19833Inland Fishing Grounds00 90Albania19833Forest Land1.161.82 90Albania19833Infrastructure00 90Albania19843Crop Land3.733.48 90Albania19843Grazing Land11.266.19 90Albania19843Marine Fishing Grounds507503.84 90Albania19843Inland Fishing Grounds00 90Albania19843Forest Land1.161.82 90Albania19843Infrastructure00 90Albania19853Crop Land3.43.21 90Albania19853Grazing Land11.266.19 90Albania19853Marine Fishing Grounds507503.84 90Albania19853Inland Fishing Grounds00 90Albania19853Forest Land1.161.82 90Albania19853Infrastructure00 90Albania19863Crop Land3.423.22 90Albania19863Grazing Land11.266.19 90Albania19863Marine Fishing Grounds507503.84 90Albania19863Inland Fishing Grounds00 90Albania19863Forest Land1.161.82 90Albania19863Infrastructure00 90Albania19873Crop Land3.363.13 90Albania19873Grazing Land11.266.19 90Albania19873Marine Fishing Grounds507503.84 90Albania19873Inland Fishing Grounds00 90Albania19873Forest Land1.161.82 90Albania19873Infrastructure00 90Albania19883Crop Land2.932.83 90Albania19883Grazing Land11.266.19 90Albania19883Marine Fishing Grounds507503.84 90Albania19883Inland Fishing Grounds00 90Albania19883Forest Land1.161.82 90Albania19883Infrastructure00 90Albania19893Crop Land3.563.35 90Albania19893Grazing Land11.266.19 90Albania19893Marine Fishing Grounds507503.84 90Albania19893Inland Fishing Grounds00 90Albania19893Forest Land1.161.82 90Albania19893Infrastructure00 90Albania19903Crop Land3.333.94 90Albania19903Grazing Land11.266.19 90Albania19903Marine Fishing Grounds507503.84 90Albania19903Inland Fishing Grounds00 90Albania19903Forest Land1.161.82 90Albania19903Infrastructure00 90Albania19913Crop Land3.046.14 90Albania19913Grazing Land11.266.19 90Albania19913Marine Fishing Grounds507503.84 90Albania19913Inland Fishing Grounds00 90Albania19913Forest Land1.161.82 90Albania19913Infrastructure00 90Albania19923Crop Land3.467.11 90Albania19923Grazing Land11.266.19 90Albania19923Marine Fishing Grounds507503.84 90Albania19923Inland Fishing Grounds00 90Albania19923Forest Land1.161.82 90Albania19923Infrastructure00 90Albania19933Crop Land3.855.59 90Albania19933Grazing Land11.266.19 90Albania19933Marine Fishing Grounds507503.84 90Albania19933Inland Fishing Grounds00 90Albania19933Forest Land1.161.82 90Albania19933Infrastructure00 90Albania19943Crop Land3.936 90Albania19943Grazing Land11.266.19 90Albania19943Marine Fishing Grounds507503.84 90Albania19943Inland Fishing Grounds00 90Albania19943Forest Land1.161.82 90Albania19943Infrastructure00 90Albania19953Crop Land4.46.58 90Albania19953Grazing Land11.266.19 90Albania19953Marine Fishing Grounds507503.84 90Albania19953Inland Fishing Grounds00 90Albania19953Forest Land1.161.82 90Albania19953Infrastructure00 90Albania19963Crop Land4.468.58 90Albania19963Grazing Land11.266.19 90Albania19963Marine Fishing Grounds507503.84 90Albania19963Inland Fishing Grounds00 90Albania19963Forest Land1.161.82 90Albania19963Infrastructure00 90Albania19973Crop Land4.467.68 90Albania19973Grazing Land11.266.19 90Albania19973Marine Fishing Grounds507503.84 90Albania19973Inland Fishing Grounds00 90Albania19973Forest Land1.161.82 90Albania19973Infrastructure00 90Albania19983Crop Land4.77.64 90Albania19983Grazing Land11.266.19 90Albania19983Marine Fishing Grounds507503.84 90Albania19983Inland Fishing Grounds00 90Albania19983Forest Land1.161.82 90Albania19983Infrastructure00 90Albania19993Crop Land4.729.06 90Albania19993Grazing Land11.266.19 90Albania19993Marine Fishing Grounds507503.84 90Albania19993Inland Fishing Grounds00 90Albania19993Forest Land1.161.82 90Albania19993Infrastructure00 90Albania20003Crop Land5.239.27 90Albania20003Grazing Land11.266.19 90Albania20003Marine Fishing Grounds507503.84 90Albania20003Inland Fishing Grounds00 90Albania20003Forest Land1.161.82 90Albania20003Infrastructure00 90Albania20013Crop Land5.6110.76 90Albania20013Grazing Land11.266.19 90Albania20013Marine Fishing Grounds507503.84 90Albania20013Inland Fishing Grounds00 90Albania20013Forest Land1.161.82 90Albania20013Infrastructure00 90Albania20023Crop Land5.8311.07 90Albania20023Grazing Land11.266.19 90Albania20023Marine Fishing Grounds507503.84 90Albania20023Inland Fishing Grounds00 90Albania20023Forest Land1.161.82 90Albania20023Infrastructure00 90Albania20033Crop Land5.711.62 90Albania20033Grazing Land11.266.19 90Albania20033Marine Fishing Grounds507503.84 90Albania20033Inland Fishing Grounds00 90Albania20033Forest Land1.161.82 90Albania20033Infrastructure00 90Albania20043Crop Land611.98 90Albania20043Grazing Land11.266.19 90Albania20043Marine Fishing Grounds507503.84 90Albania20043Inland Fishing Grounds00 90Albania20043Forest
Answered Same DayDec 03, 2021

Answer To: You have been provided with theYield Factors- All Yearswhich contains 7 variables and you are...

Atreye answered on Dec 03 2021
122 Votes
Solution a:
Code:
> library("readxl")
> data <- read_excel("C:/Users/Mili/Downloads/yield-factors
-all-years-3psauhx3.xlsx")
> data
>str(data)
>nrow(data)
Output:
nrow(data)
[1] 72354
Solution b:
Code
summary(data)
Output
Solution c:
Code:
> data_2016 = subset.data.frame(data,Year == 2016)
Output:
A part of output is shown below:
Solution d:
Code
data$Yield_Factor=data$National_Yield/data$World_Yield
head(data,5)
Output
Solution e:
Code
data_infrastucture = subset.data.frame(data,Land_type == "Infrastructure")
ggplot(data = data_infrastucture, aes(x = National_Yield, y = World_Yield)) +...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here