ezwelty / linbin

Binning and Plotting of Linearly Referenced Data
https://cran.r-project.org/package=linbin
2 stars 0 forks source link

Slow for large datasets #2

Closed ezwelty closed 4 years ago

ezwelty commented 9 years ago

Linbin currently stores and manipulates events as data.frames. The code would run faster by using data.tables without a loss of functionality. The code would run much, much faster by using numeric matrices, although this would require storing field names and factor levels separately (in an S4 object?) to maintain support for text variables and referencing columns by name.