I would like to improve functions and documentation related to Desc(). Especially the plot() methods for Desc() as they are not documented. So the 1-st step is to create a documentation form that is above the function (the Roxygen2 documentation) and not in a separate file. This type of documentation allows simplified and less verbose (Markdown-based) syntax, which allows spotting discrepancies (including spelling mistakes, wrong defaults, etc.) quicker. If one uses RStudio, Rd files are created/updated automatically from Roxygen2 documentation. It also makes running and checking examples in RStudio easier.
In this PR, I created Markdown-based Roxygen2 documentation in Desc.R file. In some places improved it a bit, and fixed some typos. Then generated Rd files. The main differences in Rd files should be:
1) The Usage section is generated automatically so the usage items appear in the same order as the functions/methods appear in the file.
2) The arguments in documentation appear in the same order they first appear in the methods.
The remaining things should be almost identical.
All the remaining functions in other files are untouched and can be used as usual.
So @AndriSignorell, would you accept this type of change and allow me to proceed to improve the documentation of plot methods? Or should we choose some other direction?
I would like to improve functions and documentation related to
Desc()
. Especially theplot()
methods forDesc()
as they are not documented. So the 1-st step is to create a documentation form that is above the function (theRoxygen2
documentation) and not in a separate file. This type of documentation allows simplified and less verbose (Markdown-based) syntax, which allows spotting discrepancies (including spelling mistakes, wrong defaults, etc.) quicker. If one uses RStudio, Rd files are created/updated automatically from Roxygen2 documentation. It also makes running and checking examples in RStudio easier.In this PR, I created Markdown-based Roxygen2 documentation in
Desc.R
file. In some places improved it a bit, and fixed some typos. Then generated Rd files. The main differences in Rd files should be:1) The Usage section is generated automatically so the usage items appear in the same order as the functions/methods appear in the file. 2) The arguments in documentation appear in the same order they first appear in the methods.
The remaining things should be almost identical.
All the remaining functions in other files are untouched and can be used as usual.
So @AndriSignorell, would you accept this type of change and allow me to proceed to improve the documentation of
plot
methods? Or should we choose some other direction?Related:
56