Displaying 20 results from an estimated 900 matches similar to: "ggplot seq"
2017 Nov 05
0
Change colour of line in logi.hist.plot
> On Nov 5, 2017, at 6:03 AM, G?ran Bergqvist <Goran.Bergqvist at jagareforbundet.se> wrote:
>
> I am using the function logi.hist.plot in package popbio. I want to change the colour of the probability line from the default red to black. I have not been able to find out how to do that.
If you look at the code for that function you see this line:
logi.curve <-
2009 Oct 19
1
Reposting various problems with two-way anova, lme, etc.
Hi,
I posted the message below last week, but no answers, so I'm giving it
another attempt in case somebody who would be able to help might have missed
it and it has now dropped off the end of the list of mails.
I am fairly new to R and still trying to figure out how it all works, and I
have run into a few issues. I apologize in advance if my questions are a bit
basic, I'm also no
2012 Mar 15
3
Adding mean values to boxplots
Hello there,
I was wondering if anyone might be able to help me as I'm pretty new to R.
I'm trying to create a boxplot from a data table returned from an sproc. I
have the following code, which generates the plot as I'd like it:
library("RODBC");
conn <- odbcConnect("datawarehouse"); # connect to datawarehouse
results <- sqlQuery(conn, "call
2012 May 07
1
How can I brake a label in two lines when using expression()?
I making an xyplot and the y label is too long and needs to be in two rows, but when I brake it there is a huge gap between the last text string and the expression, and I can't get rid of it. Any ideas?
Data:
structure(list(Temp = c(8L, 8L, 8L, 8L, 8L, 8L, 12L, 12L, 12L,
12L, 12L, 12L), CO2 = c(380L, 380L, 380L, 750L, 750L, 750L, 380L,
380L, 380L, 750L, 750L, 750L), Treat = structure(c(3L,
2017 Nov 05
3
Change colour of line in logi.hist.plot
I am using the function logi.hist.plot in package popbio. I want to change the colour of the probability line from the default red to black. I have not been able to find out how to do that.
[[alternative HTML version deleted]]
2011 Jun 08
3
How to suppress factor labels
I am using ggplot2 to make a boxplot that overlays a scatterplot:
pp = qplot(time, error, data=times, size=I(1), geom="jitter", main=title,
ylab="Error (min)", xlab="Time before ON (min)", alpha=I(1/10),
color=times$runway,
ylim=c(-30,40))
pp2 = pp + with(times, facet_wrap(~ runway, ncol=2))
print(pp2 + geom_boxplot(alpha=.5,
2011 Jun 10
1
Double x grid in ggplot2
I am trying to overlay raw data with a boxplot as follows:
pp = qplot(factor(time, levels=0:60, ordered=TRUE),
error, data=dfsub, size=I(1), main =" title", ylab="Error
(min)",
xlab="Time before ON (min)", alpha=I(1/10),
ylim=c(-30,40), geom="jitter") +
facet_wrap(~ runway, ncol=2) +
2004 Jul 25
2
Colors in survival plots
Hi,
Sorry to trouble the list - I would like to ask a question - I can't
find the answer in the r-help archives.
I am trying to plot 2 survival curves in different colors.
What I have tried is this
plot(survfit(sim.surv ~ sim.km.smpl),col="red")
but both the survival curves turn red...
Your advice would be most appreciated! Thank you.
Min-Han
2004 Feb 26
3
Help with multicolored points in one plot
Hello all,
I have a situation where I'd like to plot points from multiple groups of
data in one plot. I'd like each group's points to be colored a different
color. I've seen people comment on how you can alternate colors by
providing a range of colors and then it will loop through each color as it
plots individual points. However, that just goes by individual points and
not by
2009 Apr 25
1
Overlapping parameters "k" in different functions in "ipred"
Dear List,
I have a question regarding "ipred" package. Under 10-fold cv, for different knn ( = 1,3,...25), I am getting same misclassification errors:
#############################################
library(ipred)
data(iris)
cv.k = 10 ## 10-fold cross-validation
bwpredict.knn <- function(object, newdata) predict.ipredknn(object, newdata, type="class")
for (i in
2009 Oct 15
0
Two way anova repeated measures and post hoc testing - several questions
Hi,
I am fairly new to R and still trying to figure out how it all works, and I
have run into a few issues. I apologize in advance if my questions are a bit
basic, I'm also no statistics wizard, so part of my problem my be a more
fundamental lack of knowledge in the field.
I have a dataset that looks something like this:
Week Subj Group Readout
0 1 A 352.2
1 1 A
2012 May 03
1
braking a label in two lines when using expression()
I making an xyplot and the y label is too long and needs to be in two rows, but when I brake it there is a huge gap between the last text string and the expression, and I can't get rid of it. Any ideas?
Data:
structure(list(Temp = c(8L, 8L, 8L, 8L, 8L, 8L, 12L, 12L, 12L,
12L, 12L, 12L), CO2 = c(380L, 380L, 380L, 750L, 750L, 750L, 380L,
380L, 380L, 750L, 750L, 750L), Treat = structure(c(3L,
2013 Aug 29
23
[PATCH] Btrfs: optimize key searches in btrfs_search_slot
When the binary search returns 0 (exact match), the target key
will necessarily be at slot 0 of all nodes below the current one,
so in this case the binary search is not needed because it will
always return 0, and we waste time doing it, holding node locks
for longer than necessary, etc.
Below follow histograms with the times spent on the current approach of
doing a binary search when the
2011 Dec 04
1
Polishing my geom_bar for publication
Dear list,
I am new with ggplot2 and I have spend quiet some time putting together the following code to create the attached plot. However there's still a few things that I'm having trouble with!
I would be grateful if someone can tell me how to fix (1) the colour of my bars into grey scales (2) removing the y-axis (species name) on the right figure to avoid duplication, and (3) fix the
2017 Jan 04
0
seq.int/seq.default
>>>>> Mick Jordan <mick.jordan at oracle.com>
>>>>> on Tue, 3 Jan 2017 07:57:15 -0800 writes:
> This is a message for someone familiar with the implementation.
> Superficially the R code for seq.default and the C code for seq.int
> appear to be semantically very similar. My question is whether, in fact,
> it is intended that
2008 Jul 03
2
assertion failed: (seq >= t->first_new_seq && seq <= t->last_new_seq)
Hi guys,
Anyone know what this error with deliver is (v1.1.1)?
2008-07-03T09:45:19+01:00 mail4 deliver(alexander): Panic: file
mail-index-transaction.c: line 642 (mail_index_transaction_lookup):
assertion failed: (seq >= t->first_new_seq && seq <= t->last_new_seq)
Seen a few of these this morning.
Mark
--
Mark Zealey -- Shared Hosting Team Leader
Product Development *
2017 Jan 05
0
seq.int/seq.default
>>>>> Mick Jordan <mick.jordan at oracle.com>
>>>>> on Wed, 4 Jan 2017 08:15:03 -0800 writes:
> On 1/4/17 1:26 AM, Martin Maechler wrote:
>>>>>>> Mick Jordan <mick.jordan at oracle.com>
>>>>>>> on Tue, 3 Jan 2017 07:57:15 -0800 writes:
>> > This is a message for someone familiar
2009 Dec 28
2
seq.int broken (seq as well) (PR#14169)
Full_Name: Jens Oehlschl?gel
Version: 2.10.1
OS: Windows XP
Submission from: (NULL) (156.109.18.2)
# fine as expected from help page:
# "from+by, ..., up to the sequence value less than or equal to to"
# thus 1+10=11 is not in
> seq.int(1L, 10L, by=10L)
[1] 1
# of course 1+1e7 should also not be in
# but is: wrong
> seq.int(1L, 1e7L, by=1e7L)
[1] 1e+00 1e+07
# since we use
2010 Sep 30
1
History of seq and seq.int
I wonder what is the history of "seq" and "seq.int"?
>From "help(seq)", one reads that "'seq.int' is an internal generic
which can be much faster but has a few restrictions". And indeed,
"seq.int(1,99,by=2)" is over 40 times faster than "seq(1,99,by=2)" in
a quick test I just did. This is not surprising given that
2010 Jun 30
2
ggplot qplot bar removing bars when truncating scale
I'm having problems with this example, it is posted with reproduceable code
below, both with the normal 0-6 scale and the desired 3-6 scale (with bars
removed). How can I get the graph to have the desired 3-6 scale without
removing the bars. Thanks!
#Data