extendr_api::prelude::col

Function from_slice_generic

pub fn from_slice_generic<E>(
    slice: <<E as Entity>::Group as ForType>::FaerOf<&[<E as Entity>::Unit]>,
) -> ColRef<'_, E>
where E: Entity,
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.