Using R, plot the gamma density function with parameters a = 2.2, 5= 1.3 on interval (0,7).

Calculus For The Life Sciences
2nd Edition
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Chapter7: Integration
Section7.1: Antiderivatives
Problem 2E
icon
Related questions
Question

Please provide a source code that can be copied into R programming. 

An example code is provided below, please use that as a reference. 

Using R, plot the gamma density function with parameters a = 2.2, 3 = 1.3 on interval (0,7).
Transcribed Image Text:Using R, plot the gamma density function with parameters a = 2.2, 3 = 1.3 on interval (0,7).
Using R-code we can plot the following gamma density function with parameters (a = 0.8, 3 = 0.5).
x <-seq(0.01,4,0.01)
y<-dgamma(x,0.8,0.5)
plot(x,y,type = "I",col="blue")
Transcribed Image Text:Using R-code we can plot the following gamma density function with parameters (a = 0.8, 3 = 0.5). x <-seq(0.01,4,0.01) y<-dgamma(x,0.8,0.5) plot(x,y,type = "I",col="blue")
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Recommended textbooks for you
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
College Algebra
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning