[Returnanalytics-commits] r3667 - in pkg/Dowd: R man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jun 9 23:16:46 CEST 2015
Author: dacharya
Date: 2015-06-09 23:16:46 +0200 (Tue, 09 Jun 2015)
New Revision: 3667
Modified:
pkg/Dowd/R/NormalQQPlot.R
pkg/Dowd/man/NormalQQPlot.Rd
Log:
Example added for NormalQQPlot.
Modified: pkg/Dowd/R/NormalQQPlot.R
===================================================================
--- pkg/Dowd/R/NormalQQPlot.R 2015-06-09 21:12:47 UTC (rev 3666)
+++ pkg/Dowd/R/NormalQQPlot.R 2015-06-09 21:16:46 UTC (rev 3667)
@@ -10,8 +10,9 @@
#' @author Dinesh Acharya
#' @examples
#'
-#' # Description of example
-#' Example
+#' # Normal QQ Plot for randomly generated standard normal data
+#' Ra <- rnorm(100)
+#' NormalQQPlot(Ra)
#'
#' @export
NormalQQPlot <- function(Ra){
Modified: pkg/Dowd/man/NormalQQPlot.Rd
===================================================================
--- pkg/Dowd/man/NormalQQPlot.Rd 2015-06-09 21:12:47 UTC (rev 3666)
+++ pkg/Dowd/man/NormalQQPlot.Rd 2015-06-09 21:16:46 UTC (rev 3667)
@@ -14,8 +14,9 @@
the quantiles of a normal distribution. The purpose of the quantile-quantile plot is to determine whether the sample in 'Ra' is drawn from a normal (i.e., Gaussian) distribution.
}
\examples{
-# Description of example
- Example
+# Normal QQ Plot for randomly generated standard normal data
+ Ra <- rnorm(100)
+ NormalQQPlot(Ra)
}
\author{
Dinesh Acharya
More information about the Returnanalytics-commits
mailing list