Dear R experts,

I have plot the PDF of t distribution with df = 74.
curve(dt(x,df=74),from=-4, to=4)

how can I shade the area under curve (for example, col="red") from t=+- 1.996?

Thank you.
Regards,
CH

-- 
CH Chan
Research Assistant - KWH
http://www.macgrass.com

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to