Displaying 20 results from an estimated 2000 matches similar to: "R function for Woody Average (Average with alignment)?"
2006 May 08
3
Non repetitive permutations/combinations of elements
Hello all,
I am trying to create a matrix of 1s and -1s without any repetitions for a
specified number of columns.
e.g. 1s and -1s for 3 columns can be done uniquely in 2^3 ways.
-1 -1 -1
-1 -1 1
-1 1 -1
-1 1 1
1 -1 -1
1 -1 1
1 1 -1
1 1 1
and for 4 columns in 2^4 ways and so on.
I finally used the function combn([0 1],3) that I found at the following link
2007 Aug 06
0
KMO sampling adequacy and SPSS -- partial solution
Hello,
This is in response to a post from a couple of years back regarding
Kaiser-Meyer-Olkin Measures of Sampling Adequacy.
(http://tolstoy.newcastle.edu.au/R/help/05/12/17233.html)
As it turns out, last year Trujillo-Ortiz et al. at the Universidad
Autonoma de Baja California wrote and posted a script for MATLAB that
does the job. You can see it (with a discussion of KMO statistics) at
2011 Mar 25
0
Bounding ellipse for any set of points
After a lot of effort I developed the following function to compute the
bounding ellipse (also known a as minimum volume enclosing ellipsoid) for
any set of points. This script is limited to two dimensions, but I believe
with minor modification the algorithm should work for 3 or more dimensions.
It seems to work well (although I don't know if can be optimized to run
faster) and
2011 Jul 21
0
Bounding ellipse for any set of points
The mvee() function is intended to be released under the BSD license.
Copyright (c) 2009, Nima Moshtagh
Copyright (c) 2011, Andy Lyons
All rights reserved.
http://www.opensource.org/licenses/bsd-license.php
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must
2011 Aug 26
0
Problem in calling R functions from Matlab
Hi,
I wish to use R (version 2.13.1)?from within Matlab(ver R2009a) on windows XP plaform (on both 64 bit and 32 bit OS) . For this I have installed StatConnector (http://rcom.univie.ac.at/download/current/statconnDCOM.latest.exe) for calling R from within Matlab (R2009a) on Windows XP platform. I have added all the files of MATLAB_RLINK folder (downloaded from
2004 Jan 20
1
evaluation of discriminant functions+multivariate homosce dasticity
While I don't know anything about Box's M test, I googled around and found a
Matlab M-file that computes it. Below is my straight-forward translation of
the code, without knowing Matlab or the formula (and done in a few minutes).
I hope this demonstrates one of Prof. Ripley's point: If you really want to
shoot yourself in the foot, you can probably program R to do that for you.
[BTW:
2012 Jul 02
0
Fit circle with R
Dear Researchers,
I wrote two function to fit a circle using noisy data.
1- the fitCircle() is derived from MATLAB code of * zhak Bucher* from the
link
http://www.mathworks.com/matlabcentral/fileexchange/5557-circle-fit/content/circfit.m
2- the CircleFitByPratt() from MATLAB code of *Nikolai Chernov *from the
link
2007 Aug 14
1
File Exchange?
Hi,
I've been using R for a number of years, and must say I really like it. This
past summer, however, I started using MatLab for a course at school and
found the file exchange it has (
http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do) to be
extremely useful.
I know that R has packages that people share, and that there's also RForge
for more advanced tools... But is
2011 Aug 15
2
temporal disaggregation
Dear R-users,
I have an anual info of gross product and I would like to disaggregate
to trimestral data.
Can I import a matlab library of Quilis? (
http://www.mathworks.com/matlabcentral/fileexchange/24438-temporal-disaggregation-library
)
Thanks,
Sebasti?n.
2010 Jul 05
2
r code exchange site?
Does there exist a site where snippets of r code examples can be deposited,
such as the one that exists for matlab?
http://www.mathworks.com/matlabcentral/fileexchange/
ps
I also noted from the main r site
http://www.r-project.org/
when you click on the nabble link under the search link, I end up here
http://e-nvf.vvvay.net/-td13672.html#a13819
which I don't think is anything to do with
2011 Jan 10
1
Cosinor en R
Hola a todos,
es la primera vez que escribo a la lista, espero explicarme correctamente.
Trabajo en cronobiología de mamíferos y quiero comenzar a analizar mis datos
con R (haciendo análisis de varianza ya llevo unos años en el entorno). Me
interesa saber si cada una de mis variables podría ajustarse a una función
sinusoidal; tengo medidas cada dos horas para cada una. Querría extraer el
mesor y
2009 Mar 09
0
Usar R desde Matlab
Hola,
He estado utilizando un paquete en Matlab para llamar a R (
http://www.mathworks.com/matlabcentral/fileexchange/5051 ). Es muy sencillo
y en cinco minutos he conseguido ejecutar funciones de R. Basta con instalar
este paquete en el directorio de trabajo y podremos ver unas funciones para
enviar variables a r y trabajar desde matlab. Un ejemplo sería este:
>> openR
>> a =
2011 Aug 15
3
desagregación temporal
Estimados usuarios de R:
Tengo que hacer una desagregación temporal de una serie anual del
producto interno bruto en trimestral.
¿Hay alguna forma de utilizar la librería en matlab de Quilis de
desagregación temporal en R?
La libreria se puede bajar de
http://www.mathworks.com/matlabcentral/fileexchange/24438-temporal-disaggregation-library
Saludos,
Sebastián.
2011 Feb 14
2
How can I slightly offset plots?
Dear R help contributers,
I have several x,y scatter plots and I would like to plot them
slightly offset, similar to:
http://www.mathworks.com/matlabcentral/fx_files/24368/2/content/style4.jpg
I've looked all over for this answer with no luck.
Just a function name or previous example would probably be enough for
me to figure it out.
Thank-you in advance,
Carly
2011 Aug 30
1
execute R commands from Matlab
They seem to have a workaround. I don't know whether anything better is
available by now.
http://www.mathworks.com/matlabcentral/newsreader/view_thread/163726
HTH,
Daniel
sarak wrote:
>
> Is it possible for anyone to upload a youtube video showing how to execute
> R commands in Matlab , it's so vital for me ..
>
--
View this message in context:
2009 Aug 21
2
2d color coded line plot
Hi! I'm not experienced very experienced with R and i'm looking for a
way doing plots like in this example
http://www.mathworks.de/matlabcentral/fx_files/23566/2/color_line3.png,
which basically it is a 2d plot in which the 3rd dimension (variable) is
color coded. I have only seen elsewhere that it is possible to color
code dots in a scatter plot and I tried it with success although I
2019 Oct 11
1
New matrix function
Also note that the functionality discussed could be regarded as a generalization
of matrix multiplication where * and + are general functions and in this case
we have * replaced by == and + replaced by &.
On Fri, Oct 11, 2019 at 10:46 AM Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
>
> Using the example in the link here are two one-liners:
>
> A <-
2019 Oct 11
3
New matrix function
On Fri, 11 Oct 2019 10:45 Duncan Murdoch, <murdoch.duncan at gmail.com> wrote:
> On 11/10/2019 6:44 a.m., Morgan Morgan wrote:
> > Hi All,
> >
> > I was looking for a function to find a small matrix inside a larger
> matrix
> > in R similar to the one described in the following link:
> >
> >
>
2019 Oct 11
7
New matrix function
Hi All,
I was looking for a function to find a small matrix inside a larger matrix
in R similar to the one described in the following link:
https://www.mathworks.com/matlabcentral/answers/194708-index-a-small-matrix-in-a-larger-matrix
I couldn't find anything.
The above function can be seen as a "generalisation" of the "which"
function as well as the function described
2019 Oct 11
0
New matrix function
Thanks for this interesting suggestion, Morgan. While there is no strict
criteria for base R inclusion, one criterion relevant in this case is that
the usefulness of a feature be proven in the package space first.
Michael
On Fri, Oct 11, 2019 at 5:19 AM Morgan Morgan <morgan.emailbox at gmail.com>
wrote:
> On Fri, 11 Oct 2019 10:45 Duncan Murdoch, <murdoch.duncan at gmail.com>