dewittpe / cpr

Control Polygon Reduction: Methods for quick and efficient placement of internal knots for B-splines and tensor products of B-splines.
http://www.peteredewitt.com/cpr/
2 stars 0 forks source link

Need to change the default for the data arg in the cp and cn calls. #20

Closed dewittpe closed 7 years ago

dewittpe commented 7 years ago

If the data argument is omitted the following error is given:

Error in UseMethod("select_") : 
  no applicable method for 'select_' applied to an object of class "environment"

Set up the cp and cn functions so that data is a required argument and that a data.frame is given.