In the current version of the package, the behaviour of convhulln() and delaunayn() differ:
-
convhulln(): If the Qhull options n or FA are included in the options string, returns a list. Otherwise return a matrix.
-
delaunayn(): If the full option is supplied return the areas and neighbours of each simplex.
It would be good to normalise the behaviour by removing the full option from delaunayn and only outputting a list when options such as Fa and Fn are specified. The only call to delaunayn with the full option is delaunayn(as.matrix(data), options="Fa Fn", full=T) in the restlos package.
Thus the proposal is:
- Make
delaunayn respond to Fa and Fn options, outputting areas and neighbours
- Deprecate
full, producing a WARNING
In the current version of the package, the behaviour of
convhulln()anddelaunayn()differ:convhulln(): If the Qhull optionsnorFAare included in theoptionsstring, returns a list. Otherwise return a matrix.delaunayn(): If thefulloption is supplied return theareasandneighboursof each simplex.It would be good to normalise the behaviour by removing the
fulloption fromdelaunaynand only outputting a list when options such asFaandFnare specified. The only call todelaunaynwith thefulloption isdelaunayn(as.matrix(data), options="Fa Fn", full=T)in therestlospackage.Thus the proposal is:
delaunaynrespond toFaandFnoptions, outputtingareasandneighboursfull, producing a WARNING