[Prob-commits] r48 - in pkg: . man vignettes
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Feb 16 04:44:30 CET 2017
Author: gkerns
Date: 2017-02-16 04:44:29 +0100 (Thu, 16 Feb 2017)
New Revision: 48
Modified:
pkg/DESCRIPTION
pkg/man/CharFunc.Rd
pkg/man/gen2wayTable.Rd
pkg/man/genIndepTable.Rd
pkg/man/genXdata.Rd
pkg/man/prob-package.Rd
pkg/vignettes/charfunc.Rnw
Log:
fixed some more
Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION 2017-02-16 02:44:19 UTC (rev 47)
+++ pkg/DESCRIPTION 2017-02-16 03:44:29 UTC (rev 48)
@@ -6,7 +6,7 @@
Depends: combinat, fAsianOptions
Suggests: VGAM, reshape, MASS, hypergeo
Description:
- This package provides a framework for performing elementary probability
+ A framework for performing elementary probability
calculations on finite sample spaces, which may be represented by data frames
or lists. Functionality includes setting up sample spaces, counting tools,
defining probability spaces, performing set algebra, calculating probability
@@ -14,5 +14,5 @@
large numbers, adding random variables, and finding marginal distributions.
Characteristic functions for all base R distributions are included.
License: GPL (>= 3)
-URL: http://prob.r-forge.r-project.org, http://people.ysu.edu/~gkerns/
+URL: http://prob.r-forge.r-project.org, http://gkerns.people.ysu.edu/
Modified: pkg/man/CharFunc.Rd
===================================================================
--- pkg/man/CharFunc.Rd 2017-02-16 02:44:19 UTC (rev 47)
+++ pkg/man/CharFunc.Rd 2017-02-16 03:44:29 UTC (rev 48)
@@ -292,8 +292,7 @@
Hurst, S. (1995) The Characteristic Function of the Student-t
Distribution, Financial Mathematics Research Report No. FMRR006-95,
- Statistics Research Report No. SRR044-95, available online:
- \url{http://wwwmaths.anu.edu.au/research.reports/srr/95/044/}
+ Statistics Research Report No. SRR044-95.
Johnson, N. L., Kotz, S., and Kemp, A. W. (1992)
\emph{Univariate Discrete Distributions},
Modified: pkg/man/gen2wayTable.Rd
===================================================================
--- pkg/man/gen2wayTable.Rd 2017-02-16 02:44:19 UTC (rev 47)
+++ pkg/man/gen2wayTable.Rd 2017-02-16 03:44:29 UTC (rev 48)
@@ -8,7 +8,10 @@
A function to randomly generate arbitrary two-way tables
}
\usage{
-gen2wayTable(n = sample(100:500, size = 1), pmatrix = matrix(1:12, nrow = 3), dmnames = list(X = paste("x", 1:nrow(pmatrix), sep = ""), Y = paste("y", 1:ncol(pmatrix), sep = "")), addmargins = TRUE, as.df = FALSE, untable = TRUE)
+gen2wayTable(n = sample(100:500, size = 1), pmatrix = matrix(1:12, nrow = 3),
+dmnames = list(X = paste("x", 1:nrow(pmatrix), sep = ""),
+Y = paste("y", 1:ncol(pmatrix), sep = "")),
+addmargins = TRUE, as.df = FALSE, untable = TRUE)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
Modified: pkg/man/genIndepTable.Rd
===================================================================
--- pkg/man/genIndepTable.Rd 2017-02-16 02:44:19 UTC (rev 47)
+++ pkg/man/genIndepTable.Rd 2017-02-16 03:44:29 UTC (rev 48)
@@ -8,7 +8,10 @@
A function to generate a two-way table with independent margins
}
\usage{
-genIndepTable(n = sample(100:500, size = 1), prow = 1:3, pcol = 1:4, dmnames = list(X = paste("x", 1:length(prow), sep = ""), Y = paste("y", 1:length(pcol), sep = "")), addmargins = TRUE, as.df = FALSE, untable = TRUE)
+genIndepTable(n = sample(100:500, size = 1), prow = 1:3, pcol = 1:4,
+dmnames = list(X = paste("x", 1:length(prow), sep = ""),
+Y = paste("y", 1:length(pcol), sep = "")), addmargins = TRUE,
+as.df = FALSE, untable = TRUE)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
Modified: pkg/man/genXdata.Rd
===================================================================
--- pkg/man/genXdata.Rd 2017-02-16 02:44:19 UTC (rev 47)
+++ pkg/man/genXdata.Rd 2017-02-16 03:44:29 UTC (rev 48)
@@ -8,7 +8,8 @@
This function generates correlated normal data to serve as a model matrix in a regression model.
}
\usage{
-genXdata(n, nvar = 1, mu = rep(0, nvar), Sigma = diag(length(mu)), varnames = paste("x", 1:length(mu), sep = ""), roundto = NULL)
+genXdata(n, nvar = 1, mu = rep(0, nvar), Sigma = diag(length(mu)),
+varnames = paste("x", 1:length(mu), sep = ""), roundto = NULL)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
Modified: pkg/man/prob-package.Rd
===================================================================
--- pkg/man/prob-package.Rd 2017-02-16 02:44:19 UTC (rev 47)
+++ pkg/man/prob-package.Rd 2017-02-16 03:44:29 UTC (rev 48)
@@ -5,7 +5,7 @@
Elementary Probability on Finite Sample Spaces
}
\description{
- This package provides a framework for performing elementary probability calculations on finite sample spaces. It is built around the concept of a \emph{probability space}, which is an object of outcomes and an object \code{probs} of probabilities associated with the outcomes.
+ A framework for performing elementary probability calculations on finite sample spaces. It is built around the concept of a \emph{probability space}, which is an object of outcomes and an object \code{probs} of probabilities associated with the outcomes.
There are two ways to represent a probability space in the \code{prob} package. The first is with a data frame that has a \code{probs} column. Entries of \code{probs} should be nonnegative and sum to one. The second way is with a list having two components: \code{outcomes} and \code{probs}. The component \code{outcomes} is a list containing elements of the most arbitrary sort; they can be data frames, vectors, more lists, whatever. The \code{probs} component is a vector (of the same length as \code{outcomes}), which associates to each element of \code{outcomes} a nonnegative number. As before, the only additional requirement is that the \code{sum} of \code{probs} be one.
Modified: pkg/vignettes/charfunc.Rnw
===================================================================
--- pkg/vignettes/charfunc.Rnw 2017-02-16 02:44:19 UTC (rev 47)
+++ pkg/vignettes/charfunc.Rnw 2017-02-16 03:44:29 UTC (rev 48)
@@ -769,8 +769,7 @@
\bibitem{studentst}Hurst, S. (1995) The Characteristic Function of
the Student-t Distribution, Financial Mathematics Research Report
-No. FMRR006-95, Statistics Research Report No. SRR044-95, available
-online: \url{http://wwwmaths.anu.edu.au/research.reports/srr/95/044/}
+No. FMRR006-95, Statistics Research Report No. SRR044-95.
\end{thebibliography}
\end{document}
More information about the Prob-commits
mailing list