Displaying 3 results from an estimated 3 matches for "genridg".
Did you mean:
genridge
2011 Nov 24
3
How to deal with package conflicts
In my genridge package, I define a function ridge() for ridge
regression, creating objects of class 'ridge'
that I intend to enhance.
In a documentation example, I want to use some functions from the car
package. However, that package
requires survival, which also includes a ridge() function, for coxp...
2012 May 10
2
setting global options for a package
This may be elementary, but I can't find an answer: How can I set up
global options for
some specific arguments to functions in a package which can be easily
changed by the user?
This question relates to the selection of colors used in functions in
several packages (heplots,
genridge), where I want to provide reasonable default values for plots,
but allow users to
change those defaults globally for all plots produced with my functions.
One solution is to use palette() for the default, as in
foo <- function(x, col=palette(), ...) {}
but the standard palette is not approp...
2017 Oct 04
0
packages: Examples with CPU or elapsed time > 10s
I am perplexed about NOTEs I get from Win Builder on my genridge
package, https://github.com/friendly/genridge.
It shows, e.g.,
Examples with CPU or elapsed time > 10s
user system elapsed
plot3d.ridge 12.4 0.05 12.45
However, if I run *exactly the same code* in my console with
system.time(), I get
user system elapsed
0.95 0.16 1.17
W...