Displaying 20 results from an estimated 6000 matches similar to: "combining two data frames (different question)"
2008 Jul 31
3
cutting out numbers from vectors
i have a vector with values similar to the below text
[1] 001-010-001-0
I want to get rid of all leading zeroes. for example i want to change the
values of the vector so that [1] 001-010-001-0 becomes [1] 1-010-001-0.
Another example
[1]082-232-232-1 becomes [1] 82-232-232-1
how do i do this?
--
View this message in context:
2005 Nov 23
1
adding variables to a data set/combining two data sets
I have a couple of data sets that I want to combine into one data frame.
One set contains a number of records on individual observations and includes
a geographic descriptor called dacode. The dacode is not unique in that
table. The other table contains a number of socio-economic variables for
each of the geographic areas identified in the other table. This second
table also includes a variable
2003 Nov 10
5
OT : For the SQL gurus..
SQL help needed..
If I have a MySQL table with dialing codes and a corresponding
description (see below) and I want to lookup the best match for a phone
number.. What would the SQL look like to do it? or would it take more
than just SQL to get to the best result?
Thanks..
Later..
Example numbers, (random end digits so I don't know who's they are.)
00442085673456 - UK London
2011 Apr 11
3
Geographic distance between lat-long points in R?
Dear R,
I have a bunch of geographic locations specified by lat-long coordinates. What's an easy way to calculate geographic distance between any two points? OR, perhaps there is a function for calculating a distance matrix for K sites?
Sincerely,
Scott Chamberlain
[[alternative HTML version deleted]]
2009 Mar 06
1
Interpreting GLM coefficients
Hi all,
I?m fitting GLM?s and I can?t interprete the coefficients when I run a
model with interaction terms.
When I run the simpliest model there is no problem:
Model1<-glm (Fishes ~ Year + I(Year^2) + Kind.Geographic +
Kind.Fishers + Zone.2 + Hours + Fishers + Month, family =
poisson(log)) # Fishes, Year, Hours, and Fishers are numeric,
Kind.Geographic, Kind.Fishers, Zone.2 and
2007 Oct 30
2
calculate spatial distance
Hi,
I have a set of locations defined by longitude and latitude (in degrees),
and want to calculate the spatial (or geographic) distance among all
locations.
I did not find such a function in the spatial-related packages. (I *cannot*
use 'dist', as I have geographic, not cartesian coordinates).
thanks!
Robert
Robert Ptacnik
Norwegian Institute for Water Research (NIVA)
Gaustadall?en 21
2007 May 21
1
Graphically show population density for a specific geographic area using R
Hi,
we all know that R is powerful in dealing with graphics.
I am now trying to use R to show some geographic attributes for a
specific geographic area on a graph. For example, if I would like to
generate a graph showing the population densities (in terms of the
intensity of colors) for Illinois State by zip codes. I did some
research; and it seems that package "maptools" is
2020 Mar 28
4
Advice on article about installing R on Linux
Dear list,
I've drafted an article on installing geographic R packages on Linux
computers and would appreciate any feedback. Is the following text correct,
useful and future-proof?:
R?s spatial packages can be installed from source on recent (since Ubuntu
19.04) versions of this popular operating system, once the appropriate
repository has been set-up, meaning faster install times (only a
2020 Mar 28
1
Advice on article about installing R on Linux
On 28 March 2020 at 14:04, Robin Lovelace wrote:
| To the list this time...
|
| On Sat, Mar 28, 2020 at 2:03 PM Robin Lovelace <rob00x at gmail.com> wrote:
|
| > Hi Dirk,
| >
| > Thanks for the quick response.
| >
| > I've updated the draft post following your suggestions, see the updated
| > version, in nice .md format, here:
| >
2007 Nov 01
5
monster method (too hard for my skill level)
I need to write a method for calculating the fee for medical
procedures with respect to area. I have all the tables and data but
its hard to give that here. Can someone take a look at this ''stub''
method and help me out?
def calculate_fee
# strip out the first 3 numbers of the user entered zip code
# use those 3 numbers to identify row in [zipcodes table] (between
upper and
2020 Mar 28
1
Advice on article about installing R on Linux
On 3/28/20 10:04 AM, Robin Lovelace wrote:
> To the list this time...
>
> On Sat, Mar 28, 2020 at 2:03 PM Robin Lovelace <rob00x at gmail.com> wrote:
>
>> Hi Dirk,
>>
>> Thanks for the quick response.
>>
>> I've updated the draft post following your suggestions, see the updated
>> version, in nice .md format, here:
>>
2012 Oct 14
1
plotting principal components on geographic map
Dear all,
I have a dataset representing several geographical points (locations), each
one having a specific value after performing a PCA.
Now I'm trying to understand how to separately represent on a geographic
map (of Europe) the pattern of PC1,2, ecc.with colors (e.g.heatmap)
I have to add that the dataset includes relatively few points. Therefore, I
would also like to interpolate the values
2005 Oct 10
3
country code list
I was wondering if anyone has put together a comprehensive list (that is
reasonably maintained) that lists country codes, landline numbers,
mobile numbers, etc. The particular requirement is for a dialplan to
know what is going to be charged to whom.
For example, mobile and landline rates are the same in the US the US has
a unified numbering plan of 1NXXNXXXXXX, while the UK has:
441xxx
2005 Feb 13
2
Bubble Plot with Pie Charts
Hi there!
I have seen that someone had this question some years
before, but there
was only a rough answer to it and I was wondering if
actually someone
was able to accomplish it or maybe even wrote a
function...
How do you make a bubble plot where you have pie
charts instead of bubbles?
I have a geographic map and need to plot
attribute-sized pie charts
representing a second attribute at
2003 Nov 04
1
Does anyone provide inbound UK numbers using IAX ?
Hi All,
Is there anyone providing UK geographic numbers that can be terminated
on Asterisk using IAX ? It must be a geographic number (eg. Start 01 or
02, not 08xx). I've tried the sipcall.co.uk service and it looks very
good when using X-Lite but it will not work with Asterisk. Switching to
IAX should also resolve issues around NAT - hurray!
-Nathan
2004 Jun 14
1
Piecharts in a graph
Dear R-Community.
I am trying show pie charts on a graph. To be precise, I have series of
catch calues by species by geographic (5 deg by 5 deg) regions. I want
to draw circles (actually pie charts showing the proportion of the catch
in each area) so that I have a graph of catch by species by geographic
area!
I know there is the < symbols(dat$lon,dat$lat,circles = dat$sp1,
add=TRUE) > but
2006 Nov 03
1
maps. display hierararchical cluster analysis results on a map?
All,
I have done a cluster analysis analysis of some spatial locations,
based on variables other than lat-long, and want to show the results
on a map to see if my clusters have some geographic meaning.
For kmeans (etc.) I would just use different symbols (etc.)
to distinguish the clusters, but I am doing hierarchical CA. I am looking
for ideas or (better) code.
One
2010 Oct 31
1
complicated graphic -- persp+map
Hello
I'm trying to render in 3D what I usually plot by image(), or image.plot()
from the library fields, followed by a map("world",add=TRUE) type of
command. More concretely, I have a field of temperature values, for a given
geographic area, and I would like to plot a 3D surface whose x and y axes
consist of longitude and latitude values and whose height and color-coding
correspond
2004 Nov 17
2
R/S-related projects on Sourceforge? Trove Categorization - GDAL
GDAL Package for R
http://sourceforge.net/projects/rgdal
The R GDAL package is an interface for accessing Frank Warmerdam's
Geographic Data Abstraction Library
from within R.
GDAL is capable of reading and writing a wide range of geographic data
formats including ESRI grid format and geotiff.
On Wed, 2004-11-17 at 09:09, Witold Eryk Wolski wrote:
> <SNIP>
> SourceForge.net
2018 Mar 06
4
Half Off Topic Questions
Hi Group,
we're just wondering, in German we call the different types of phone-numbers (Geographic,mobile,national,VoIP...)
Rufnummerngassen (phone number alleys ;-) )
Is there an english word for this?
--
-----------------------------
Markus Weiler
markus_weiler at mailworks.org
-----------------------------