Is it really a table? (That is a specific class of object in R.)

You seem to be accessing it as a data.frame. Perhaps something along the lines of (untested):

subset(fig8, (Z < S | Z > T) )$P

--
David Winsemius


On Apr 10, 2009, at 5:54 AM, herbert8...@gmx.de wrote:

Dear R-friends,

Could you please help me with a problem?

I have a table with 4 columns: P,Z,S,T.

Sometimes z is smaller than s, sometimes z is greater than t. For these smaller/greater z-values, I do need the associated p-value (see example below).

I need the whole range of "a" and "b", but I only get the values of "25" for "a" and "5.5" for "b".

Also "i" is always "[1]" for all values of p.

Could you please help on how to get a matrix form for all separate p- values (for z<s and z>t)?

Thanks very much in advance!

Herbert



#################################
p<-fig8$P
z<-fi8a$Z
s<-fig8$S
t<-fig8$T


David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
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