Skip to content
Back to formatted view

Raw Message

Message-ID: <5.2.0.9.2.20030407075040.00b675c8@postoffice.pacbell.net>
Date: 2003-04-07T15:03:02Z
From: Chris Fehily
Subject: Scalar vs. vector

Do these statements yield identical types of objects?
   x = 3
and
   y = c(3)

That is, intrinsically, is x, like y, a vector of length one, but created 
with abbreviated syntax?

More simply: Are scalars really trivial vectors?

Thanks.
-chris