Displaying 20 results from an estimated 300 matches similar to: "cp2tform equivalent"
2018 Jan 18
3
request for code
Hi,
I want to convert my MATLAB programs to R studio programs.
Kindly guide on the same.
[[alternative HTML version deleted]]
2018 Jan 18
0
request for code
> On Jan 18, 2018, at 7:49 AM, Anjali Karol Nair <anjali232 at gmail.com> wrote:
>
> Hi,
>
> I want to convert my MATLAB programs to R studio programs.
> Kindly guide on the same.
Hi,
Using Google with a search phrase such as "MATLAB to R" will yield a number of possible resources for you such as:
http://www.math.umaine.edu/~hiebeler/comp/matlabR.pdf
which
2011 Nov 26
5
cumsum in 3d arrays
Hello!
Is it posible to apply /cumsum()/ along the 3rd dimension of 3D array?
Something like matrlab function - /cumsum (*A*,dim)/ which returns the
cumulative sum of the elements along the dimension of *A* specified by
scalar dim.
Thanks in advance
?eljka
--
View this message in context: http://r.789695.n4.nabble.com/cumsum-in-3d-arrays-tp4110470p4110470.html
Sent from the R help mailing
2012 Jul 02
1
error to convert a Compute A^-1 B from Matlab to R using solve(A, B)
Dear Researchers,
I need to convert the following equation in R from Matlab
a = [x y ones(size(x))];
b = [-(x.^2+y.^2)];
a\b
ans =
-9.9981
-16.4966
-7.6646
my solution in R is:
a = cbind(x,y,rep(1,length(x)))
b = cbind(-(x^2+y^2))
> head(a)
x y
[1,] 14.45319 5.065726 1
[2,] 14.99478 5.173893 1
[3,] 14.64158 5.616916 1
[4,] 14.61803 6.624069 1
[5,] 14.19997
2012 Jun 21
1
R function similar to gradient function in Matlab?
Hi,
I am trying to convert some Matlab code into R for running some
experiments and I was wondering if there is some function in R which
does the work of the gradient function in Matlab calculating the
"gradient" of 1-, 2- and 3-d images. I only need the 3-d calculations
for running these experiments.
Many thanks and best wishes,
Ranjan
2012 May 06
2
Translation of matlab vectors code into r
Hi there
I am new user of r, i would need some help to translate som code for vectors
in matlab to r. I have managed to translate the first 7 rows, but not the
rest. Could anyone give me any suggestions for this problem??
Matlab code:
tempo=[];
temps=[];
tempn=[];
tempao=[];
tempas=[];
tempan=[];
for k=1:5
tempo = [tempo n_o(k,:)];
temps = [temps n_s(k,:)];
tempn = [tempn
2013 Mar 14
3
Equivalent of deal in R?
HI, I'm looking for a function that does the same as deal() in MATLAB, i,e,
for an array x[1 2 3]
[a,b,c]=x;
such that
a=1, b=2, c=3
Does R have any functions similar to this?
[[alternative HTML version deleted]]
2009 Sep 05
3
Selecting biological data
Hello all,
I am new to R but have some experience with MATLAB and am trying to make the switch. I generally find the two languages easy to adapt but there are a few routine tasks which I would like to run smoother in R and I am having trouble finding a help resource. Could someone suggest a guide to filtering, selecting, sorting, and processing biological matrix data? Here is a rudimentary
2011 Jan 28
3
any similiar R fuction for matlab function 'fprintf'?
Dear All,
Currently, I am translating Matlab code to R. I met difficulties to translate such Matlab codes into R:
fprintf(fid,(' SPLITTING RESULTS '));
fprintf(fid,(' \n'));
fprintf(fid,' Data base to analyze is a matrix %4i x %2i ',[n m]);
fprintf(fid,' \n');
fprintf(fid,' h is %2i',h);
fprintf(fid,' \n');
fprintf(fid,' group=0
2009 Jul 03
2
Deos anyone know of a summary of conformability rules? along with a specific problem
The rules for conformability of objects required for various operators remain a mystery as do some related problems like the rules for recycling in creating arrays etc. Would someone be able to direct me to where such rules are stated?
In a related vein, there are all manner of operations that are readily coded in Gauss or in MATA that fail, often mysteriously, in R. Are there some
2011 Feb 24
2
how to plot equalprobable error ellipse?
hi,R users,
Now I have some scatter figures, is there some method can plot equalprobable
error ellipse ?
--
TANG Jie
Email: totangjie@gmail.com
Tel: 0086-2154896104
Shanghai Typhoon Institute,China
[[alternative HTML version deleted]]
2013 Nov 19
4
r Y MATLAB
Gracias a todos, lo que sucede es que nos visitará un colombiano matemático
experto en ecuaciones diferenciales y tiene todo su expertise en matlab lo
que haríamos ahora es llevar directamente las fórmulas matemáticas a R,
Muchas gracias a todos
-----Mensaje original-----
De: r-help-es-bounces en r-project.org [mailto:r-help-es-bounces en r-project.org]
En nombre de Isidro Hidalgo
Enviado el:
2007 Jun 26
4
Looking for parallel functionality between Matlab and R
I'm slowly moving my statistical analysis from Matlab to R, and find myself
missing two features:
a) How do I mimic Matlab's 'hold on'? (I want to show several plots
together, when I type two plots one after the other the second overwrites
the first)
b) How do I mimic Matlab's 'axis'? (after drawing my plots I want to zoom on
specific parts- for example, x=0:5,
2010 Aug 03
4
hi!!! guestion!!
I made some matlab codes...
Is there any method to perform matlab codes in R program??
--
View this message in context: http://r.789695.n4.nabble.com/hi-guestion-tp2311219p2311219.html
Sent from the R help mailing list archive at Nabble.com.
2010 Jun 20
1
Connect to server
Hi,
I am aware that this question might be a basic one.
I did browse the help and archives but I still haven't understood
how to do the following:
I run R locally and would like to read in data from a server
for which there is a username and password. That is,
how do I open a connection to a server with a password?
Thanks,
Hadassa
--
Hadassa Brunschwig
PhD Student
Department of Statistics
2010 Oct 27
1
Help extracting the source of functions
Hi there - I am new to R, so perhaps this is an old question. I am looking
to find the source code for the wald.test function so I can tune it for my
own needs. Where do I find it? I do not want to change wald.test. Rather,
I want to find it and make a new function, say wald.test.new.
thanks
Andrew Martin
University of Delaware
[[alternative HTML version deleted]]
2010 Nov 16
1
Breslow-Day test
Dear R Users,
I'm looking for a package that allows to test hypothesis about a
homogeneity of odds ratio in k 2x2 tables. I know that Breslow-Day is
suitable but does anybody could me point out a package? I found diffR,
but as far as I see this package is for IRT theory.
Best,
Robert
2011 Mar 11
3
robust estimation
Hi,
I have been looking through all packages but I cannot find a routine for
LAD-regression (L1-norm-regression).
Is there none?
Willi
2012 Feb 05
1
R- Fisher Information
Dear All,
Can you help me, with the code below how do I obtain the fisher information from it.
Is my q<-replicate(1000,x) the right way to do simulation.
thank you.
x<-rweibull(100,0.8,1.5)
q<-replicate(1000,x)
z<-function(p){
beta<-p[1]
eta<-p[2]
log1<-(n*log(beta)-n*beta*log(eta)+(beta-1)*sum(log(x))-sum((x/eta)^beta))
return(-log1)
}
zz<-optim(c(0.5,0.5),z)
zz
Chris
2011 Mar 24
1
Colour makes my life; but not my bwplot (panel.violin)
Using Trellis, am successfully setting up a number of panels (25) in which I
have two box and violin plots.
I would like to colour - one plot as RED and the other as BLUE (in each
panel). I can do that with the box plots, but the violin density areas just
take on one colour.
My basic call is as follows:
bwplot(rmsd ~ file | code,
data=spread_data.filtered,
panel = function(...,