Exported functions
This commit is contained in:
parent
99046842e6
commit
8989696dd1
3 changed files with 7 additions and 4 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue