tidyfun / tf

S3 classes and methods for tidy functional data
https://tidyfun.github.io/tf/
GNU Affero General Public License v3.0
5 stars 2 forks source link

modify automatic resolution detection for irregular data? #4

Closed fabian-s closed 7 months ago

fabian-s commented 5 years ago

should constructors use curve-specific arg-values instead of merged ones for figuring out appropriate resolution?

simpler idea: just inform users if irregular input yields "too fine" resolution and let them set resolution manually.

related: tidyfun/tf#9

fabian-s commented 7 months ago

see utils.R: get_resolution() -- we use "smallest observed interval between consecutive evaluations"/10, rounded down to the nearest power of 10, seems like a reasonable default.