Displaying 20 results from an estimated 900 matches similar to: "ggplot2: setting martin"
2010 Dec 19
2
barplot: width of label
Hello,
I try to make barplots with rather wide labels. A simplified example of
this:
x <- c(12, 33, 56, 67, 15, 66)
names(x) <- c('Richard with a long surname','Minnie with a long
name,'Albert','Helen','Joe','Kingston')
barplot(x, las = 2)
Now the label 'Richard with a long surname' is too long to fit beneath the
bars. A simple solution
2013 Dec 15
3
how to add a line in the graph?
t<--4:4
y<-c(5,7,10,13,15,16,14,12,11)
plot(t,y,type="l")
how can i add a curve y=0.83*t-0.44*t^2 in the graph?
[[alternative HTML version deleted]]
2013 Feb 17
2
How to findout the name of a dataframe
Let'say we have a dataframe mydata with column v1. If mydata$v1 is passed
to a function, is there way, then, to extract the name of the dataframe?
What I now do is passing the name of the dataframe to the funcion, so
passing two parameters. Maybe with mydata$v1 it is not possible, but with
mydata['v1'] or mydata[,'v1'] it is?
Thanks
Frans
-------------------
Frans Marcelissen
2012 Sep 13
2
rstudio client on the i-pad
Hi,
The combination of ipad+rstudio (server) would be a fantastic combination-if
it worked. It _is_ possible to run rstudio in the safari browser of the
ipad, but the keyboard doesn't work correctly (blanks are inserted after
each character), making it almost impossible to use. Does anyone know a
solution? Or know when a solution is ready?
-------------------
dr F.H.G. (Frans) Marcelissen
2011 Jun 16
2
cannot install Rcmdr on ubuntu 11.4
Hello,
For one reason or another, I cannot install Rcmdr on my R 2.12.2 ubuntu 11.4 system.
I run R as root When I try to install Rcmdr, then whatever mirror I select, I get the message:
install.packages('Rcmdr',dependencies=TRUE)
Installing package(s) into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk
2008 May 07
3
use list elements to subtract values from the dataframe
Hi,
I have a dataframe wf existing of a header with different labels and beneath
the values of those labels :
wf:
label1 label2 ...
0,45 0,21
0,10 0,45
.... ....
I have a list
fl <- c("label2","label3",..)
Isn't possible to use the list elements in the list in order to subtract
values from the dataframe? like :
wf$fl[[1]]
When I do in R I get :NULL
2012 Dec 21
0
setting the margin size in ggplot2
Is it possible to set the margin in ggplot to a fixed size?
I create many plots, and I want them to look the same.
Especially I want them to have the same left margin, with different labels.
But
P<-ggplot()+geom_bar(aes(c("short
label1","short label2"),runif(2)))+coord_flip()
creates a plot with another margin as
P<-ggplot()+geom_bar(aes(c("very very very very
2008 Oct 01
3
lapply where each list object has multiple parts
Hi. I have a list where each object in the list has multiple parts. I'd
like to take the mean of just one part of each object. Is it possible to do
this with lapply? If not, can you recommend another function? Thanks.
eric
> x1 <- c(0,1,2,3)
> x2 <- c(7,8)
> x3 <- c(2,6,6,8)
> x4 <- c(4,8)
>
> Lst1 <- list(label1 = x1,label2 = x2)
> Lst2 <-
2008 Dec 02
3
boxplot via plot command
Hi folks,
I've just discovered that the following code leads to boxplot (surprisingly to me).
Can anybody explain to me why? Is this documented somewhere? I've never
consider this option before.
x <- rnorm(300)
l <- c(rep("label1",100), rep("label2",50), rep("label3",150))
df <- data.frame(as.factor(l), x)
plot(df)
Thank you!
Antje
2015 May 28
2
[LLVMdev] PGO for macro expansion code
#define GET_BIT(lll) \
// blah blah
#define G(label1,label2) \
{ \
// decent amount code \
...
while (1) { \
GET_BIT(label2); \
}; \
}
void f() {
if (..)
G('c', 'd');
while ( .. )
G('a','b');
}
After perf sampling, a lot
2007 May 09
2
Thunderbird or Dovecot bug? (multiple keywords)
Here's a strange one. I have a user who's using Thunderbird 2.0.0 and
assigning multiple tags (keywords) to emails, which are getting "lost"
(I'll explain) when he leaves the folder and comes back. I can reproduce
this on *his* account myself, but cannot reproduce it on *my* account
(separate new TBird 2.0.0 profiles on Windows XP).
Use the two TBird default tags
2013 Apr 02
1
R 14.0, ggplot2: could not find function "initRefFields"
Hi,
I have a problem combining R and SPSS (21). I do not know whether the
solution is in R or in spss, so I will post both in the R group and in the
SPSS group.
I use the R plugin in spss(21). The most important reason to use this
plugin is ggplot2 (spss does not have a decent graphical system). This
plugin requires R 14.0 (14.2 or 15 does not work).
When I install R it gives an warning:
>
2010 May 01
1
My dovecot does not store Thunderbird flags
Hi all,
my Dovecot 1.1.20 does not store flags (I mean, Thunderbird Labels
like ToDo, Important and so on..)
When logging in via telnet, I get:
. examine INBOX
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk $MDNSent
Junk $Forwarded NotJunk receipt-handled $Label7 $label1 $label2
$label3 $label4 $label5 expired_2w expired_2m delete rimandata
forwarded)
* OK [PERMANENTFLAGS ()]
2007 Jan 16
2
[LLVMdev] Indirect branch instruction
On Tue, 16 Jan 2007, Nicolas Geoffray wrote:
>> Can you give a compilable C function as an example?
>>
>>
> Well I'm not sure on how to do this in C, but in x86 assembly a simple
> jmp %eax does it.
I don't understand. You're making a claim that the C compiler isn't
producing optimal code for some case. Can you give an example of a C
function that llvm
2017 May 23
2
[imaptest] Explaining errors
Hi,
I'm an Apache James committer and we are curious to use imaptest in
order to validate our IMAP protocol implementation.
I'm using the nightlybuild : imaptest-20170506
I follow the examples given in the /T/ /est IMAP server compliancy/
examples https://imapwiki.org/ImapTest/Examples.
And I wanted to analyse the errors reported, here are some:
Error: user1 at james.org[11]: seq too
2006 Apr 25
6
Searching over multiple MySQL tables
I am racking my brain over this, probably because I only know very
simple mysql functions.
Basically I''ve got a few tables, ex:
Albums (id,name,band_id); Bands (id,name,label_id), and Label (id,name)
I want to search through both album.name, band.name, and label.name
throwing all results into a variable, with no redundant info.
I think what I need to be doing is setting up some
2015 May 28
0
[LLVMdev] PGO for macro expansion code
On 05/28/15 15:27, Yuanfang Chen wrote:
> #define GET_BIT(lll) \
> // blah blah
>
> #define G(label1,label2) \
> { \
> // decent amount code \
> ...
> while (1) { \
> GET_BIT(label2); \
> }; \
> }
>
> void f() {
> if (..)
2009 Jul 10
2
ifmem.c32
Hello,
This module can be used to select the files to boot according to the
memory size:
http://hg.slitaz.org/wok/raw-file/d5f670b08670/syslinux/stuff/extra/ifmem.c
Usage:
kernel ifmem.c32
append SizeInKB LabelLarge [SizeInKB LabelMedium]... LabelTiny
Slitaz webboot (http://boot.slitaz.org/) uses it in the main configuration
files: http://mirror.slitaz.org/pxe/pxelinux.cfg/default
-pascal
2003 Jul 15
3
Conditional Contexts
I was wondering if the following was possible:
2 separate incoming contexts. The first will be used when
there is a secretary present. The second will be used when there is
no secretary.
I know that this can be done using includes and specifying the time
in which each separate context would be included. However, I would
like to be able to switch them from the reception telephone.
For
2004 Apr 13
1
Problem with flags
Greetings! I'm having a problem with flags not working correctly. I'm
using Mozilla Thunderbird as my mail client, and Dovecot 0.99.10.4 as
part of Debian on a Sparc box.
The thing that doesn't seem to be working right is Thunderbird's Label
feature, which uses custom IMAP flags. I noticed that once I labeled a
message, I couldn't un-label it. I recorded this exchange