vl_sample
vl_sample.Rd
Add SampleTransform to a vega-lite spec.
Arguments
- spec
An input vega-lite spec
- sample
The maximum number of data objects to include in the sample.
Default value:
1000
- .object
Directly input an object, rather than creating one via the other arguments. Should not be used in conjunction with the other arguments other than
spec
. Objects can be of type: SampleTransform