Description Usage Arguments Value See Also
diagnosis is a generic function. For details, see
diagnosis.MT, diagnosis.MTA,
diagnosis.RT or general_diagnosis.MT.
1  | diagnosis(unit_space, newdata, threshold, includes_transformed_newdata)
 | 
unit_space | 
 Object generated as a unit space.  | 
newdata | 
 Matrix with n rows (samples) and p columns (variables). The data are used to calculate the desired distances from the unit space. All data should be continuous values and should not have missing values.  | 
threshold | 
 Numeric specifying the threshold value to classify each
sample into positive (  | 
includes_transformed_newdata | 
 If   | 
A list containing the following components is returned.
distance | 
 Vector with length n. Distances from the unit space to each sample.  | 
le_threshold | 
 Vector with length n. Logical values indicating the
distance of each sample is less than or equal to the
threhold value (  | 
threshold | 
 Numeric value to classify the sample into positive or negative.  | 
unit_space | 
 Object passed by   | 
n | 
 The number of samples for   | 
q | 
 The number of variables after the data transformation.  | 
x | 
 If   | 
diagnosis.MT, diagnosis.MTA, and
diagnosis.RT
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.