File: disjunctive.Rd

package info (click to toggle)
r-cran-sampling 2.11-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,340 kB
  • sloc: ansic: 21; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\name{disjunctive}
\alias{disjunctive}
\title{Disjunctive combination}
\description{
Transforms a categorical variable
into a matrix of indicators. The values of the categorical variable are integer numbers (positive or negative).
}
\usage{disjunctive(strata)}
\arguments{
\item{strata}{vector of integer numbers.}
}
\seealso{\code{
\link{balancedstratification}}
}
\examples{
# definition of the variable of stratification
strata=c(-2,3,-2,3,4,4,4,-2,-2,3,4,0,0,0)
# computation of the matrix
disjunctive(strata)
}
\keyword{survey}