cute_little_R_functions.R 829 KB
Newer Older
12001
warn = paste0("\n", warn, "\n\n"), 
12002
ggplot = if(return.ggplot == TRUE){fin.plot}else{NULL}, # fin.plot plots the graph if return == TRUE
12003
gtable = if(return.gtable == TRUE){grob.save}else{NULL} #
12004
)
12005
return(output) # this plots the graph if return.ggplot is TRUE and if no assignment
12006
12007
12008
12009
12010
12011
12012
}
# end outputs
# end main code
}