[R] formatting in r
Mary A. Marion
mmstat at comcast.net
Tue Jul 28 19:36:46 CEST 2009
Hello,
I have output that I want to print out. I am having a few issues.
1] output u to power is really nothing more than a 2 x 11 set of values
formed using cbind function
and printed out as a data frame
How can I get it to output over several lines such as seen here?
2] Critical Z etc. were added by hand. I need an example of how I can
mix alphanumeric
and numeric data on output.
Can you assist? R is proving to be a really fine computational language
that is easy to use.
Thank you.
Sincerely,
Mary A. Marion
u xbar alpha zcrit zcrit2 zstat pvalue
140 150 .05 1.6449 1.96 4 6.334248e-05
LB95 UB95 LB90 UB90
145.1 154.9 145.888 154.112
Beta Power
0.021 0.979
Critical Z = 1.645
Zstatistic = 4
Empirical Mean 150 [ 135.1, 144.9 ) = Ao(µo)
Population Mean 140 [ 145.1, 154.9 ] = C(x)
Pvalue < .0001
More information about the R-help
mailing list