Displaying 20 results from an estimated 400 matches similar to: "ggplot2 axis color"
2007 Jul 18
1
Saving a dataset permanently in R
HI:
I'm still struggling with datasets, the more I read
about it the more confussed I get. This is the
scenario... In R console|Edit|Data Editor, I can find
all the datasets available with the different
packages, So to create a new dataset in the R console
I use the following commands to create an empty data
frame.
My_Dataset <- data.frame()
My_Dataset <- edit(My_dataset)
The problem is
2007 Aug 16
2
R graphics display window
Hi all:
How can the R graphics window be customized
programmatically? Either minimized,maximized or change
the size of the default that ships with R.
Thanks
Felipe D. Carrillo
Fishery Biologist
US Fish & Wildlife Service
Red Bluff, California 96080
2007 Jul 15
1
How to load a dataset
Hi:
Since I didn't get any answers, I'll refresh my question.
I have a dataset called "Chinook Run" saved in Excel and I want it to be loaded everytime R starts, so I can call it with a statement like the one below:
qplot(color, Year/Forklength, data = Chinook Run)
I wonder how can I do that.
I went to the rprofile.site and copied the path to my dataset there and it
2012 Jul 19
2
problem with using apply for dataframe
Dear people,
I am including an example of a dataframe:
mydataframe<-data.frame(X=c(1:4),total_bill=c(16.99,10.34,21.01,23.68),tip=c(1.01,1.66,3.50,3.31),sex=c("Male","Male","Male","Female"))
When I use the sapply function getting the information about the factors
works:
sapply(mydataframe,function(x)is.factor(x))
X total_bill tip
2006 Mar 07
3
Making an S3 object act like a data.frame
"[.ggobiDataset" <- function(x, ..., drop=FALSE) {
x <- as.data.frame(x)
NextMethod("[", x)
}
"[[.ggobiDataset" <- function(x, ..., drop=FALSE) {
x <- as.data.frame(x)
NextMethod("[[", x)
}
"$.ggobiDataset" <- function(x, ..., drop=FALSE) {
x <- as.data.frame(x)
NextMethod("$", x)
}
> class(x)
[1]
2004 Aug 01
2
tables and default
I already setup several 2 gateways boxes, with rules too decide which lan
should use which gateway.
Now I''m stuck with a simpler problem. At home I was just making some
experimental setup:
* 1 adsl (ppp0)
* 1 more tables in rt_tables (200 ping) called "bluff"
* table ''bluff *has not* a default route
root@fw-eden root # ip ro li table bluff
2007 May 13
1
adding custom details to ggplot subplots
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070513/ab60c7ed/attachment.pl
2006 Aug 02
4
ggplot facet label font size
How do I change the font size in the facet labels along the edges of the
plot?
For example (from the ggplot help file):
p<-ggplot(tips, sex ~ smoker, aesthetics=list(x=tip/total_bill))
gghistogram(p)
In this plot, the facet labels are "smoker: No", "smoker: Yes", "sex:
Female", "sex: Male". What command can I use to reduce the font size of
2012 Oct 11
2
struggling with R2wd or SWord? Try rtf!
I have been looking for a way to write R-generated reports to Microsoft
Word documents. In the past, I used the package R2wd, but for some reason
I haven't been able to get it to work on my current set up.
R version 2.15.0 (64-bit)
Windows 7 Enterprise - Service Pack 1
Microsoft Office Professional Plus 2010 - Word version
14.0.6123.5001 (32-bit)
I gave the package
2006 Feb 15
1
S3 generics without NS and cleanEx()
Good morning,
we recently observed a problem with importing S3 generics from a foreign
package (without namespace), defining a S3 method in a package _with_
namespace and the `cleanEx()' function which is automatically generated
and executed before examples are run by R CMD check.
To be more precise. Package `strucchange' defines a S3 generic
sctest <- function(x, ...)
2011 Mar 29
1
ggplot2: scale_y_log10() with geom_histogram
Dear ggplot2 users,
is there an easy/elegant way to suppress zero count bars in histograms with
logarithmic y axis ?
One (made up) example would be
qplot(exp(rnorm(1000))) + geom_histogram(colour = "cornsilk", fill =
"darkblue") + scale_x_sqrt() + scale_y_log10()
Thanks!
Markus
[[alternative HTML version deleted]]
2003 Jul 22
4
greek in main title
Hello,
I have written a function that demonstrates the CLT by
generating samples following the exponential distribution,
calculating the means, plotting the histogram, and drawing
the limiting normal curve as an overlay. I have the title
of each histogram state the sample size and rate (1/theta)
for the exponential (the output is actually 4 histograms),
but I can't get the greek letter theta
2002 Feb 17
5
Horizontal Boxplot
Hello all.
I'm just a beginner trying to draw a boxplot and I don't know why every time
I try to make it horizontal I receive the error message "parameter
'horizontal' couldn't be set in high-level plot() function". Can anybody give
me an advice?
Here is the code:
opar <- par(ask = interactive() && (.Device == "X11" || .Device ==
2013 May 06
1
libvirt API reference disappeared from website
Hi,
I think the API Reference for libvirt disappeared from libvirt.org:
browsing to http://libvirt.org/html/libvirt-libvirt.html
delivers no content.
The content is still available via google cache
http://webcache.googleusercontent.com/search?q=cache:libvirt.org/html/libvirt-libvirt.html
So, is this removed on purpose? Or is this some bluff from my browser (but I checked this from different
2006 Mar 10
0
[JOB] Ruby/RoR Software Engineer, Lake Bluff, IL | 75-120k
Ruby/RoR Software Engineer, Lake Bluff, IL | 75-120k
My client is looking for highly talented software engineer to complement its development team.
Candidate will be part of a team of developers building complex web based applications. He or she will be involved in architectural decisions and be responsible for implementing parts of the system. It will be important for the candidate to be able
2001 Feb 04
1
Linux shared library problem (PR#838)
Full_Name: Daniel Egloff
Version: 1.2.1
OS: Linux Redhat 7.0
Submission from: (NULL) (212.35.34.200)
Externals in the shared library libc.so.6 not found. See the
following R session, with the abort message at the end.
> demo(graphics)
demo(graphics)
---- ~~~~~~~~
Type <Return> to start :
> opar <- par(ask = interactive() && (.Device %in%
2002 Nov 08
0
Polar plot, circular plot (angular data): II
Dear R-users,
As noted by Paul Murrell < p.murrell at auckland.ac.nz > there is errors in the code for polar plotting I send to R-help under the title "Polar plot, circular plot (angular data)" at Thu Oct 17 2002 - 12:18:20 CEST.
Thanks!
I have reorganized the code into a structure ('pp'). This allows plots to be modified to a greater extent by passing arguments by ...
2020 Oct 23
5
How to shade area between lines in ggplot2
Hello,
I am running SVM and showing the results with ggplot2. The results
include the decision boundaries, which are two dashed lines parallel
to a solid line. I would like to remove the dashed lines and use a
shaded area instead. How can I do that?
Here is the code I wrote..
```
library(e1071)
library(ggplot2)
set.seed(100)
x1 = rnorm(100, mean = 0.2, sd = 0.1)
y1 = rnorm(100, mean = 0.7, sd =
2007 Nov 08
1
ggplot2 geom_abline slope not working?
I am learning ggplot2, and need your help.
When I try
> p <- ggplot(mtcars, aes(x = wt, y=mpg)) + geom_point()
> p + geom_abline(slope=5)
(from http://had.co.nz/ggplot2/geom_abline.html)
the slope of the abline does not change, but this works:
> p + geom_abline(intercept=20)
In order to have slope work, I have to use
> p + geom_abline(aes(slope=5))
Is it a bug, or is there
2020 Oct 23
0
How to shade area between lines in ggplot2
Hi
Did you try google? I got several answers using your question
e.g.
https://stackoverflow.com/questions/54687321/fill-area-between-lines-using-g
gplot-in-r
Cheers
Petr
> -----Original Message-----
> From: R-help <r-help-bounces at r-project.org> On Behalf Of Luigi Marongiu
> Sent: Friday, October 23, 2020 9:59 AM
> To: r-help <r-help at r-project.org>
> Subject: