File: matrixStats.options.Rd

package info (click to toggle)
r-cran-matrixstats 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,104 kB
  • sloc: ansic: 7,300; sh: 11; makefile: 2
file content (94 lines) | stat: -rw-r--r-- 3,246 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/options.R
\name{matrixStats.options}
\alias{matrixStats.options}
\alias{matrixStats.vars.formula.freq}
\alias{R_MATRIXSTATS_VARS_FORMULA_FREQ}
\alias{matrixStats.vars.formula.onMistake}
\alias{R_MATRIXSTATS_VARS_FORMULA_ONMISTAKE}
\alias{matrixStats.vars.center.onUse}
\alias{R_MATRIXSTATS_VARS_CENTER_ONUSE}
\alias{matrixStats.center.onScalar}
\alias{R_MATRIXSTATS_CENTER_ONSCALAR}
\alias{matrixStats.ties.method.missing}
\alias{R_MATRIXSTATS_TIES_METHOD_MISSING}
\alias{matrixStats.ties.method.freq}
\alias{R_MATRIXSTATS_TIES_METHOD_FREQ}
\alias{matrixStats.envs.min.version}
\alias{R_MATRIXSTATS_ENVS_MIN_VERSION}
\title{Options used for matrixStats}
\description{
Below are the \R options and environment variables that are used by the
\pkg{matrixStats} package and packages enhancing it.\cr
\cr
\emph{WARNING: Note that the names and the default values of these options may
 change in future versions of the package.  Please use with care until
 further notice.}
}
\section{Options for controlling deprecation}{

\describe{
 \item{\option{matrixStats.center.onUse}:}{(string)
   Action taken when argument \code{center} is specified.
   If \code{"defunct"}, an error is thrown.
   If \code{"deprecated"}, a warning is signaled.
   If \code{"ignore"}, it's silently ignored.
   (Default: \code{"ignore"})}
}

\describe{
 \item{\option{matrixStats.center.onScalar}:}{(string)
   Action taken when argument \code{center} is a scalar.
   If \code{"defunct"}, an error is thrown.
   If \code{"deprecated"}, a warning is signaled.
   (Default: \code{"deprecated"})}
}

\describe{
 \item{\option{matrixStats.formula.onMistake}:}{(string)
   Action taken when argument \code{center} is specified with the wrong
   assumptions of the underlying formula used internally.
   If \code{"defunct"}, an error is thrown.
   If \code{"deprecated"}, a warning is signaled.
   (Default: \code{"defunct"})}
}

\describe{
 \item{\option{matrixStats.formula.freq}:}{(numeric)
   Controls how often the above assumption is checked.
   (Default: \code{50} - every 50:th call starting with the first)}
}

\describe{
 \item{\option{matrixStats.ties.method.missing}:}{(string)
   Controls whether argument \code{ties.method} for \code{colRanks()}
   and \code{rowRanks()} should be explicitly specified.
   If \code{"defunct"}, an error is produced, if not.
   If \code{"deprecated"}, a warning is signaled.
   If \code{"ignore"}, it's silently ignored.
   (Default: \code{"deprecated"} in R (>= 4.4.0), otherwise \code{"ignore"})}
}

\describe{
 \item{\option{matrixStats.ties.method.freq}:}{(numeric)
   Controls how often the above validation is checked.
   (Default: \code{10} - every 10:th call starting with the first)}
}
}

\section{Environment variables that set R options}{

All of the above \R \option{matrixStats.*} options can be set by
corresponding environment variable \env{R_MATRIXSTATS_*}
\emph{when the \pkg{matrixStats} package is loaded}.
For example, if \code{R_MATRIXSTATS_TIES_METHOD_FREQ=10}, then option
\option{matrixStats.ties.method.freq} is set to \code{10} (integer).
}

\examples{
\dontrun{
options(matrixStats.ties.method.freq = 10L)
}

}
\keyword{internal}