similar to: Counting elements in 2 rows of a matrix

Displaying 20 results from an estimated 4000 matches similar to: "Counting elements in 2 rows of a matrix"

2002 Aug 27
1
2 questions about cluster analysis
Hello everyone! I have two questions regarding cluster analysis with the package 'cluster' : 1. I have a dissimilarity matrix in csv format, and I would like to use it to generate a dendogram using 'hclust'. How do I make that matrix compatible with the function? I think it has to be similar to the objects generated by the 'dist' function. Any ideas? 2. Does
2002 May 29
2
Problem installing packages
Dear R-experts, I'm a new R user and so far have no complains about ir. However I still can't figure out how to install packages. I'm running the R 1.5.0 (Carbon) under OS X. I just downloaded some packages from CRAN (Tree, among them) and moved them to the library folder in R. When the R session started, I was expecting that using the command library(tree) would do it, but
2010 May 08
1
Error in RImageJ
Hello everybody, I'm running R under Mac OS 10.6.3 on a MacBook 2.16 GHz Intel Core 2 Duo. I've recently installed R 2.11.0 and the RImageJ library v. 0.1-142. When trying to follow the example given in the package manual and I get the following error: download.file( "http://www.google.fr/intl/en_en/images/logo.gif", dest = "google.gif" ) trying URL
2006 Mar 21
3
transform shapefiles in UTM to lat/long
Dear all: I have a shapefile in UTM coordinate system and I would like to transform it to Lat/Log coordinates (WSG84). The package PBSmapping contains function convUL to transform between the two coordinate systems when data is in the form of a data frame with attributes specifying the coordinate system. However, when shapefiles are imported using function read.shape (package maptools), a list
2004 Feb 13
6
Building r-devel on Panther
I did: ./configure --with-blas='-framework vecLib' --with-lapack --with-aqua make sudo make install sudo make install-aqua Everything seems to be OK (some warnings about multiple definitions of some symbols). However: bass$ /Library/Frameworks/R.framework/Resources/bin/R Fatal error: unable to open the base package I got the same message when clicking on R.app in /Applications This
2002 Oct 10
4
Correspondence analysis/optimal scaling with ordinal variable
Dear R specialists, I have a multivariate statistics question that I want to submit to the R community (which conveys a very good statistical knowledge). I need to perform an optimal scaling based on a discrete variable and an ordinal variable. The discrete variable, Area, defines a geographical area. The ordinal variable, EducationLevel, describes the education level of individuals (the
2003 Oct 03
2
tseries
Has anyone successfully check/build tseries for MacOSX? It seems like there is the same problem with symbols duplications. The -m like option does not seem to help. stefano
2003 Oct 15
2
help.search in trouble with R-patched ?
...unless its me missing something... > help.search("prompt", agrep=F) Error: couldn't find function ".class1" > traceback() 12: initialize(value, ...) 11: initialize(value, ...) 10: new("ObjectsWithPackage", value, package = pkg) 9: metaNameUndo(unique(these), prefix = "M", searchForm = searchForm) 8: methods:::getGenerics(ns) 7:
2002 Oct 06
1
R-1.6.0
I have build R-1.6.0 on Jaguar (actually on 10.2.2), using gcc 3.1 from Apple, g77 3.1 from fink, ATLAS from fink. It passes all checks OK. I also re-compiled the 233 packages listed below with the same setup. I have NOT tested all these packages in any detail. A tar.gz file with the whole /usr/local/lib/R will be on ftp://gifi.stat.ucla.edu on Tuesday. It will NOT include anything from fink
2002 Nov 24
1
gcc 3.2.1
gcc 3.2.1 is out and avoids the warnings about -I/usr/local/include shown by 3.1 and 3.2. Unfortunately, it seems to generate invalid code on 32-bit Solaris 2.7. (64-bit code via -m64 is OK.) On two separate installations example(Bessel) crashes in graphics.c because dd is not being passed down from clipText correctly. I don't think that is all, as compiling graphics.c under gcc-3.2 leads
2002 Dec 26
3
R-1.6.2beta_2002-12-20: build problems (PR#2395)
While builds and validations of R-1.6.2beta_2002-12-20 were successful on several systems, there were a few failures: ------------------------------------------------------------------------ Apple Darwin 6.2 (MacOS 10.2.2) with gcc-3.2.1: gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libgslcblas.0.0.0.dylib sasum.lo saxpy.lo ... isamax.lo izamax.lo xerbla.lo -lc -install_name
2003 Aug 13
4
RAqua
Small things, mostly. 1. Buildproblem. Well-known and annoying. Build fails if debugging is on (which is the default) because Debugging.h breaks devQuartz.c compiles. If debugging is switched off on the command line or in the environment, then devQuartz.c builds, but aquaconsole.c does not compile, because it needs Debugging.h. I do not want to edit Apple system files, and not files in the R
2003 Aug 17
2
R-devel problem
With the current version from rsync (8/16, 19:00) I get make[3]: *** No rule to make target `helpsearch.c', needed by `Makefile'. Stop. make[2]: *** [R] Error 1 make[1]: *** [R] Error 1 make: *** [R] Error 1 === Jan de Leeuw; Professor and Chair, UCLA Department of Statistics; Editor: Journal of Multivariate Analysis, Journal of Statistical Software US mail: 9432 Boelter Hall, Box
2007 Jul 24
7
Obtaining summary of frequencies of value occurrences for a variable in a multivariate dataset.
Hi all, If the question below as been answered before I apologize for the posting. I would like to get the frequencies of occurrence of all values in a given variable in a multivariate dataset. In short for each variable (or field) a summary of values contained with in a value:frequency pair, there can be many such pairs for a given variable. I would like to do the same for several such variables.
2003 Jun 16
1
R version on gifi
Pretty soon, hopefully, the RAqua version will make the Darwin/X11 version unnecessary. In the meantime, for convergence, I'll modify the Gifi version in various ways. -- It's 1.7.1 -- It no longer supports gnome -- It still uses Tcl/Tk for X11 (using 8.5 from CVS) !! It no longer uses anything from fink (readline and dlcompat as on Stefano's site, jpeg and png and teTeX from
2003 Nov 08
1
RAqua with X11 TclTk
I've built a version of RAqua that uses X11 TclTk and NOT AquaTclTk. http://www.economia.unimi.it/R/RAquaX11.dmg (15 MB disk image) The idea is that you: launch RAqua, launch X application (the X Server), and from inside R type x11() # just tt set DISPLAY to :0.0. Eventually close this window device, we don't need this. load(tcltk) quartz() demo(tkdensity) It works on my Panther
2003 Aug 17
2
(no subject)
RAqua now builds fine, but for some reason tcl/tk support cannot be compiled in. I get checking for /Library/Frameworks/Tcl.framework/tclConfig.sh... /Library/Frameworks/Tcl.framework/tclConfig.sh checking for /Library/Frameworks/Tk.framework/tkConfig.sh... /Library/Frameworks/Tk.framework/tkConfig.sh checking whether compiling/linking Tcl/Tk code works... no This is with configure
2002 Sep 10
1
R on Jaguar?
Hello, I am trying to use R on a Mac running Mac OS X 10.2 (Jaguar) (installed from the Mac OS X/Darwin/X11 binaries on CRAN), but i get the following errors when I start it: dyld: /usr/local/lib/R/bin/R.bin Undefined symbols: /sw/lib/libreadline.4.2.dylib undefined reference to _tgoto expected to be defined in /usr/lib/libSystem.B.dylib /sw/lib/libreadline.4.2.dylib undefined reference to
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