similar to: Combining ggplot2 objects and/or extracting layers

Displaying 20 results from an estimated 1000 matches similar to: "Combining ggplot2 objects and/or extracting layers"

2006 Dec 07
0
FW: test of spatial dependence?? - ask a geographer (was ask an ecologist)?
No, you do not necessarily need the XY coordinates. You can also use polygon (field, in your case) adjacency information. See Rogerson, Peter A. 2001. _Statistical methods for geography_. Thousand Oaks: Sage. You might also look at GeoDA, a free and soon-to-be open source spatial analysis package. For your application, it might be easier to use than R. Go to https://www.geoda.uiuc.edu/.
2010 May 03
2
Hierarchical factors
Hello, Hierarchical factors are a very common data structure. For instance, one might have municipalities within states within countries within continents. Other examples include occupational codes, biological species, software types (R within statistical software within analytical software), etc. Such data structures commonly use hierarchical coding systems. For example, the 2007 North
2006 Jun 15
0
S4 class slot name 'names' is not allowed (PR#8768 S4Methods)
Hello, Besides the problem with using "names," one has a similar problem using ".Data" together with "VIRTUAL." Consider the top of p. 295 of the green book. This should work (I had to change "structure" to "junk" because "structure" is a sealed class definition): setClass("junk",
2010 May 07
2
How to re-arrange data in R
Dear users, I have monthly station data (44) stations data for 45 years which I have read in R using read.table. the data is in the format: Year Month Station1 Station2 ...................................... Station 44 (i.e the column names in the 1st row), I also have the latitude and longitude of the stations in a separate file in R (in the format : Station LAT LON). I wish to
2006 Aug 07
0
cwrsync strange path in error message
Dear Patricia: First off, my apologies ahead of time for bothering you. I am attempting to locate a Patricia Palumbo. She worked in Doylestown, Pa., as a court officer in the '60s. She would now be somewhere in her 70s. She was a very close friend at the time, but we lost contact with one another over the years. And, no, this is NOT a romance thing. :o) By any chance, do you know
2008 Aug 02
0
thematic maps, missing data, gmap
Running R version 2.6.1 under Gentoo Linux, I'm trying to produce a thematic map of the USA using the gmap package and its function USALevelPlot. The variable whose levels are to be plotted is observed for 49 states but missing for one (Delaware). I would like to produce a map in which the states for which data exist are shaded and Delaware is represented only by an outline. In contrast
2008 Aug 03
0
gmaps, projection, inset
Running R version 2.6.1 under Gentoo Linux, I'm trying to produce a thematic map of the USA using the gmaps package. The result thus far has two problems from my point of view. First, the projection (Miller cylindrical?) elongates southern states and flattens northern ones unattractively. I'd prefer Albers conic projection or something similar. Second, the inset for Alaska is placed
2008 Aug 15
1
map("state" ...) Is the USA cracking up?
Running R version 2.6.1 under Linux, I'm trying to use the maps and mapdata packages and the state database to produce a thematic map of the USA. My problem is that cracks (white spaces) appear between some states--e.g. between Colorado and Utah and between Michigan and Indiana. The resulting visual impression is that the country is breaking up. This occurs in all the projections I have
2008 Aug 12
1
fPortfolio constraints, maxsumW
Running R version 2.6.1 under Gentoo Linux and using the fPortfolio package, I am having trouble specifying a sector constraint. One of the constraints to be imposed is that assets 1 and 2 together account for no more than 13.63% of the portfolio. My attempt at coding that constraint, "maxsumW[1:2Assets]=13.63" fails. The relevant section of my code file and the resulting error
2007 Aug 20
1
rv package, rvnorm function
In an attempt to learn to use the rv package, I have been working through the examples in Jouni Kerman and Andrew Gelman's "Using Random Variables to Manipulate and Summarize Simulations in R" (July 4, 2007). I am using a Dell Precision 380n computer running Gentoo Linux and R 2.2.1 (the latest available through Gentoo's portage/emerge system). Everything worked well until I
2008 Aug 04
2
thematic map of USA
My goal is to prepare a thematic map of the US, with states shaded according to their values for a variable of interest. I would like to include an inset for Alaska in the upper left and an inset for Hawaii in the lower left. If possible, I'd like to use Albers conic projection, or something similar. Thus far I have tried using the maps package with its state database (which omits
2008 Apr 30
1
R isn't finding tcltk
On a x86 machine operating under Gentoo Linux, I'm having persistent difficulty in getting R version 2.6.1 (the latest available through Gentoo's portage system) to use tcltk. The R command library(tcltk) elicits the following response: Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system Error in library(tcltk) : .First.lib failed for
2000 Sep 07
3
plot with two y axes
I'm trying to make a transition from S-plus under Windows to R under Linux. My immediate aim is to produce a scatter plot with two y-axes with different scales. That can be done in S-plus with a command of the following form: guiPlot( PlotType="Scatter", DataSet="execon", Columns="years,hstart,ship", AxisType="Multiple Y" ), where years, hstart, and
2000 Jul 27
2
batch mode in linux
I'm trying to learn how to use R version 1.1.0 under Mandrake Linux version 6.1. Using R interactively, I get good results. However, when I attempt to execute commands from a file (following the directions in section 1.10 of An Introduction to R, version 1.10) my output disappears. As a default or after a sink() command, I would expect to see output on the console, but none appears. After
2008 Aug 12
1
separate maps in one figure
My aim is to create a figure consisting of three maps: Alaska in the upper left corner, the 48 contiguous US states in the center right, and Hawaii in the lower left corner. In some ways the figure I'm trying to create is analogous to figure 1.5 in Paul Murrell's excellent "R Graphics", which combines a map of New Zealand with a map of the world. I tried adapting the code
2001 Dec 13
3
Access denial
Hi, My name is Tom Faulhaber. I am the network administrator at a small company in Providence,RI. I am running Samba 2.2.2 on a Redhat 6.1 machine on a Novell 4.21 network. The workstations are Win98SE. The Linux box is being used for the company intranet (Apache 1.3.22). Everything runs fine, however I am completely stumped on one issue (so far). That issue is: network connectivity. If I
2010 Apr 09
1
Beyond reshape: automatically streamlining data
Hello, I've been very impressed by the reshape package and how easy it makes reorganizing statistical data structures. This makes me wonder if there's another package out there that addresses another set of tasks that one often does when preparing data for analysis. For any particular set of analyses, one typically recodes variables and deletes cases and variables. It would be really
2010 Jul 27
0
how to generate a random data from a empirical, distribition
On 7/27/2010 6:00 AM, r-help-request at r-project.org wrote: > Date: Mon, 26 Jul 2010 11:36:29 -0700 (PDT) > From: xin wei<xinwei at stat.psu.edu> > To:r-help at r-project.org > Subject: [R] how to generate a random data from a empirical > distribition > Message-ID:<1280169389379-2302716.post at n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > >
2006 Apr 12
1
URL in Queue App / Determining the DID/Queue at Agent's Phone
I'd like for our custom soft phone to be able to know what queue, and/or what DID is calling an Agent's phone before the agent picks up. The agent is using the AGENTCALLBACKLOGIN. One agent can be in multiple queues so it would be nice if they could get a pop up window telling them who's on the line before they pick up and hear the announcement telling them that. I'd like
2012 Jun 21
3
Exporting data from R into an Excel File on Mac
Dear R Professionals, I am currently an intern at the University of Rhode Island and I need to know how to export data from R into an Excel file. As it is my understanding, xlsReadWrite is not available for mac. Is there another package available for mac users to be able to perform this function. Sincerely, Maureen J Hayden University of Rhode Island Class of 2015 Marine Biology Major