R/toDotty.R

"toDotty" <- 
function(graph,filename,...) {
if(!requireNamespace('Rgraphviz') && !requireNamespace(graph)) {stop("You have called a function requiring Rgraphviz and it is not installed.  Install it and try again.")
toDot <- function() {}   #dummy function} else {
Rgraphviz::toDot(graph,filename,...)}
}

Try the psych package in your browser

Any scripts or data that you put into this service are public.

psych documentation built on Sept. 26, 2023, 1:06 a.m.