similar to: matlab-like constant matrix initialization?

Displaying 20 results from an estimated 10000 matches similar to: "matlab-like constant matrix initialization?"

2009 Mar 03
2
R - MATLAB apply like function
Dear all, I very often use the R function "apply", for speedup purposes. I am now also using MATLAB, and would like to use the same kind of function. I have already asked MATLAB people, and the answer is : "vectorize"... but of course, this is not always possible. So, instead of using a FOR loop all the time, I tried using the bsxfun. So you R people, who might also use MATLAB,
2009 Sep 30
1
Is there a R function that can do similar things like 'pdist' in Matlab?
Hi, I want to compute the pairwise correlation for about 10,000 genes. In Matlab there is a function called 'pdsit' that can do this very efficiently. I am wondering is there a similar function in R? Thanks, RT Ye.
2013 Nov 13
3
[LLVMdev] How to reduce the footprint of MDNodes? (About the comment you made at BOF LTO)
On Nov 12, 2013, at 1:28 PM, Chandler Carruth <chandlerc at google.com> wrote: > On Mon, Nov 11, 2013 at 11:29 PM, Chris Lattner <clattner at apple.com> wrote: > Hi Manman (and llvmdev), > > I filed these two bugs to track the ideas that I was cooking: > > http://llvm.org/bugs/show_bug.cgi?id=17891 > http://llvm.org/bugs/show_bug.cgi?id=17892 > > TL;DR:
2001 Feb 07
1
[Fwd: RedHat 7.0, Wine en Matlab: een fontprobleem??]
Beste, ik heb getracht om Matlab (versie 6.0.0.88 Release 12 op Win98 op aparte partitie op mijn hd) mbv wine te draain op mijn RedHat 7.0. Het betreft codeweavers-wine, versie 20010112. Matlab start heel fijn op, wine spuwt een proces of 15 en vreet zowat al mijn geheugen op maar voor de rest lijkt hij wel te werken. (Andere applicaties zoals notepad, wordpad, freecell, etc werkten perfect..)
2013 Nov 13
0
[LLVMdev] How to reduce the footprint of MDNodes? (About the comment you made at BOF LTO)
On Tue, Nov 12, 2013 at 4:14 PM, Chris Lattner <clattner at apple.com> wrote: > I'm moderately opposed to just encoding these in a string format. I think > we can do something substantially better both for space, time, and > readability. Fundamentally, there is no reason for the original metadata > node you describe to not *encode* its operands into a dense bit-packed blob
2003 Jan 16
3
Announce: pmg -- menu driven GUI using RGtk
Hello all, I've put together a quick and dirty menubar + dialogs + spreadsheet GUI for R using the RGtk package. Performance is not great (OOP is a real memory hog?), the design may be worse, but the hope is that it will be useful in an introductory stats course while we await the arrival of a real gui with ObveRsive and SciViews. The package can be found at
2003 Jan 16
3
Announce: pmg -- menu driven GUI using RGtk
Hello all, I've put together a quick and dirty menubar + dialogs + spreadsheet GUI for R using the RGtk package. Performance is not great (OOP is a real memory hog?), the design may be worse, but the hope is that it will be useful in an introductory stats course while we await the arrival of a real gui with ObveRsive and SciViews. The package can be found at
2007 Feb 15
4
R book advice
I'm looking for a book for someone completely ignorant of statistics who wishes to learn both statistics and R. I've found three possibilities, one by Verzani ("Using R for Introductory Statistics"), one by Crawley ("Statistics: An Introduction using R"), and one by Dalgaard ("Introductory Statistics with R"). Do these books have different emphases,
2010 Oct 17
4
Variable name as string
Hello, from Verzani, simpleR (pdf), p. 80, I created the following function to test the coefficient of lm() against an arbitrary value. coeff.test <- function(lm.result, var, coeffname, value) { # null hypothesis: coeff = value # alternative hypothesis: coeff != value es <- resid(lm.result) coeff <- (coefficients(lm.result))[[coeffname]] # degrees of freedom = length(var) -
2006 Dec 22
2
Pb with R.matlab
Hello, I have problems running the R.matlab package. I work with R 2.3.1, under windows (using the Rgui). It seems that, even after loading the package, the "simple" functions such as writeMat() or readMat() are not recognized. For example, the following script leads to an error: > install.packages("R.matlab") --- Please select a CRAN mirror for use in this session ---
2004 Apr 22
1
New version of benchmark comparing R with other software
Hello, Thanks to Douglas Bates, there is now a new benchmark suite (version 2.3) which is compatible with R 1.9.0 and the recent Matrix library (0.8-1 or above). You find it at http://www.sciviews.org/other/benchmark.htm. It compares R 1.9.0 under Windows with: S-PLUS 6.5, Matlab 6.0, O-Matrix 5.6, Octave 2.1.42, Scilab 2.7 and Ox 3.30. In short, R in its version 1.9.0 and with the new Matrix
2007 Feb 15
2
simpleR or usingR package by Verzani
I am a new R user and so I thought I could start with "Using R for Introductory statistics" by Verzani. In order to use some of the functions and datasets I have to install the simpleR package which is is now inside the UsingR package. I did so using >install.packages("UsingR"). However, the functions such as "simple.freqpoly.R" do not work. I also tried to
2019 Feb 22
2
new Centos server install yum dependancy error
> Am 22.02.2019 um 14:43 schrieb Voytek Eymont via dovecot <dovecot at dovecot.org>: > > > > On Sat, February 23, 2019 12:31 am, Gerald Galster via dovecot wrote: >> Hello Voytek, >> >> >> the *-devel packages include header files that are only needed if you >> want to compile something, they are not needed for running a dovecot >>
2006 Dec 07
2
need to transfer data from old php like db to rails style db
hey all, I have two tables like that from an old php project: artists(id,name) albums(id,artist_id,album_name) and I need to transfer the data of this database to three tables that look like this: artists(id,name) albums(id,name) artists_albums(album_id,artist_id) any idea what''s the fastest query to do this? thanx in advance Pat --~--~---------~--~----~------------~-------~--~----~
2008 Jul 29
2
R command history -- can it be like Matlab's?
Hi all, In R GUI window, if you use "up" and "down" key, you will be able to recall the previous and next command that has been used and stored in the command history cache. But there is one inconvenience: In Matlab, you can type the first a few characters of the command that you previously used, and then press ?up" key, you will be able to get to that previous
2003 Oct 17
3
Strange behaviour
As an absolute beginner I'm reading and practicing with the Verzani doc to learn R. Now, being an expert latex user who wants to integrate graphical capabilities if R and latex, using the "Simple" library and the simple.scatterplot examples I had a go at: 1) Including the resulting graph into a doc.snw then compiled through sweave & latex; 2) Produce the graph in pdf format
2008 Feb 12
1
gWidgets process management
Hello, I'm trying to make a graphical interface for an R function I've written. A common use for the function is to call it with specific parameters, and then watch the output as it evolves. There's not necessarily a logical stopping point, so I usually use ctrl-C when I'm done to stop it. I've made a gWidgets interface to the function that gets some user info and then on a
2002 Jun 12
3
How does R compares for speed?
Hi, For those who are interested, I have update my R benchmark (to version 1.5.0) and also to Splus 6. They are available at: http://www.sciviews.org/other/benchmark.htm. A comparison is made between Matlab (5.3 & 6), R 1.5.0, Splus 6 rel 2, O-Matrix 5.1, Octave 2.1.31, Scilab 2.6, Rlab 2.1 and OX 3.00 under Windows 2000 pro. Overall, R is not the fastest package, but it is one of the
2006 Oct 17
4
Book recommendation for newbie to stats and R?
I'm trying to learn statistics and R at the same time. I have an undergraduate science degree and one year of calculus (30 years ago), but never took a stats course. I hope to take some stats courses in the next year, but thought I would start to see how much I could teach myself. I work for an organization that analyses behavior change communication programs regarding HIV/AIDS and
2001 Jul 25
2
pch with plot and legend
I'm trying to plot a scatterplot of two variables using pch to plot different characters based on a third factor. Here is my example > data("ToothGrowth") > attach(ToothGrowth) > levels(supp) [1] "OJ" "VC" > plot(len ~ dose,pch=as.numeric(supp)) > legend(locator(1),pch=as.numeric(supp),legend=levels(supp)) The command as.numeric(supp) returns 2 2