similar to: distance matrix as text file - how to import?

Displaying 20 results from an estimated 7000 matches similar to: "distance matrix as text file - how to import?"

2006 Jul 06
4
engineering notation format
Hi, How can I format numbers to engineering notation? That is, like scientific but where the exponent is always a multiple of three. Some examples: 1635 000 000 => 1.635E9 163 500 000 => 163.5E6 0.000 000 000 135 => 135E-9 I've tried format and formatC but I couldn't get them to work they I want. Any help is greatly appreciated. Thanks, Sam
2012 Oct 17
3
Install rgdal, lazy loading error
Hi all, I have successfully made and installed both gdal, and proj.4, but still cannot get rgdal to be installed in R. I think i'm very close. I do not have root access, if that matters, i've installed everything locally. I'm using debian on a beowulf cluster. I call: install.packages("rgdal", .libPaths()[1], configure.args =
2009 Apr 15
2
How to Reshuffle a distance object
I would like to randomly shuffle a distance object, such as the one created by ade4{dist.binary} below. My first attempt, using sample(jc.dist) creates a shuffled vector, losing the lower triangular structure of the distance object. How can I Ishuffle the lower triangular part of a distance matrix without losing the structure? Thanks. --Dale x1 <- c(rep(0,4),1) x2 <- c(rep(0,2),rep(1,3))
2008 Jun 25
1
avoid using Dingbats symbols for points()
Hi, I came across with a tiny problem. E.g.: pdf() plot(1:5) points(2, 3, cex=10, pch=21, bg="grey", lwd=0.3) points(2, 4, cex=1, pch=21, bg="grey", lwd=0.3) dev.off() If I execute this I'll get a nice PDF. Fine. But I want to edit this PDF with let's say by using Adobe Illustrator. If I try to open it Illustrator shows up an error message: Missing Type 1 fonts
2016 Feb 08
3
something wrong in package submission procedure/website
Yesterday I uploaded new rockchalk_1.8.97. Then I received email saying that I needed to confirm the submission. Here's the message. Dear Paul E. Johnson Someone has submitted the package rockchalk to CRAN. You are receiving this email to confirm the submission as the maintainer of this package. To confirm the submission to CRAN, follow or copy & paste the following link into your
2003 Dec 18
3
diagnostic information in glm. How about N of missing observations?
I handed out some results from glm() and the students ask "how many observations were dropped due to missing values"? How would I know? In other stat programs, the results will typically include N and the number dropped because of missings. Without going back to R and fiddling about to find the total number of rows in the dataframe, there is no way to tell. Somewhat
2016 Feb 12
2
configure statement for R-devel with updated zlib in user account
I'm aware R-devel no longer includes zlib. This works find on up-to-date Linux systems. On the older Centos 6 cluster at KU, they have zlib tool old for R-devel. The R-devel configure fails thus: checking if zlib version >= 1.2.5... no checking whether zlib support suffices... configure: error: zlib library and headers are required In other software, I've seen this kind of thing, so
2009 Jan 22
4
text vector clustering
Hi, I am a new user of R using R 2.8.1 in windows 2003. I have a csv file with single column which contain the 30,000 students names. There were typo errors while entering this student names. The actual list of names is < 1000. However we dont have that list for keyword search. I am interested in grouping/cluster these names as those which are similar letter to letter. Are there any
2007 Nov 16
4
Permutation of a distance matrix
Hi there, I would like to find a more efficient way of permuting the rows and columns of a symmetrical matrix that represents ecological or actual distances between objects in space. The permutation is of the type used in a Mantel test. Specifically, the permutation has to accomplish something like this: Original matrix addresses: a11 a12 a13 a21 a22 a23 a31 a32 a33 Example
2015 Aug 27
2
Proposed change in file.exists() to tolerate Windows
I'm writing to ask if R Core would make file.exists more Windows tolerant when the argument has a trailing slash. This has been discussed by users a few times here, I know it is not a new topic. But it is not a solved problem, yet. I acknowledge that CRAN packages exist which fix this by replacing file.exists(), but it seems more elegant to me to fix the problem in R itself. R Core goes to
2008 Apr 18
1
Overall p-value from a factor in a coxph fit
Hi all. If I run the simple regression when x is a categorical variable ( x <- factor(x) ): > MyFit <-coxph( Surv(start, stop, event) ~ x ) How can I get the overall p-value on x other than for each dummy variable? > anova(MyFit) does NOT provide that information as previously suggested on the list. All the best, Kare [[alternative HTML version deleted]]
2009 Mar 21
5
Plot and Boxplot in the same graph
Hii, Is it possible, to use the plot() funktion and the boxplot() funktion together ? I will plot a simple graph and additionally to the graph on certain places boxplots. I have imagined to plot the graph a little bit transparency and show in the same graph on certain places boxplots.... Is it possible to do it in this way ? greetings, johnh -- View this message in context:
2009 Jan 16
3
Sweave documents have corrupted double quotes
I'm attaching a file foo.Rnw and I'm hoping some of you might run it through your R & latex systems to find out if the double-quotes in typewriter font turn out as black boxes (as they do for me). If you don't use Sweave, but you have a system with a working version of R and LaTeX, the file gives the instructions you need to use to process the file. The The file itself explains
2005 Sep 14
4
Converting coordinates to actual distances
Hello, I've been searching for a method of converting Lat/Lon decimal coordinates into actual distances between points, and taking into account the curvature of the earth. Is there such a package in R? I've looked at the GeoR package, but this does not seem to contain what I am looking for. Ideally the output would be a triangular matrix of distances. Thanks in advance, Paul Brewin
2014 Aug 06
3
portableParalleSeeds Package violation, CRAN exception?
I'm writing to ask for a policy exception, or advice on how to make this package CRAN allowable. http://rweb.quant.ku.edu/kran/src/contrib/portableParallelSeeds_0.9.tar.gz Yesterday I tried to submit a package on CRAN and Dr Ripley pointed out that I had not understood the instructions about packages. Here's the part where the R check gives a Note * checking R code for possible
2006 Mar 06
3
how to make plotmath expression work together with paste
Recent questions about using plotmath have renewed my interest in this question I want to have expressions take values of variables from the environment. I am able to use expressions, and I am able to use paste to put text and values of variables into plots. But the two things just won't work together. Here is some example code that shows what I mean. plot(NA,xlim=c(0,100),ylim=c(0,100))
2010 Jul 20
1
Exporting NMDS distance matris to csv
If you submit these lines, you end up with variable "vare.dis". I want to export vare.dis to csv. Stuck I am. library(vegan,logical.return = TRUE) #return=true verifies package is available library(MASS,logical.return=TRUE) #return=true verifies package is available data(varespec) #varespec is an example data file in the vegan package vare.dis <- vegdist(varespec)
2011 Sep 09
4
Please explain your workflow from R code -> package -> R code -> package
Hi, I'm asking another one of those questions that would be obvious if I could watch your work while you do it. I'm having trouble understanding the workflow of code and package maintenance. Stage 1. Make some R functions in a folder. This is in a Subversion repo R/trunk/myproject Stage 2. Make a package: After the package.skeleton, and R check, I have a new folder with the project
2010 Mar 18
2
Care to share an R presentation?
The R movement is picking up steam in the center of America. People that ignored my R-enthusiasm 10 years ago are now calling me up asking for presentations. I need to make a 2 hour presentation to a collection of faculty and grad students who might like to use R. I don't want to make it seem too complicated (as I often do), but I don't want to mislead them to think it will be easy. I
2011 Oct 04
3
Tinn-R
I am new to R and have recently tried Tinn-R with very mixed and unexpected results. Can you point me to a Tinn-R tutorial on the web or a decent reference book? Thank you for your help; Charles McClure cmcclure at atrcorp.com cfmcclure at verizon.net