File: ampute.default.type.Rd

package info (click to toggle)
r-cran-mice 3.17.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,380 kB
  • sloc: cpp: 121; sh: 25; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 843 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
22
23
24
25
26
27
28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ampute.default.R
\name{ampute.default.type}
\alias{ampute.default.type}
\title{Default \code{type} in \code{ampute()}}
\usage{
ampute.default.type(patterns)
}
\arguments{
\item{patterns}{A matrix of size #patterns by #variables where 0 indicates a
variable should have missing values and 1 indicates a variable should remain
complete. Could be the result of \code{\link{ampute.default.patterns}}.}
}
\value{
A string vector of length #patterns containing the missingness types.
Each pattern will be amputed with a "RIGHT" missingness.
}
\description{
Defines the default type vector for the multivariate amputation function
\code{ampute}.
}
\seealso{
\code{\link{ampute}}, \code{\link{ampute.default.patterns}}
}
\author{
Rianne Schouten, 2016
}
\keyword{internal}