NAME

Rserve::REXP::Double - an R numeric vector

SYNOPSIS

use Rserve::REXP::Double

my $vec = Rserve::REXP::Double->new([ 1, 4, 'foo', 42 ]);
print $vec->elements;

DESCRIPTION

An object of this class represents an R numeric (aka double) vector (REALSXP).

METHODS

Rserve::REXP:Double inherits from Rserve::REXP::Vector, with the added restriction that its elements are real numbers. Elements that are not numbers have value undef, as do elements with R value NA.

sexptype

SEXPTYPE of complex vectors is REALSXP.