I can achieve mahalanobis distance value by the following codes however, I need to achieve mahalanobis distance matrix.
x
You can get the pairwise squared generalized Mahalanobis distance between all pairs of rows in a data frame, with respect to a covariance matrix, using the D2.dist() funtion in the biotools package.
require(biotools)
distD2
@ Figueroa
Thank you for your help!
Best regards
Kai
I use the Matching package, but this is for creating a matched treatment and control dataset for quasi-experimental design.
Please justify the statistical analysis conducted where a paired T-test was done. What’s the meaning of this sentence? Thank you for your help.
31 December 2017 897 5 View
#The following text are codes in R library(vegan)data(dune)dunedata(dune.env)dune.envresults
11 December 2015 1,872 10 View
benzos
11 December 2015 9,095 0 View
network meta-analysis
10 November 2015 5,185 5 View
Does anyone know of a module for the JAMOVI software that is capable of generating mean separations using the classic letters based on post hoc results (e.g., Tukey test)? If, as I believe, such...
31 July 2024 3,333 4 View
Hello. I have the geometry of a blade in CAD file (stp) and I want to prepare the blade for meshing with turboGrid. I must import this file into designModeler and then transfer to the...
27 July 2024 356 3 View
Dear Siesta Users, I installed Siesta 5.0.1 and I want to use Grimme's D3 correction. According to the 5.0.1 manual, I could use a few parameters to include the D3 correction in the...
27 July 2024 5,748 0 View
Hi everyone, I am working on a curved domain in which a ship is situated in the middle (geometry is given below). In my understanding the general fluid flow is parallel to the x axis from inlet to...
25 July 2024 9,058 4 View
We assume that there is a physico-statistical meaning to the constant π other than circular geometry, but the iron guardians of the Schrödinger equation deny this. The iron guardians of the...
22 July 2024 4,285 9 View
I am currently working on a mendelian randomization study, and I have downloaded the datasets needed from the ieu opengwas project (mrcieu.ac.uk) in .vcf format. I do not have access to an R...
19 July 2024 2,342 5 View
One of the papers I read by Toby, where (title of the paper was "R factors in Rietveld analysis: How good is good enough?"), he tells us that to get good chi square value, you must have low Rwp,...
17 July 2024 9,668 4 View
Let n∈ℕ, where the function f:A⊆ℝ𝑛→ℝ, 𝐴 is Borel, and (A,d) is a completely seperable space. What is the name of the functions where the graph of f in any (n+1)-dimensional box of A×ℝ is...
17 July 2024 258 1 View
We have developed an ODE model comprising 25 interrelated equations with common coefficients. This biochemical model, applied in wastewater treatment, is characterized by stiffness. Utilizing the...
06 July 2024 7,077 4 View
I ran PCA on 4 variables using the prcomp library. All variables were normalized to have a mean of zero and a standard deviation of one (z-score) before the PCA. prc 1 and I performed a varimax...
26 June 2024 6,792 1 View