similar to: calc dist AB for B at levels of A

Displaying 20 results from an estimated 900 matches similar to: "calc dist AB for B at levels of A"

2004 Aug 19
3
Do you know if you can map a large minimum spanning tree in R?
Thanks Mike. My data has longitude and latitude coords and I used distAB {clim.pact} then mst {ape} to calculate my minimum spanning tree. The nodes are telecoms sites from all over Australia. My goal is to determine the minimum cost of linking them via cabling, and I'm starting by calculating the distance "as the crow flies", but will probably eventually need to calculate the
2006 Nov 10
2
Problems with metaMDS from vegan
Hello all, I recently used the Vegan library quite extensively (in the context of text similarity assessment) on an Ubuntu 6.06 LTS system with R version 2.2.1 (2005-12-20 r36812). The Vegan lib is version 1.6-10. I hit on a problem yesterday, though, when trying to install R and Vegan on two further computers - one Windows XP and one further Ubuntu 6.06 machine, taking either R version 2.4.0
2010 Nov 19
2
Calculating distance between longitude,latitude of 2 points
Hi all, I would like to know a way of calculating the distance between 2 points when I already have the longitude and latitude of the points. For example : Point 1 : 52? 9'54.00"N 4?25'8.40"E Point 2 : 52?27'46.80"N 4?33'18.00"E Distance between point 1 and point in km .... Is there any functions already available for this ? Any help will be much
2007 Dec 20
0
package clim.pact
I would like to try the SSA approach with my data. If i am not mistaken there is a package named "clim.pact" in the R repository that does that. I tried to download on my Linux box and it failed as it cannot resolve a dependency that is only needed for Windows platform (that is written in the site http://cged.genes.nig.ac.jp/RGM2/pkg.php?p=clim.pact). I wonder if someone knows the
2007 Jun 06
1
error message: only first element in each line of matrix used
I have a matrix and am trying to write a code to 1. identify all neg values along each line 2. for each neg value I need to identify min(j+3) 3. end with this code: eq[i,j]<- ifelse(mat.r[i,j] < (0.5*mat.s[i,j]), mat.all[i,j], 0) This is the code I have so far. I have tried several different methods but I keep getting the same error message that the condition has length >1 and only
2012 Mar 27
0
I can't open a .nc file with the "cdfcont" function of the clim.pact package
Hello, I am new at using R. I would like to use the following functions of the "clim.pact" package: ncdfcont and retrieve.nc I have installed the package "clim.pact" in Rstudio. I have downloaded the "ncdf pack" from unicar (including ncdump and ncgen). The ncdf file I'm working on is called "essai2.nc" Here is what I get, when I type the command
2005 Nov 07
1
Help with downloading clim.pact
I am wondering if anyone might know why the package clim.pact won't install properly. I have tried many URL sites and the same thing happens. I get the error message below. I also tried downloading the ZIP from the CRAN site and extracting the file myself, but an error message (something like, "not an archive file") appears. I operate through Windows. Thanks. Gary Nelson.
2010 Dec 13
0
Problem with retrieve.nc of clim.pact
Goodmorning to everyone, I'm new so sorry for bad english and formulation. I go to the point: I am using since months the retrieve.nc function from clim.pact to extract data from netcdf files. I always had no problem, but some days ago I updated both R and the package to the latest versione (don't ask me what was the previous R version, cause I don't remember). However, now i am in
2007 Oct 31
0
clim.pact: change group of stations object into a field
Hello, I have a question about one of the functions from package clim.pact. I am planning to perform canonical correlation analysis (CCA) with temperature stations data, I want to use clim.pact package for that. As I understood I should be able to use the function stations2field in order to group my stations objects into a field, so that I can include the result in CCA analysis. If I have
2011 Nov 29
1
Problems with Raster and clim.pact packages with large netcdf files (2.7G) in x64 bit R
I normally use the raster or clim.pact pckages to read netcdf (.nc) files. This has always worked out for me until this weekend every time i try to read a .nc file i get the following error Program: C:\Program Files\RStudio\bin\x64\rsession.exe File: posixio.c, Line 417 Expression: offset >= 0 This application has requested the Runtime to terminate it in an unusual way.Please contact the
2006 Jun 27
3
Possible to get a definition of a function from a package to use without invoking the package?
Hi, I often use the mod() and instring() functions that are available in the clim.pact package. This package has a lot of dependencies, including installation of netCDF, and I haven't yet been able to get library(clim.pact) to work on a Mac OS 10.4.6. A previous request for help with the Mac problem yielded no results, so now I wonder if I could just extract the definitions for the couple
2010 Oct 29
2
doubt in climate variability analysis in R!
Hello all, I am trying to use "clim.pact" package for my work, but since this is the beginning for me to use gridded datasets in "R", I am having some trouble. I want to do seasonal analyses like trends, anomalies, variograms, EOF and probably kriging too to downscale my 1 degree gridded data to 0.5.  So, as a first step, I compiled my entire dataset (with 25
2003 Jul 10
0
clim.pact (fwd)
I'm trying to use the clim.pact package but I cannot find the descritions of "map object or "field object". For example, according to the man page of function "map": " Description Produces maps. Usage map(x,y=NULL,col="black",lwd=1,lty=1,sym=TRUE, plot=TRUE,inv.col=FALSE) Arguments x A map object. ... " and according to the man page of
2009 Jul 21
0
clim.pact question (annual cycle removal)
I'm using the clim.pact package, I'm particularly interested in the EOF computation. I've noticed that whether I used the option to remove the annual cycle or not I get the same results. Am I missing something or the option hasn't been implemented yet? Thank you. [[alternative HTML version deleted]]
2004 Dec 21
4
Removing trailing spaces
Some years ago when I used S-PLUS, I seem to remember, there was a discussion about a simple method of removing trailing spaces from vector elements. I'd be fairly sure the same would work in R, but I can't find any mention of anything like it in the R archives or with help.search(). There are ways I could do it with substring(), but I seem to remember there was something more elegant.
2008 Jan 15
1
Problem with running installed package on Windows
Hello, I have installed the package clim.pact in R on both Mac OS X and Windows XP. Everything works fine on the Mac but in Windows, I have a problem when I try to execute some simple commands. I get this error: Error in gzfile(file, "wb") : unable to open connection In addition: Warning message: In gzfile(file, "wb") : cannot open compressed file
2004 May 20
3
two-way synchronization accross a firewall fails
machine O is outside firewall, machine I is inside (machine names changed to protect the innocent :-) firewall allows ssh connections if inititiated from I to O, but not if the other way. both machines have an /etc/rsyncd.conf of: [rt] path = /tmp/rsync_test comment = Test area O runs rsync daemon, I initiates a rsync cammnad like rsync -rvvv --delete --rsh=ssh O::rt /tmp/rsync_test
2012 Mar 16
2
plotting border over map
I am using following codes to plot map library(sp) library(rgdal) library(maps) library(gplots) library(clim.pact) library(fields) source("/R/PlotGridded2DMap.R") source("/R/image.plot.fix.R") source("/R/image.plot.plt.fix.r") seasonal_plot<-function(input,lonll=-180,latll=-90,lonres=5.,latres=3.75,write_file=TRUE,The_title=NULL){ if(is.null(The_title)){
2006 Jul 14
0
EOF: object needs to be "field"?
Hi, All: I am using Chinese version of R, but I will translate the error message. I have been trying to find out the spatial pattern of some meteorology variable. I converted the data from "grib" format to binary, which is not a big deal. Then I read in the binary data, and it has 3 dimensions: x, y, and time. The following is my code
2005 Mar 27
0
netcdf
Hi All, I'm very knew to R. I downloaded and am running it on my redhat so that I can use the clim.pact package. Everything is downloaded and installed correctly. When trying to read a netcdf file from the NCEP/NCAR reanalysis dataset using retrieve.nc I keep getting errors that the number of dimensions are wrong. If I use x.1 <- retrieve.nc("geopothgt.nc") I get the above