Exported functions

This commit is contained in:
Waldir Leoncio 2020-12-11 12:32:41 +01:00
parent 99046842e6
commit 8989696dd1
3 changed files with 7 additions and 4 deletions

View file

@ -18,6 +18,7 @@ export(initPopNames)
export(inputdlg) export(inputdlg)
export(isfield) export(isfield)
export(laskeMuutokset4) export(laskeMuutokset4)
export(learn_partition_modified)
export(learn_simple_partition) export(learn_simple_partition)
export(linkage) export(linkage)
export(logml2String) export(logml2String)
@ -47,6 +48,7 @@ export(times)
export(uigetfile) export(uigetfile)
export(uiputfile) export(uiputfile)
export(writeMixtureInfo) export(writeMixtureInfo)
import(utils)
importFrom(methods,is) importFrom(methods,is)
importFrom(stats,runif) importFrom(stats,runif)
importFrom(utils,read.delim) importFrom(utils,read.delim)

View file

@ -1,10 +1,11 @@
#' @title Learn partition (modified) #' @title Learn partition (modified)
#' @export
#' @param ordered ordered #' @param ordered ordered
#' @return part #' @return part
#' @description This function is called only if some individual has less than #' @description This function is called only if some individual has less than
#' 90 per cent non-missing data. The function uses fuzzy clustering for the #' 90 per cent non-missing data. The function uses fuzzy clustering for the
#' "non-missingness" values, finding maximum three clusters. If two of the #' "non-missingness" values, finding maximum three clusters. If two of the
#' found clusters are such that all the values are >0.9, then those two are #' found clusters are such that all the values are >0.9, then those two are
#' further combined. #' further combined.
learn_partition_modified <- function(ordered) { learn_partition_modified <- function(ordered) {
part <- learn_simple_partition(ordered, 0.05) part <- learn_simple_partition(ordered, 0.05)

View file

@ -13,9 +13,9 @@ learn_partition_modified(ordered)
part part
} }
\description{ \description{
This function is called only if some individual has less than This function is called only if some individual has less than
90 per cent non-missing data. The function uses fuzzy clustering for the 90 per cent non-missing data. The function uses fuzzy clustering for the
"non-missingness" values, finding maximum three clusters. If two of the "non-missingness" values, finding maximum three clusters. If two of the
found clusters are such that all the values are >0.9, then those two are found clusters are such that all the values are >0.9, then those two are
further combined. further combined.
} }