[Distr-commits] r302 - pkg/distr/inst/doc
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Oct 10 20:16:58 CEST 2008
Author: stamats
Date: 2008-10-10 20:16:58 +0200 (Fri, 10 Oct 2008)
New Revision: 302
Modified:
pkg/distr/inst/doc/newDistributions.Rnw
pkg/distr/inst/doc/newDistributions.pdf
Log:
had to change skewness.R and kurtosis.R to Skewness.R and Kurtosis.R, respectively.
Modified: pkg/distr/inst/doc/newDistributions.Rnw
===================================================================
--- pkg/distr/inst/doc/newDistributions.Rnw 2008-10-10 17:55:54 UTC (rev 301)
+++ pkg/distr/inst/doc/newDistributions.Rnw 2008-10-10 18:16:58 UTC (rev 302)
@@ -150,7 +150,7 @@
D <- DiscreteDistribution(supp = c(1,5,7,21), prob = c(0.1,0.1,0.6,0.2))
D
plot(D)
-@
+@
\newline
and to generate an absolutely continuos distribution with density proportional
to $e^{-|x|^3}$, we write
@@ -158,7 +158,7 @@
AC <- AbscontDistribution(d = function(x) exp(-abs(x)^3), withStand = TRUE)
AC
plot(AC)
-@
+@
% -------------------------------------------------------------------------------
\section{Doing it from scratch}
% -------------------------------------------------------------------------------
@@ -242,9 +242,9 @@
\item\file{Functionals.R}, lines 158--165
\lstinputlisting[firstline=158,lastline=165]{../../../distrEx/R/Functionals.R}
\item\file{skewness.R}, lines 60--67
-\lstinputlisting[firstline=60,lastline=67]{../../../distrEx/R/skewness.R}
+\lstinputlisting[firstline=60,lastline=67]{../../../distrEx/R/Skewness.R}
\item\file{kurtosis.R}, lines 69--77
-\lstinputlisting[firstline=69,lastline=77]{../../../distrEx/R/kurtosis.R}
+\lstinputlisting[firstline=69,lastline=77]{../../../distrEx/R/Kurtosis.R}
\end{itemize}
\end{enumerate}
The procedure will be similar for \textit{any} new class of distributions.\medskip
Modified: pkg/distr/inst/doc/newDistributions.pdf
===================================================================
(Binary files differ)
More information about the Distr-commits
mailing list