Skip to content
Prev 366438 / 398502 Next

How might I work with a data.frame where each physical row represents several logical rows?

On Wed, Jan 04, 2017 at 08:33:46PM -0800, David Winsemius wrote:
Hmmm.... OK; that looks a lot better than the stuff that was coming to
my mind -- thanks! :-)
Aye.
Sorry; I'm not understanding what you mean: My background is a lot more
toward systems administration than statistical analysis.

The repository I'm using has a rather large number of individual metrics
from a given server -- each provided on a separate row.  (That's why one
of the columns is called "name" -- it provides the (base) "name" of the
metric that corresponds to the "values" on the given row.)  I'll plan to
assemble the rows for a given server & timestamp into a single row --
thuse, I would have the tcp_connection_count for the "last ACK" state
and for the "fin_wait_2" state, as well as CpuSystem, CpuUser, CpuIdle,
... for the given server & timestamp on a single row (eventually).
Thanks again!

Peace,
david