This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/Rscript | |
| suppressMessages( library( calibrate ) ) | |
| suppressMessages( library( ggplot2 ) ) | |
| suppressMessages( library( ggrepel ) ) | |
| suppressMessages( library( ggdendro ) ) | |
| suppressMessages( library( dendextend ) ) | |
| suppressMessages( require( htmlwidgets ) ) | |
| suppressMessages( require( gridExtra ) ) | |
| suppressMessages( require( plotly ) ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| # Standard function for printing Normal Distribution in ggplot2 | |
| # # # # | |
| plotNormCurve <- function( mean = 0, sd = 1, variance = sd ^ 2, | |
| lowerBound = NULL, upperBound = NULL, | |
| sdRange = 3.5, | |
| from = mean - (sdRange * sd), | |
| to = mean + (sdRange * sd), | |
| plotTitle = 'Normal Curve', xlab = 'x', ylab = 'density' | |
| ) |
NewerOlder