Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

Re: [R] R code output issues

MARCEL CURLIN

2010-09-03

Replies: Find Java Web Hosting

Author LoginPost Reply

Thanks for the input

Adding "print" took care of the first problem. The output looks like what I
would expect, so I think the code is doing what I would like it to for the
first 44 observations.

> print(results.df)
      D     R    D.1    R.1   V1V2dif   V1V4dif
1 68.92500 75.00000 284.5250 296.0000  6.0750000 11.4750000
2 68.81081 67.00000 287.7568 283.0000 -1.8108108 -4.7567568
3 65.43902 62.00000 282.5366 279.0000 -3.4390244 -3.5365854
4 66.60000 67.25000 286.7000 288.2500  0.6500000  1.5500000
5 68.94872 71.00000 297.8462 305.0000  2.0512821  7.1538462
Etc..

When I use str(results.df) it does seem to indicate a short file of 44
observations.

'data.frame':   44 obs. of 6 variables:
$ D    : num 68.9 68.8 65.4 66.6 68.9 ...
$ R    : num 75 67 62 67.2 71 ...
$ D.1   : num 285 288 283 287 298 ...
$ R.1   : num 296 283 279 288 305 ...
$ V1V2dif: num 6.08 -1.81 -3.44 0.65 2.05 ...
$ V1V4dif: num 11.48 -4.76 -3.54 1.55 7.15 ...

So I am still left with that question..
--
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@(protected)
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.
©2008 r-help.com - Jax Systems, LLC, U.S.A.