Displaying 20 results from an estimated 500 matches similar to: "computing distance in miles or km between 2 street"
2007 Sep 06
1
computing distance in miles or km between 2 street addresses
Hi R-ers:
I need to compute the distance between 2 street addresses in either km
or miles. I do not care if the distance is a "shortest driving route" or
if it is "as the crow flies."
Does anybody know how to do this? Can it be done in R? I have thousands
of addresses, so I think that Mapquest is out of the question!
Please rely to: philipsmith at alumni.albany.edu
Thank
2008 Sep 26
1
howto convert matrix of numeric values to Date class?
Hi:
I have a matrix, named "mat," of numeric values that are in days since
Jan 1, 1960.
I want to convert them Date class values so that I can do things like
seq( value , len=10, by="1 week")
where "value" is any of the matrix elements.
How do I do this?
Please reply to: philipsmith at alumni.albany.edu
Thanks!
Phil Smith
Duluth, GA
2008 Jul 23
3
how can I write code to detect whether the machine is Windows or Linux?
Hi R-People:
I use 2 machines: a machine with a Windows XP operating system, and
another with a Linux Ubuntu OS. I transport my code between these 2
machines. However, pathnames to data files always need to be "adjusted"
to account for the OS that I'm working on.
Here is my question:
How do I write code to detect whether I'm using the XP or the Linux
machine?
If I knew
2009 Feb 12
0
Patch to handle MapQuest icon size and icon anchor parameters
This is a patch we had to implement to use custom icons in mapquest. We
needed to use a custom icon size and offset, so I added a small bit of
code to handle this. We use MapQuest API v5.3. That may make this not
work in all cases, I know the icon stuff changed somewhat between 5.2&5.3.
To make work on MapQuests 5.2 API, I *think* would only take the
following conversions.
1) MapIcon
2009 Apr 14
2
routes with google maps API
Hi,
I''m using mapstraction with Google Maps api and I want to use routes.
As of now, mapstraction only supports mapquest API to do this, so can I
use the underlying googlemaps API to do this, while using mapstraction?
If yes, how?
Btw, mapquest route demo doesn''t work (Error: MQA is not defined /
Source File: http://mapstraction.com/mapstraction-js/mapstraction.js /
Line: 621)
2008 Mar 03
0
Routing through LatLng points and other stuff
Hi to all!
Well, I''ve been trying to find a solution to route using known LatLng points
- I already have the location position, all I needed was the actual route,
so I''ve put together an addition to the "mapstraction-route.js". I''ve listed
it below, so maybe it would not be a bad idea to merge it to the trunk...
Also, I have a few other questions regarding
2008 May 07
0
api swap
Hello,
I''m trying the mapstraction library and the swap method. i noticed some
strange behavior when swapping from api to another.
Here is my page test url
http://labomedia.lobotomie.org/~maps/mapstraction/un.html
and the trange things :
swapping to google is ok ( *but marker disappear* )
*swapping to yahoo don''t work*
*swapping mapquest give me a components error in
2004 Aug 14
2
VVDQ : GPS/topo-map software?
Can anyone please hazard a guess at an estimate for a poor old squirrel
hunter with a Very Very Dumb Question? Is wine likely to be able to
install and run any of the proprietary GPS-interfacing topo map programs
(DeLorme, Garmin, Mapquest, et al.) at any roughly predictable future
date? The season opens in three weeks, my GPS (Garmin's etrex vista) is
full -- and it still contains road maps
2007 Jan 16
3
Small design question ... good or bad ...
hey guys, I am trying to add mapping functionality to the example
application from the book.
The mapping (mapquest''s openAPI) uses javascript to generate maps. So I
was thinking that I''ll have a partial view to which i''ll pass the
addresses and it''ll plot them. I''ll then put the partial view in the
main view.
Is this a good way of implementing this
2018 Jan 28
0
Plotting quarterly time series
On Sun, 28 Jan 2018, phil at philipsmith.ca wrote:
> I have a data set with quarterly time series for several variables. The
> time index is recorded in column 1 of the dataframe as a character
> vector "Q1 1961", "Q2 1961","Q3 1961", "Q4 1961", "Q1 1962", etc. I want
> to produce line plots with ggplot2, but it seems I need to
2018 Jan 28
1
Plotting quarterly time series
Using Achim's d this also works to generate z where FUN is a function used
to transform the index column and format is also passed to FUN.
z <- read.zoo(d, index = "time", FUN = as.yearqtr, format = "Q%q %Y")
On Sun, Jan 28, 2018 at 4:53 PM, Achim Zeileis <Achim.Zeileis at uibk.ac.at> wrote:
> On Sun, 28 Jan 2018, phil at philipsmith.ca wrote:
>
>> I
2008 Mar 15
0
issues including multiple maps
I''m trying to include all the map types on the same page and I''m seeing some
pretty weird behavior.
1. When the map quest JS file is included, many other maps including
Microsft, Map24 stop working. The shell of the map is displayed with the map
type logo, but no map.
and occasionally an error
for (var i = 0; i < me.onload[api].length; i++) {
me.onload[api][i]();
}
2010 May 21
0
r83 committed - Making the geocoder pass JSLint
Revision: 83
Author: dezfowler
Date: Fri May 21 11:57:43 2010
Log: Making the geocoder pass JSLint
http://code.google.com/p/mapstraction/source/detail?r=83
Modified:
/trunk/source/mxn.google.geocoder.js
=======================================
--- /trunk/source/mxn.google.geocoder.js Wed May 19 16:33:35 2010
+++ /trunk/source/mxn.google.geocoder.js Fri May 21 11:57:43 2010
@@ -28,7 +28,7 @@
2009 Jan 21
7
Panning map to a point vs. setCenter
Several map providers have functions to pan to a location, as opposed
to the direct setCenter call. Panning animates the move from one point
to another. To implement this in mapstraction, I created a panCenter
function.
I don''t know how to go about committing the change to svn, or who
decides whether my naming convention is worthy, but I thought I''d
share the function
2011 Apr 01
2
Separador de miles
Hola a todos.
Me encuentro realizando un gráfico en R y en los ejes quisiera que los
valores aparezcan con separador de miles.
Es decir...
1000000
1,000,000
Gracias...
--
Paula Altamar
Estratificación-DIG-DANE
Cel: 3005137541
[[alternative HTML version deleted]]
2004 Jan 12
2
Re: Nauti miles
>
>
I might as well add to the offtopic thread... why are natuical miles longer
than "regular" miles?
Andrew
A nautical mile is 1 minute of latitude.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040112/6658a905/attachment.htm
2009 May 31
7
[mapstraction commit] r11 - Added functionality to automatically load scripts needed.
Author: robert.moran
Date: Sun May 31 11:13:23 2009
New Revision: 11
Modified:
trunk/source/mxn.core.js
trunk/source/mxn.js
trunk/source/mxn.yahoo.core.js
trunk/tests/index.htm
Log:
Added functionality to automatically load scripts needed.
Allowed mapstraction default constructor to have provider omitted (will use
first loaded provider).
Minor change to yahoo implementation -
2013 Mar 27
0
[JOBS] Great Ruby Coding Opportunities in Boston Area and L.A.
1) CTO (Chief Technical Officer) Ruby Engineer:
My client offers a tremendous growth opportunity for a highly skilled,
experienced Ruby on Rails software engineer/coder to be rapidly groomed and
promoted to a CTO role or someone who can fill a CTO role immediately. They
are a highly successful VC-funded startup in the Worcester, Massachusetts
area which has achieved world-dominance in
2011 Mar 14
1
pairwise p-values in KM plots?
How can I compute pairwise p-values in Kaplan-meier plots for three or more
groups?
bin.1<-cut(score,c(-1000,-1,1,1000),c("low","intermediate","high"))
I use "km.coxph.plot" currently which reports one p-value.
Thanks very much.
[[alternative HTML version deleted]]
2008 Jan 28
1
KM estimation for interval censoring?
Does anybody know if there is such a function to estimate the distribution
for interval censored data?
survfit doesn't work for this type of data as I tried various references.
[[alternative HTML version deleted]]