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 arc
close,
So I have a vector, lets say
[1] 1.5 1.2
And a matrix
[,1] [,2]
[1,] 1.9 1.3
[2,]-.2 2
I want to somehow use the first number in my vector(1.5) and compare this
number to my whole first column. So I want to see how many times the numbers
in column 1<1.5 which should be 1 in thi
i have a simple question. If i have a 2x2 matrix with [,1] and [,2] i want to
test each of these to see if they are below some number. If each component
in column is below the number then it returns a 1. Now from this result I
would like to add the number of 1's that came up. How can i do this?
--
3 matches
Mail list logo