The Array Shadow object is a "shadow" of an vector or array x:
It has the same (dim)names as x, and pretends to have the same length and dimensions.
But it holds no actual data.
Usage
cast_ArrayShadow(type, length, dim, names, dimnames, comment, oldClass)
cast_ArrayShadow2(x_expr, env)Arguments
- type
- length
the length of the vector/array.
- dim
the dimensions of the vector/array.
- names
the names of the vector/array.
- dimnames
the
dimnamesof the vector/array.- comment
the
commentattribute of the vector/array.- oldClass
the class attribute of the vector/array.
- x_expr
the substituted name of the vector/array.
- env
the environment where the vector/array name (
x_expr) actually lives.