meDataStructures.htm
-
On Aug 16, 2012, at 11:49 AM, Schumacher, Jay S wrote:
hi,
i'm trying to understand r data structures. i see that vectors,
matrix, factors and arrays have a "dimension."
there seems to be no mention of dimensionality anywhere for l
On Thu, Aug 16, 2012 at 5:44 PM, MacQueen, Don wrote:
> Whereas for a matrix or data frame, one must supply *two* index values
> (even if one of them may be omitted)
> mydf[ 1 , 3 ]
> mydf[ , 5 ]
>
> mymat[ 2:5 , ]
> mymat[ 3 , 4:6 ]
> are valid statements.
>
Not quite:
x <- matr
I don't disagree with Michael, but I would add that to me it also depends.
If one thinks in terms of subsetting an object (for objects that can be
subsetted)
To subset a vector, one supplies *one* value for the index:
myvector[3]
myvector[ 2:5 ]
are valid statements.
Similarly for a list
m
s not one that
is in accord with "An Introduction to R" or with typical R discourse.
--
David.
-
On Aug 16, 2012, at 11:49 AM, Schumacher, Jay S wrote:
hi,
i'm trying to understand r data structures. i see that vect
quire as to the
length of a list, so might, if forced to, admit that lists have one
dimension, length. But I do not think it is helpful to think of lists as
having dimension. Certainly, lists do not have two dimensions.
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
On Thu, Aug 16, 2012 at 4:50 PM, Schumacher, Jay S wrote:
>
> are these correct/accurate/sensible statements:
>
> a vector is a one dimensional object.
> a matrix is a two dimensional object.
>
> a list is a one dimensional object.
>
> i'm working from this web page:
> http://www.agr.kul
s.htm
-
On Aug 16, 2012, at 11:49 AM, Schumacher, Jay S wrote:
>
>
> hi,
> i'm trying to understand r data structures. i see that vectors,
> matrix, factors and arrays have a "dimension."
> there seems to be no
rtainly, lists do not have two dimensions.
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 8/16/12 11:49 AM, "Schumacher, Jay S" wrote:
>
>
>hi,
> i'm trying to understand r data structures.
On Aug 16, 2012, at 11:49 AM, Schumacher, Jay S wrote:
hi,
i'm trying to understand r data structures. i see that vectors,
matrix, factors and arrays have a "dimension."
there seems to be no mention of dimensionality anywhere for lists
or dataframes. can i consider l
Hi,
On Thu, Aug 16, 2012 at 2:49 PM, Schumacher, Jay S wrote:
>
>
> hi,
> i'm trying to understand r data structures. i see that vectors, matrix,
> factors and arrays have a "dimension."
Out of curiosity, where do you "see" that vectors and fac
hi,
i'm trying to understand r data structures. i see that vectors, matrix,
factors and arrays have a "dimension."
there seems to be no mention of dimensionality anywhere for lists or
dataframes. can i consider lists and frames to be of fixed dimension 2?
Great, these are valuable tips. Thanks both of you. I appreciate it. :)
Timothy
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R
age-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Timothy Wu
> Sent: Thursday, May 27, 2010 3:14 AM
> To: r-help@r-project.org
> Subject: [R] Methods to explore R data structures
>
> Hi,
>
> I'm very confused about R structu
On 05/27/2010 02:13 AM, Timothy Wu wrote:
> Hi,
>
> I'm very confused about R structures and the methods to go with them.
> I'm using R for microarray analysis with Bioconductors. Suppose
> without reading the documentations, what's the best way to explore a
> data structure when you know nothing a
Hi,
I'm very confused about R structures and the methods to go with them. I'm
using R for microarray analysis with Bioconductors. Suppose without reading
the documentations, what's the best way to explore a data structure when you
know nothing about it?
I am currently using is() / class() to see
?list
On 13/03/2008, at 3:50 PM, Scott Romans wrote:
> Matlab has an aggregate variable called a structure, which consists of
> component variables each of which can be of a different data type and
> dimension. For example, I can have a single structure Model which
> consists of Model.variable1,
Hello -
Scott Romans wrote:
> Matlab has an aggregate variable called a structure, which consists of
> component variables each of which can be of a different data type and
> dimension. For example, I can have a single structure Model which
> consists of Model.variable1, Model.variable2, and
Matlab has an aggregate variable called a structure, which consists of
component variables each of which can be of a different data type and
dimension. For example, I can have a single structure Model which
consists of Model.variable1, Model.variable2, and Model.variable3,
where variable1 i
18 matches
Mail list logo