nightfall() activates the extended features provided by the midnight package.
It overrides specific S3 methods (such as ggmid.midimp), switches the underlying solvers to highly optimized Eigen-based routines via global options, and applies midnight-themed color palettes.
daybreak() reverses these changes, restoring the default behavior, solvers, and themes of the midr package.
Usage
nightfall(methods = TRUE, solvers = TRUE, themes = TRUE)
daybreak(methods = TRUE, solvers = TRUE, themes = TRUE)Arguments
- methods
logical. If
TRUE, overrides (or restores) theggmid.midimpS3 method.- solvers
logical. If
TRUE, sets (or restores) calculation solvers viaoptions()(e.g.,midr.solver.qr,midr.solver.svd). These optimized solvers can be utilized by specifying the corresponding method ininterpret()(e.g.,method = "qr").- themes
logical. If
TRUE, applies (or restores) color themes by settingoptions()formidr.qualitative,midr.sequential, andmidr.diverging.
