[R] extraction of element

mmstat at comcast.net mmstat at comcast.net
Sun Nov 21 00:52:38 CET 2010


Hello, 

I want only the value of Beta so the statement  Power<-1-Beta[1] works right. 

How to do?  See code below 

Beta <- integrate(dnorm,mean=0,sd=1, 2.3552,Inf) 
Power<- 1-Beta[1] 

Sincerely, 
Mary A. Marion



More information about the R-help mailing list