search for: minkowski

Displaying 12 results from an estimated 12 matches for "minkowski".

2011 Apr 18
3
how to extract options for a function call
...ANN") in the optim function. So I would like to have a vector with c("Nelder-Mead", "BFGS", "CG", "L-BFGS-B", "SANN") Or for instance the 'method' in the dist function can be supplied with euclidian,maximum,manhatten, canberra,binary,minkowski. Is there someway to extract this so I would have a vector with c("euclidian","maximum","manhatten", "canberra","binary","minkowski"). Thanks
2004 Sep 12
2
mahalanobis distance
Is there a function that calculate the mahalanobis distance in R . The dist function calculates "euclidean"', '"maximum"', '"manhattan"', '"canberra"', '"binary"' or '"minkowski"'. Thanks ../Murli
2011 Jun 15
5
Config file semantics.
Personally, I find that indenting config files by 3 spaces has a lot of advantages to indenting them by 4 spaces although conventional wisdom might suggest otherwise. Who's with me on this?
2006 Mar 08
1
function gdist, dist and vegdist in mvpart
...This works fine. Now I would like to use other dissimilarity measures as can be found in the function dist (STATS) or vegdist (VEGAN). De'Ath notes that gdist should be interchangeable with dist - but I receive following error message: > fit21 <- mvpart(dist (ba12[,18:29], meth="minkowski", diag=T, upper=T p=2) ~ beers + slope_dem + elev_dem+ plc_dem + pr_curv+ curv+max_depth+doc_rocks+ abandon+land_use+ca_old, data=ba12, xv="p") Error in model.frame(formula, rownames, variables, varnames, extras, extranames, : Variable lengths differ When comput...
2013 Jan 01
11
redes pathfinder
Estimados compañeros estoy con un trabajo sobre redes pathfinder y quería saber si conocéis alguna librería o función para dada la matriz de proximidades sacar la matriz de la red pathfinder. Un cordial saludo y un mejor año 2013. Juan -- ========================================================= Juan Antonio Gil Pascual Prof. Titular de Metodología Cuantitatíva correo: jgil en edu.uned.es
2006 Apr 03
2
about arguments in "bclust"
Hi All, Just want to make sure, in function "bclust", do the following argument only have one option? argument "dist.method" has one option "Euclidian"; argument "hclust.method" has one option "average"; argument "base.method" has one option "kmeans". Thank you! [[alternative HTML version deleted]]
2007 Sep 02
1
buglet in dist() ?
the first line of dist() says if (!is.na(pmatch(method, "euclidian"))) shouldn't that be "euclidean" ? --------------------- R version 2.5.1 (2007-06-27) i486-pc-linux-gnu locale:
2013 Dec 12
2
method default for hclust function
I could not figure out what was the default when I ran hclust() without specifying the method. For example: I just have a code like: hclust(dist(data)) Any input would be appreciated:) [[alternative HTML version deleted]]
2012 Oct 01
6
nlme: spatial autocorrelation on a sphere
I have spatial data on a sphere (the Earth) for which I would like to run an gls model assuming that the errors are autcorrelated, i.e. including a corSpatial correlation in the model specification. In this case the distance metric should be calculated on the sphere, therefore metric = "euclidean" in (for example) corSpher would be incorrect. I would be grateful for help on how to
2004 Apr 12
1
R 1.9.0 is release
...quot;difftime" objects now handles arrays. o dir.create() is now an internal function (rather than a call to mkdir) on Unix as well as on Windows. There is now an option to suppress warnings from mkdir, which may or may not have been wanted. o dist() has a new method to calculate Minkowski distances. o expand.grid() returns appropriate array dimensions and dimnames in the attribute "out.attrs", and this is used by the predict() method for loess to return a suitable array. o factanal(), loess() and princomp() now explicitly check for numerical inputs; they might...
2004 Apr 12
1
R 1.9.0 is release
...quot;difftime" objects now handles arrays. o dir.create() is now an internal function (rather than a call to mkdir) on Unix as well as on Windows. There is now an option to suppress warnings from mkdir, which may or may not have been wanted. o dist() has a new method to calculate Minkowski distances. o expand.grid() returns appropriate array dimensions and dimnames in the attribute "out.attrs", and this is used by the predict() method for loess to return a suitable array. o factanal(), loess() and princomp() now explicitly check for numerical inputs; they might...
2010 Jul 18
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * allan (1.0) Alan Lee http://crantastic.org/packages/allan Automates Large Linear Analysis Model Fitting * andrews (1.0) Jaroslav Myslivec http://crantastic.org/packages/andrews Andrews curves for visualization of multidimensional data * anesrake (0.3) Josh Pasek http://crantastic.org/packages/anesrake This