Rdocumentation
powered by
Learn R Programming
gmatrix (version 0.3)
gvector: Create a
gvector
object
Description
Creates a gvector object of given length and initializes all elements to 0.
Usage
gvector(length, type = "d")
Arguments
length
length of the object
type
The type (i.e.
"double"
,
"single"
,
"integer"
or
"logical"
)
Value
Returns a
gvector
object.
See Also
vector