search for: specialx

Displaying 3 results from an estimated 3 matches for "specialx".

Did you mean: special
2009 Jun 03
1
Would like to add this to example for plotmath. Can you help?
...x(myDensity), normalFormula, pos=4) ### Theory says we should have 2.5% of the area to the left of: -1.96 * sigma. ### Find the X coordinate of that "critical value" criticalValue <- mu -1.96 * sigma ### Then grab all myx values that are "to the left" of that critical value. specialX <- myx[myx <= criticalValue] ### mark the critical value in the graph text ( criticalValue, 0 , label= paste(round(criticalValue,2)), pos=1) ### Take sequence parallel to values of myx inside critical region specialY <- myDensity[myx < criticalValue] # Polygon makes a nice shaded ill...
2010 Mar 09
3
Shade area under curve
I want to shade the area under the curve of the standard normal density. Specifically color to the left of -2 and on. How might i go about doing this? Thanks -- View this message in context: http://n4.nabble.com/Shade-area-under-curve-tp1586439p1586439.html Sent from the R help mailing list archive at Nabble.com.
2008 Dec 31
3
Plotmath with values?
I hope to use the plotmath facility to print titles that mix math and values of R variables. The help for "plotmath" has an example, which after repeated reading, I find baffling. Likewise, I have read the help file for "substitute" (wqhich seems to be needed) without ever understanding what it does, other than being used in some magic incantations. I would like to do