extendr_api::prelude::col

Function from_slice

pub fn from_slice<E>(slice: &[E]) -> ColRef<'_, E>
where E: SimpleEntity,
Expand description

Creates a ColRef from slice views over the column vector data, The result has the same number of rows as the length of the input slice.