DeltaB2pc: Identification of equispaced central points

DeltaB2pcR Documentation

Identification of equispaced central points

Description

Given the effect Δ^TB\in\textbf{R}^{1\times 2} of a change Δ\in\textbf{R}^k in the vector of covariates x\in\textbf{R}^k on the linear predictor x^TB\in\textbf{R}^{n\times 2}, it computes the set of points that makes the curves of the field equally spaced.

Usage

DeltaB2pc_cat3logit(DeltaB, n = 8, edge = 0.01)

DeltaB2pc_cat3logit_dim1(DeltaB, n, edge)

DeltaB2pc_cat3logit_dim2(DeltaB, n, edge)

DeltaB2pc_cat3logit_dim3(DeltaB, n, edge)

DeltaB2pc_ord3logit(DeltaB, alpha, n = 8, edge = 0.01)

Arguments

DeltaB

either a matrix Δ^TB\in\textbf{R}^{1\times 2} or a vector of length 2, if the model is categorical; otherwise a matrix Δ^TB\in\textbf{R}^{1\times 1} or a numeric, if the model is ordinal.

n

number of points (curves of the field).

edge

width of the border of the ternary plot.

Value

A named list with three components:

status

a character which may be either equal to "p0" or "pc". The former value ("p0") is taken when the point is the origin of the curve, whereas the latter ("pc") means that the point is over the curve, and the origin should be computed (see pc2p0).

fo

the filter of the sides where the field originates from.

pp

a list of ternary coordinates.

Examples

plot3logit:::DeltaB2pc_cat3logit(c(0.3, 0.7))
plot3logit:::DeltaB2pc_ord3logit(0.12, c(-0.2, 0.1))


plot3logit documentation built on July 19, 2022, 9:07 a.m.