Displaying 1 result from an estimated 1 matches for "vec_npoint".
Did you mean:
vec_npoints
2018 Nov 08
0
An update on the vctrs package
Kia Ora
> vec_size(data.frame(x = 1:10))
> #> [1] 10
> vec_size(array(dim = c(10, 4, 1)))
> #> [1] 10
I think that "length" (in the R way) or "size" should incorporate the
number of columns (or other dimension information).
How about:
> vec_npoints (x)
> vec_nrecords (x)
> vec_nobs (x)
Depending on whether you want to promote geometry, databases or statistics.
I like npoints because I like to be Geometry-Friendly :).
This next issue isn't probably the feedback you're looking for.
However, given that you brought it up...
>...