Displaying 20 results from an estimated 300 matches similar to: "ggplot, qplot in loop"
2008 Sep 24
1
qplot, stacked area, own colourscheme
Dear list,
I would like to apply my own colours to a stacked area plot, done with
qplot, but I have not succeeded...
What do I have so far (I am dealing with the development of cover of
specific groups of plants):
library(ggplot2)
library(RODBC)
channel <- odbcConnect("myusername", case="tolower")
sql <- "select trial, cover_of, dateofsurvey, cover from
2012 May 09
2
plot betadisper, change of pch
Hello!
After performing an analysis with betadisper, package vegan I would like
to plot the results - so far, so good. But I would also like to "tune" a
little bit the plotting characters, as '+' and 'x' are a little to
similar...
My (boiled down) code:
[See session info at the bottom of the mail, vegan is vegan_2.0-3]
mod <- betadisper(mydata, mygroups,
2008 May 05
2
RODBC and schemas
I have found that the "schema.table" syntax used in Postgresql (and
Oracle) does not work directly with RODBC.
This works
library(RODBC)
con<-odbcConnect("mydb")
d<-sqlQuery(con,"select * from meso.trees")
However this does not.
d<-sqlFetch(con,"meso.trees")
Error in odbcTableExists(channel, sqtable) :
?meso.trees?: table not found on channel
2008 Jul 18
3
Change font-face in title
Dear List,
Is there a possibility to change the font-face for a part of the title
of a plot?
For example I have the following...
plot(nirs, type="l", xlab="Wellenl?nge [nm]", col="darkslategray",
main = "Spektrum Deschampsia caespitosa")
...and I would like to change the part of the title-string "Deschampsia
caespitosa" to italics? Is
2011 Oct 19
1
Cairo creates italized plots?
Hi,
Has anyone else run into this weird behaviour where the text in the plots
created using Cairo are always italicized. For example,
library(Cairo)
Cairo(file='cairo_created', type='pdf', dpi=100)
plot(1:10)
dev.off()
This produces the following attached 'cairo_created.pdf' graph. Notice how
the text is italicized. The same code but using pdf() as the graphics
2010 Mar 09
3
Help! I turned my data into junk!
I posted my data for a midterm into notepad and it turned into symbols. The
other bit I posted turned out just fine, but for some reason this one messed
up. I need this stuff for a class. Anyone know how to get my data back.
Please help soon!
--
View this message in context: http://n4.nabble.com/Help-I-turned-my-data-into-junk-tp1585481p1585481.html
Sent from the R help mailing list archive
2008 Jul 23
2
Using RODBC to use SQL queries
Hello,
I am new to the RODBC package, but I have looked over the PDF as well as a few websites that go over the SQL language. I can connect to my database fine using
>channel<-odbcConnect("Oracle ODBC")
# then am prompted to enter my user id and password
After that I'd like to use the odbcQuery function and the SQL statement:
SELECT * FROM table_name WHERE SAMPLE_YEA LIKE
2000 Feb 29
0
mapping of colornames into hsv: half way done
Ok,
now we have the mapping of color names to color codes (see below) and
conversion to rgb (something like Ben Bolker's function), but how to convert
rgb to hsv?
Thanks to Brian Ripley, Peter Dalgaard and Ben Bolker
Details below
Regards
Jens
etc/colors.big maps 455 names to rgb in S syntax
etc/rgb.txt maps 657 names to rgb in C syntax, but unlike colors() it has
mixed upper and
2017 Nov 11
5
Primer for working with survey data in R
I am taking a behavioral stats graduate class and the instructor is using
SPSS. I'm trying to follow along in R.
Recently in class we started working with scales and survey data, computing
Cronbach's Alpha, reversing values for reverse coded items, etc.
Also, SPSS has some built in functionality for entering the meta-data for
your survey, e.g. the possible values for items, the text of
2010 Nov 23
1
specifying colours in a ggplot2 piechart
Someone was asking how to do a 16 category piechart in OpenOffice Calc and it appears that it can not be done (which we, probably, should be happy about) but I thought that I'd try it in ggplot2.
It works but I then thought I'd like to make the colours more distinctive but fro some reason I don't seem to be able to use manually assigned colours.
Can anyone suggest where I'm
2006 Apr 27
1
losing x-label when exporting to PNG
I have a simple barplot that looks fine in the R
graphics device window. However when I export it to
png I am losing the x-label. It must be an obvious
problem but I cannot see it. Trying to resize the plot
does not seem to help. Code is below.
Any help gratefully received.
###### Start Code############
Groups <-c(21.8,45, 43, 17.2, 8.3, 18)
names(Groups) <- c("Exeter",
2011 Mar 03
2
Greek character and R
Dear R users.
In a loop, I set the title of my graph with :
mytitle = expression(paste(delta^13,'C Station ', i)
title(mytitle)
However, instead of using value of i, it will literally use "i" character.
Any one know the way to concatenate the value of i to the mathematical
expression?
With regards,
Phil
--
View this message in context:
2018 May 12
2
Formula/heuristic for estimating packet size?
Thanks for the input!
--Albin
On Sat, May 12, 2018 at 6:00 PM, Orestes Zoupanos
<oresteszoupanos at hotmail.com> wrote:
> Hi Albin!
>
> There may be some details at: https://tools.ietf.org/html/rfc7845#section-6
>
> Otherwise, I hope someone else on this list might be able to give a better
> formula for estimating packet size.
>
> Regards,
>
> Orestes
>
2007 Mar 04
1
Problem using callNextMethod() in S4
Dear all,
Maybe, I am doing something wrong, but using R-2.5.0 on my Intel-Mac, I
have problems
using function callNextMethod() in method initialize.
I am loading the following code as file "testS4.R":
setClass("baseClass",
representation(myname = "character",
mydir = "character",
"VIRTUAL"),
2018 May 12
1
Formula/heuristic for estimating packet size?
Note also that the packet size you give the encoder also acts as an
absolute max on the bitrate. For example, if you ask for 32 kb/s VBR but
give a max packet size of 120 bytes, then you're absolutely certain the
bitrate will never go over 48 kb/s.
Jean-Marc
On 05/12/2018 12:42 PM, Albin Stigö wrote:
> Just a follow up... I guess I was a bit confused about the VBR
> setting. I realise
2007 Apr 26
2
SweaveInput and absolute paths
Hi,
Is there a way to turn off the automatic inclusion of "./" at the
beginning of a path specified in an \SweaveInput{} instruction?
I'd like to create some reusable "template modules" of Sweave code and
put them in a standard directory like
/Resources/Affymetrix
Then the corresponding file that uses one of these would include a
command like
2018 May 12
2
Formula/heuristic for estimating packet size?
Hello,
I'm working on an Opus encoder block for GNUradio (a signal processing toolkit).
I was wondering if there's some formula/heuristic for estimating the
packet size average case / worst case given a certain encoder setting
(assuming VBR).
I need to provided a reasonable estimate to the GNUradio memory allocator.
--Albin
2011 Nov 27
1
conflict when passing an argument to a function within an other function
Dear all,
I have a problem with this piece of code which I don't really see how to
overcome and I think it might also be of more general interest:
map(xlim=c(-10,40),ylim=c(30,60)
,mar=rep(0,4)+.1
,fill=T
,col="darkseagreen"
,bg="skyblue"
)
The idea is to use the map function from the maps package to draw a map of
Europe. By default with the argument fill=T there is
2016 Apr 28
4
Where can I find the CentOS gpg keys?
Hi!
I'm currently using a non-CentOS system, and wondering where I can find
the GPG keys so I can verify the checksum file?
The page on the website (https://www.centos.org/keys/) only give
information where I can find them on an already installed system.
Regards,
Albin
2017 Mar 14
2
gráfico jpg png
Estimados
Hace unos días envié un correo porque tenía problemas para guardar los gráficos en el disco rígido, utilizando R server 9, comentaba que el código antes funcionaba pero que tenía fallas.
No encuentro mi mensaje en la lista para continuar el hilo, encontré el problema, no lo comprendo del todo pero cambiando jpg por png funciona, aparentemente hay un inconveniente para guardar en jpg.