Thanks so much for your help everyone. This really helped me a lot.
On Sun, Sep 29, 2013 at 11:42 PM, Barry Rowlingson <
b.rowling...@lancaster.ac.uk> wrote:
> On Sun, Sep 29, 2013 at 10:48 PM, john doe wrote:
> > I am having trouble understanding how classes in R work. Here is a small
> > re
On Sep 29, 2013, at 5:28 PM, Ista Zahn wrote:
> Hi JD,
>
> On Sun, Sep 29, 2013 at 5:48 PM, john doe wrote:
>> I am having trouble understanding how classes in R work. Here is a small
>> reproducable example:
>>
>>> x=1
>>> class(x)
>> [1] "numeric"
>>
>> OK. When a variable is a number, it
On Sun, Sep 29, 2013 at 10:48 PM, john doe wrote:
> I am having trouble understanding how classes in R work. Here is a small
> reproducable example:
>
>> x=1
>> class(x)
> [1] "numeric"
>
> OK. When a variable is a number, its class is "numeric". Does R have
> multiple types for numbers, like C
Hi JD,
On Sun, Sep 29, 2013 at 5:48 PM, john doe wrote:
> I am having trouble understanding how classes in R work. Here is a small
> reproducable example:
>
>> x=1
>> class(x)
> [1] "numeric"
>
> OK. When a variable is a number, its class is "numeric". Does R have
> multiple types for numbers,
On Sep 29, 2013, at 2:48 PM, john doe wrote:
> I am having trouble understanding how classes in R work. Here is a small
> reproducable example:
>
>> x=1
>> class(x)
> [1] "numeric"
>
> OK. When a variable is a number, its class is "numeric". Does R have
> multiple types for numbers, like C++
R-help is not the place for an extended tutorial the R class systems
(there are in fact at least two, S3 and S4, neither of which is like
C++ classes). Read the "R Language Definition" Manual that ships with
R, John Chambers's books (probably the latest for S4), or search the
web for tutorials (the
6 matches
Mail list logo