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 anon.r.u...@gmail.com wrote:
I am having trouble understanding how classes in R work. Here
On Sun, Sep 29, 2013 at 10:48 PM, john doe anon.r.u...@gmail.com 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
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++ (eg integer, float, double). If so,
where can I see a list
(there are many).
Online Help is terse, but perhaps useful:
?UseMethod ## S3 classes
?setMethod
?Methods ## for S4 classes
Cheers,
Bert
On Sun, Sep 29, 2013 at 2:48 PM, john doe anon.r.u...@gmail.com wrote:
I am having trouble understanding how classes in R work. Here is a small
reproducable
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++ (eg integer
Hi JD,
On Sun, Sep 29, 2013 at 5:48 PM, john doe anon.r.u...@gmail.com 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
6 matches
Mail list logo