Displaying 20 results from an estimated 3000 matches similar to: "equivalent function to MatLab 'step' ?"
2007 May 07
1
looking for equivalent of matlab's medfilt1 function
Dear all,
I have several files with Matlab code, which I am translating to R.
For the zero-level approach, I took the very old shell script from R-help
archives, which has made some obvious leg-work such as replacement of "="
with "<-".
Now I am translating indexing, matrix operations and function call using
this table
http://37mm.no/mpy/octave-r.html
The problem is, I
2009 Mar 10
2
R equivalent to MATLAB's "whos" Command?
By any chance is there an R equivalent to MATLAB's "whos" command?
I tried searching R and R-seek, but didn't really come up with anything.
There are several items I would like to make sure are stored in the workspace and check their values.
Thank you again for your help and any feedback.
> ?workspace
No documentation for 'workspace' in specified
2007 Jul 16
1
R equivalent to Matlab's Bayes net toolbox
Hi,
I'm attending summer School at UCLA (IPAM) on "probabilistics models of
cognition". I have been an R-user since v. 1.4.1, but was trained in the
frequentist tradition (as most psychologists!). I found that all faculty
here use matlab and Murphy's bayes net toolbox. I have not had the need to
use matlab before, and would love to stick to R for graphics models and
2012 Dec 22
4
Does R have an equivalent for Matlab's cell array?
Hi
I have a time series of measurements: every 10 min. a value was logged.
The data look like:
20100914 08:01 3.74
20100914 08:11 3.74
20100914 08:21 3.71
20100914 08:31 4.39
20100914 08:41 3.74
This data spans several months.
I would like to group the data per day. In Matlab it is fairly easy to
obtain a cell array, of which the first column contains the date of each
2009 Jan 30
1
Equivalent of Hold On MatLab Command
Does R have a graphic command equivalent of MatLab Hold On ?
I am trying to sabve on a pdf file a composite drawing. I first declare the canvas size, then I define the layout, finally I generate the 4 plots according to layout order. Eventually I close the pdf file (dev.off()).
The resulting PDF file contains 2 pages. The first one shows only the layout. The second one shows the whole
composite
2012 Apr 28
2
Equivalent of Nothing (in VBA) or [] in Matlab in R
Hi, I am very new to R so please excuse me if I am asking very obvious
questions.
I am trying to call a blackbox api function implemented in as a COM object
from R. The function definition says that
1. if calling from VBA, the first parameter should be set to "Nothing"
2. if calling from matlab, the first parameter should be set to []
What should be the equivalent for above in R?.
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,
2009 Jan 30
3
Matlab inv() and R solve() differences
I submit the following matrix to both MATLAB and R
x= 0.133 0.254 -0.214 0.116
0.254 0.623 -0.674 0.139
-0.214 -0.674 0.910 0.011
0.116 0.139 0.011 0.180
MATLAB's inv(x) provides the following
137.21 -50.68 -4.70 -46.42
-120.71 27.28 -8.94 62.19
-58.15 6.93 -7.89 36.94
8.35 11.17 10.42 -14.82
R's solve(x) provides:
261.94 116.22 150.92 -267.78
116.22 344.30 286.68
2002 Nov 25
3
Full enumeration, how can this be vectorized
Hi all,
I am currently using the code snippet below to minimize a function which I
wasn't able to minimize properly with optim (cliffy surface, constraints,
poles). Obviously this iteration is probably the poorest way of implementing
such a function and it is expectedly slow. I've already written some
vectorized functions, but I'm afraid that I'm missing the "big
2005 Jun 08
2
Converting code from MATLAB to R
Hi,
I'm having trouble converting code from MATLAB to R; I want to find the
equivalence to MATLAB's function 'fsolve'. I've tried 'nlm', on the
squared argument, in R but i did not get the same results.
Thankful if helped.
Best regards,
Martin Englund
------------------------------------------------------------------------------
This e-mail and any attachment may
2018 Feb 19
3
gbm.step para clasificación no binaria
Gracias Carlos. Hasta donde yo entiendo si las hay:
El argumento family puede ser:
"gaussian" (for minimizing squared error); por lo que tiene que ser numérica
"bernoulli" (logistic regression for 0-1 out-comes); binaria por narices
"poisson" (count outcomes; requires the response to be a positive
integer); numérica también, pues.
La única podría ser
2019 Dec 18
2
zentyal management
>
> Why ? I thought you set moodle to use ldaps against AD, so what do you
need zentyal for?
They installed zentyal and set up a DC to work online with moodle. Imagine
if our internet link goes down and students can't authenticate with moodle.
I say this because I work in a school in a city in the interior of my
state, and the connection is still a little precarious.
But the main
2009 Jun 30
2
Equivalent to Matlab's "Ans"
Hi everyone,
I was just wondering if there is an equivalent in R to the shortcut "Ans" in
MatLab whereby I can use the previous result for the current command? This
could save a lot of time when hacking in R itself, not from an editor.
Thanks,
Stephane
[[alternative HTML version deleted]]
2007 Nov 17
3
R and reading matlab compressed files
Is there any way to read these files (standard .mat files, created by
matlab version 7 onwards are compressed)? I know that R.matlab doesn't
read them (it even says in the file MatlabServer.m "Matlab v7 saves
compressed files, which is not recognized by R.matlab's readMat()" (lines
47-8)).
I know I should be able to make R call Matlab and transfer data (not that
I managed to
2005 Jun 29
2
an rpm howto question
I am in a precarious spot....
I run centos 4.0. I upgraded my mod_perl RPM to mod_perl 2.0.1. CGI.pm 3.10 (3.05 comes with centos 4.0) fixes some namespace issues with mod_perl vs mod_perl 2.0.1. I need to upgrade to it to 3.10. Yet that file belongs to the perl rpm that comes with centos.
What do people generally do in this type of situation?
Do I need to compile a new perl just to upgrade
2006 Nov 30
1
analog to the matlab buffer function?
Hello!
I am new to R. I could not find a function analogous to matlab's function buffer, which is used in signal processing. Is there such a function in R?
What I need to do is as follows. If I apply the function to the vector c(1:5) for example with a window length 3 and overlapping 2, I need to get a matrix like this:
1 2 3
2 3 4
3 4 5
In matlab this is achieved with the function buffer. Is
2003 Sep 04
2
laplace transform
Dear users,
is anybody of you aware of a R command to perform laplace transform or
even its inversion?
Thank you very much.
Luca
2015 Mar 24
2
[LLVMdev] RFC - Improvements to PGO profile support
> On Mar 24, 2015, at 12:08 PM, Xinliang David Li <davidxl at google.com> wrote:
>
> On Tue, Mar 24, 2015 at 10:54 AM, Bob Wilson <bob.wilson at apple.com> wrote:
>>
>>> On Mar 24, 2015, at 10:53 AM, Diego Novillo <dnovillo at google.com> wrote:
>>>
>>> On Tue, Mar 24, 2015 at 1:48 PM, Bob Wilson <bob.wilson at apple.com> wrote:
2018 Feb 19
3
gbm.step para clasificación no binaria
Hola de nuevo. Se me olvidaba la principal razón para utilizar
gbm.step del paquete dismo. Como sabéis, los boosted si sobreajustan
(a diferencia de los random forest o cualquier otro bootstrap) pero
gbm.step hace validación cruzada para determinar el nº óptimo de
árboles y evitarlo. Es fundamental.
La opción que me queda, Carlos, es hacerlo con gbm, pero muchas veces,
y usar el
2016 Sep 09
2
compiler-rt for arm-none-eabi targets
I'm trying to build compiler-rt for bare-metal arm-none-eabi targets. I
don't need any of the existing compiler-rt functionality(though the
builtin(s) may be nice). I want to extend it with custom functionality for
the arm-none-eabi targets.
Can anyone give me some pointers on how to go about doing this. I'm
currently doing a combined build of llvm, clang and compiler-rt for both