r_ml_wrapper {latentcor}R Documentation

Port function to call multilinear interpolants for continuous developers.

Description

Port function to call multilinear interpolants for continuous developers.

Usage

r_ml_wrapper(K, zratio1, zratio2, comb)

Arguments

K

Kendall's tau, can be provided as a number or a vector for interpolation in batch.

zratio1

zratio for first variable. NA for continuous variables, zeros proportions for binary, truncated variables. For ternary variables, a vector of proportion of zeros as first element, proportions of zeros and ones as second element. It can be provided as a vector (matrix) for interpolation in batch. See vignettes for detail.

zratio2

zratio for second variable. NA for continuous variables, zeros proportions for binary, truncated variables. For ternary variables, a vector of proportion of zeros as first element, proportions of zeros and ones as second element. It can be provided as a vector (matrix) for interpolation in batch. See vignettes for detail.

comb

Numeric code for types: "10" for binary/continuous; "11" for binary/binary; "20" for truncated/continuous; "21" for truncated/binary; "22" for truncated/truncated; "30" for ternary/continuous; "31" for ternary/binary; "32" for ternary/truncated; "33" for ternary/ternary.

Value

A number or vector of interpolation results.


[Package latentcor version 2.0.1 Index]