tmsalab / simcdm
Showing 1 of 11 files from the diff.

@@ -207,13 +207,13 @@
Loading
207 207
    return ETA;
208 208
}
209 209
210 -
//' Simulate all the Latent Attribute Profile \eqn{\mathbf{\alpha}_c} in Matrix
211 -
//form
210 +
//' Simulate all the Latent Attribute Profile \eqn{\mathbf{\alpha}_c} in
211 +
//' Matrix form
212 212
//'
213 213
//' Generate the \eqn{\mathbf{\alpha}_c = (\alpha_{c1}, \ldots, \alpha_{cK})'}
214 -
//' attribute profile matrix for members of class \eqn{c} such that
215 -
//\eqn{\alpha_{ck}} ' is 1 if members of class \eqn{c} possess skill \eqn{k} and
216 -
//zero otherwise.
214 +
//' attribute profile matrix for members of class \eqn{c} such that 
215 +
//' \eqn{\alpha_{ck}} ' is 1 if members of class \eqn{c} possess skill \eqn{k}
216 +
//' and zero otherwise.
217 217
//'
218 218
//' @param K Number of Attributes
219 219
//'
@@ -263,8 +263,8 @@
Loading
263 263
//' Generate a sample from the
264 264
//'  \eqn{\mathbf{\alpha}_c = (\alpha_{c1}, \ldots, \alpha_{cK})'}
265 265
//' attribute profile matrix for members of class \eqn{c} such that
266 -
//\eqn{\alpha_{ck}} ' is 1 if members of class \eqn{c} possess skill \eqn{k} and
267 -
//zero otherwise.
266 +
//' \eqn{\alpha_{ck}} ' is 1 if members of class \eqn{c} possess skill \eqn{k} 
267 +
//' and zero otherwise.
268 268
//'
269 269
//' @param N      Number of Observations
270 270
//' @param K      Number of Skills
@@ -316,7 +316,7 @@
Loading
316 316
        probs_ = Rcpp::as<arma::vec>(probs);
317 317
318 318
        // Verify length is okay.
319 -
        if (probs_.n_elem != (int)nClass) {
319 +
        if (probs_.n_elem != nClass) {
320 320
            Rcpp::stop("`probs` must have %s elements instead of %s.", nClass,
321 321
                       probs_.size());
322 322
        }
Files Coverage
src 87.21%
inst/include/simcdm_RcppExports.h 0.00%
Project Totals (4 files) 83.45%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
    patch:
10
      default:
11
        target: auto
12
        threshold: 1%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading