Displaying 20 results from an estimated 100 matches similar to: "ggplot map bounds"
2009 Aug 24
2
Creating a simple line graph
Hey everyone,
Sorry for yet another simple question but hopefully it makes whoever
comes up with the answer feel good about helping others. I would like to
simply plot the following two sets of data in a line graph. The one set is
an observed set of points and the latter is the predicted. I have looked
through the documentation (which makes any graphing very complicated to me)
but i havent
2010 Jan 11
1
matchname messages filling logs - howto stop?
Listmates,
I have had a few boxes where the 'matchname' message is filling my syslog with
one new message ever ~40 seconds or so. No performance problems, just the log
annoyance. An example of the messages are:
Jan 11 13:43:03 nemesis smbd[2246]: [2010/01/11 13:43:03, 0]
lib/util_sock.c:1685(get_peer_name)
Jan 11 13:43:03 nemesis smbd[2246]: Matchname failed on Adrienne-PC.rbpllc.com
2004 Jan 15
5
Lattices: Cloud: Background
Hi,
There's probably some simple way of doing this, but I'm just not seeing
it - How do I get the background to be white instead of grey when I have
a cloud plot (using the lattices package)? par(bg="white") isn't
working. I'm assuming par commands won't work on lattice plots. What
should I use instead?
Thanks,
Adrienne
[[alternative HTML version deleted]]
2011 Jun 21
2
par code help
I am making a barplot using barplot2 from gplots where each bar
represents a specific tree species. I have formatted the species names
on the x-axis so that the genus name is above the species name and
have then rotated the labels 45 degrees to save room. This is my code:
>columncolor<-c("grey20", "grey20", "grey20", "grey70",
2011 Jun 14
2
Still have problems with tcltk in R 64 bit
Dear R users,
Since a long time now, I have the following error when I want to load
the tcltk library in R 64 bit.
Loading Tcl/Tk interface ...Error : .onLoad failed in loadNamespace()
for 'tcltk', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'C:/Program
Files/R/R-2.13.0/library/tcltk/libs/x64/tcltk.dll':
LoadLibrary
2011 Dec 12
3
windrose color ramp issue
Greetings!
I'm having an issue with the windrose produced by the windrose
function from the circular package. For our weather stations in North
Carolina I'm helping with a script which takes hourly wind speed and
direction data to create windroses for our end users. One of the
stations in the mountains frequently reaches wind speed of 40 to 60
mph and in storms can reach wind speed over
2011 Jun 10
2
Problem loading packages in R 2.13.0 on Mac
I am having problem loading packages in the newest version of R
(2.13.0) on my Mac. I have tried to install various packages (e.g.
lawstat, Rcmdr, car) and load them using the Package Installer and
Package Manager menu options but I get the follow error:
> library(lawstat)
Loading required package: mvtnorm
Error: package 'mvtnorm' could not be loaded
In addition: Warning
2011 May 23
2
Formatting names.arg
I am making a barplot using barplot2 from gplots and would like to
format the names of my categorical variables (tree species) on the x-
axis so that the genus name is above the species name (to save room).
My code so far is:
speciesnames<-c("Dialium guianensis", "Inga alba", "Tachigali
versicolor", "Brosimum utile", "Caryocar
2011 Jul 26
1
adjusting x-axis labels
I am trying to tweak how my categorical x-axis labels are formatted in
my bar graph. Specifically, I would like to a) decrease the spacing
between lines (e.g. spacing between Dialium and guianensis) b) right
justify the text and c) have each species name align with the center
of the corresponding bar graph.
A simplified version of my code thus far is as follows. I am using
RStudio v.
2012 Oct 30
2
issues with krige function
Greetings all,
Ran into a strange problem with the krige function from geoR. The
problem that I am having is that while the krige function seems to
work well, the resulting predicted values are all NAs. Given the size
of the datasets I am working with can't attach it, but I can provide
snippets of the datasets.
> casedata
station year month day obs mpe bias type
2005 Nov 25
1
optim
Hello:
I am trying to use optim() to estimate the maximum likelihood of a
function a*x^b = y.
Unfortunately, I always get the error, that there is no default value for b.
Could you give me an example, on how to correctly optimize this function
with input data x<-c(1,3,11,14).
Thanks a lot,
Adrienne
--
***********************************************************************
Adrienne
2011 May 23
1
denoting post-hoc test differences using letters
Is there code in R to automatically assign letters to different groups
that are found to be statistically significant using a post-hoc test
following an ANOVA? For example, let's say I found that relative rates
of tree growth were statistically significant between tree species
using an ANOVA and then I ran a TukeyHSD post-hoc test to determine
which species were statistically
2010 Jun 05
1
selecting only specific rows in R
Hi, I have a data frame with columns as follows: tree species
(independent variable) and several dependent variables (e.g. carbon,
nitrogen, phosphorus). Each row represents one tree sample. Some tree
samples are unique species in the data frame while other species were
replicated (i.e. rows 1,2,3 may be identical for the "tree species"
column but have different values for the
2011 Oct 25
2
difftime producing NA values in R 2.12.2
R-listers,
I have noticed several posts on issues with difftime producing NA's
but they have been for older versions of R. Here's the issue
associated with difftime that I am dealing with in R 2.12.2.
> preciptime = strptime("01/10/2007 14:00",format="%m/%d/%Y %H:%M")
> class(preciptime)
[1] "POSIXlt" "POSIXt"
> # Now using difftime, this
2010 Sep 22
2
cwhmisc package error
R-listers,
I'm working on a project where I need to get the lowercase of the county
variable in a dataset alike to the example below (only difference is that
the full dataset has all the states and counties in the southeast United
States). I keep getting this strange error with the lowerize function
(which didn't occur the first few times I use the code below), and oddly
enough the error
2005 May 15
1
CircStats and Anova
Hi,
If I have two sets of directional data (in radians) and want to compare them with a multifactorial anova.
Is it even legitimate to compare circular data with an anova? The books I've picked up from the library don't really say, but it looks unlikely.
If it is allowable, is my having stored the data as circular (X = as.circular(A)) something the aov() function will take into account,
2011 Aug 09
1
ggplot2 setting colors for individual groups.
All,
I'm working with ggplot2 to produce some graphics that will be part of
my master's thesis. Here's what I would like to do here, (attached is
an example of how far I've gotten).
I'm working on mapping the values of several different parameters for
each station in my study. So far I've been working with
scale_color_gradientn to handle the coloring. What I would like
2011 Apr 03
1
another question on shapefiles and geom_point in ggplot2
Manuel:
I changed your variable names from x to 'long' and y to 'lat' on the
riqueza_out.csv file.
The code below should do what you want. Also, since the legend title is kind of
long, I broke it
down into three lines so you can see more plot area. I am cc'ing the other
groups so more people
use it if needed.
library(rgdal)
library(ggplot2)
library(sp)
library(maptools)
2010 Dec 02
1
parLapply - Error in do.call("fun", lapply(args, enquote)) : could not find function "fun"
Hello everybody,
I've got a bit of a problem with parLapply that's left me scratching my head
today. I've tried this in R 2.11 and the 23 bit Revolution R Enterprise and
gotten the same result, OS in question is Windows XP, the package involved
is the snow package.
I've got a list of 20 rain/no rain (1/0) situations for these two stations i
and j, all the items in this list look
2010 Oct 22
3
Conditional looping over a set of variables in R
Here's the problem I'm trying to solve in R: I have a data frame that consists of about 1500 cases (rows) of data from kids who took a test of listening comprehension. The columns are their scores (1 = correct, 0 = incorrect, . = missing) on 140 test items. The items are numbered sequentially and are ordered by increasing difficulty as you go from left to right across the columns. I want