Commit ae4afa7a authored by Jean-Karim Heriche's avatar Jean-Karim Heriche
Browse files

Documented missing conv and iter in output from jrmpc(). Replaced warning()...

Documented missing conv and iter in output from jrmpc(). Replaced warning() with message() in locs_from_csv().
parent ee328229
......@@ -194,4 +194,4 @@ get_kernel_matrix <- function(Diag = NULL, method = c("sWd", "pssk"), return.dis
}
on.exit(parallel::stopCluster(cluster))
return(K)
}
\ No newline at end of file
}
......@@ -22,7 +22,7 @@ locs_from_csv <- function(file = NULL,
locprec.filter = 0,
locprecz.filter = 0) {
# points <- read.csv(file, header = TRUE, stringsAsFactors = FALSE)
warning(paste0("Reading file ", file, "\n"))
message(paste0("Reading file ", file, "\n"))
points <- data.table::fread(file, header = TRUE, stringsAsFactors = FALSE)
colnames(points) <- sub("^xnm$", "x", colnames(points))
colnames(points) <- sub("^ynm$", "y", colnames(points))
......
......@@ -711,6 +711,8 @@ q2r <- function(q) {
#' \item M: centres of the GMM,
#' \item S: variances of the GMM.
#' \item a: list of posterior probabilities as N x K matrices
#' \item iter: number of iterations
#' \item conv: error value used to evaluate convergence relative to tol
#' }
#' @export
......
......@@ -60,6 +60,8 @@ a list of
\item M: centres of the GMM,
\item S: variances of the GMM.
\item a: list of posterior probabilities as N x K matrices
\item iter: number of iterations
\item conv: error value used to evaluate convergence relative to tol
}
}
\description{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment