fix memory leaks on EMGLLF, test OK for EMGrank
[valse.git] / man / vec_bin.Rd
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/vec_bin.R
3 \name{vec_bin}
4 \alias{vec_bin}
5 \title{A function needed in initSmallEM}
6 \usage{
7 vec_bin(X, r)
8 }
9 \arguments{
10 \item{X}{vector with integer values}
11
12 \item{r}{integer}
13 }
14 \value{
15 a list with Z (a binary vector of size the size of X) and indices where Z is equal to 1
16 }
17 \description{
18 A function needed in initSmallEM
19 }
20