Displaying 20 results from an estimated 4000 matches similar to: "R to MATLAB translation"
2012 Dec 24
1
R and Matlab
Hi,
How can I call R functions or Package in MatLab?
Is there any way?
Thanks
Regards
Ranginkaman
[[alternative HTML version deleted]]
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
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
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 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:
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.
2009 Feb 18
1
alpha shape function
Hi all,
I want to approximate te shape of an area defined by a set of points.
The convex hull is not good enough, but I think that an alpha shape
would be fine. I did an RSiteSearch(), google search, RSeek.org search,
looked at the CRAN Views, but was unable do find a function in R that
computes the alpha shape. Does anyone know if there is such a function
in R?
Theank you very much.
Moacir
2010 Jan 07
1
adding 3D arrows to 3D plots
Greetings,
I would like to add 3D arrows (i.e. arrow-headed vectors linking X1Y1Z1 to X2,Y2,Z2) to a 3D plot; ideally the sort of plot that can be rotated interactively. Is this possible using plot3d, or another 3d plotter in R?
While it is easy to draw segments in plot3d (e.g. below), I haven't figured out how to add arrow heads, or to create 3d arrows from scratch.
##two headless
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
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:
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
2008 Mar 06
1
Rpart and bagging - how is it done?
Hi there.
I was wondering if somebody knows how to perform a bagging procedure on a
classification tree without running the classifier with weights.
Let me first explain why I need this and then give some details of what I
have found out so far.
I am thinking about implementing the bagging procedure in Matlab. Matlab
has a simple classification tree function (in their Statistics toolbox) but
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
2008 May 27
1
Small request.
This is (hopefully) a small request.
I routinely build (and test) both R versions from sources on my system
(WinXP). I would like to be sure that I have the current version of
Rtools. I always go to Robert Murdoch's site "Building R for Windows" and
check the latest news. Everything I need is explained there, except I
never know if I have the most recent version of Rtools.exe.
2003 Jun 24
1
Rcmdr active data set
Hi,
This seems a very basic problem, but I cannot seem to find the solution to
it.
I am trying to use Rcmdr on a data frame I created in my current R session.
More specifically, I did
x <- data.frame(matrix(0, ncol=3, nrow=5))
library(Rcmdr)
Now I would like to be able to edit, view and perhaps analyze x, but I
cannot seem to figure out how to make it active. Any hint will be welcome.
2007 Feb 23
3
mixture of 2 normals - starting values
Hi,
I have a problem of estimating a mixture of two normal distributions. I
need to find the starting points automatically, since this is a part of a
larger piece of image processing code.
I found the mix2normal1 function in VGAM package that mentions a method of
finding starting values for mu1 and mu2 but refers the reader to a book by
Everitt and Hand. Unfortunately, I do not have an easy
2002 May 01
0
coefficient of determination on a nls regression
Antonio,
For linear regression we have the following identity
total SS = regression SS + residual SS (*)
where total SS is the sum of squares of observations around their mean,
i.e.
total SS = (n-1)*var(y)
and residual SS is given by the deviance function.
R-squared is defined as
R^2 = regression SS/ total SS = 1 - residual SS/total SS.
You can use this last formula
2002 May 15
3
Processing "vignette" files
Is there any way to process the "vignette" documantation files?
I have been looking at the bioconductor packages and most of them have
*.Rnw files in doc directories. They look like regular TeX but have
sections showing R code that seem to choke TeX.
Thanks,
Andy
__________________________________
Andy Jaworski
Engineering Systems Technology Center
3M Center, 518-1-01
St. Paul, MN
2003 Mar 13
1
small error in regression tests
I just r-sync'ed the r-devel version of R-1.7.0 (2003-03-11), compiled it
under RH-8.0 and ran make check. The reg-tests-2 fails at the very end
with the message stating that "object cement was not found". It looks like
this piece of the regression test is new to version 1.7. The the piece of
code generating the error is:
if(require(MASS)) {
teststep <- function(formula,