Displaying 20 results from an estimated 800 matches similar to: "Lattice plot with fitted curves"
2006 Jul 25
3
Overplotting: plot() invocation looks ugly ... suggestions?
Hi WizaRds,
I'd like to overplot UK fuel consumption per quarter over the course of five years.
Sounds simple enough?
Unless I'm missing something, the following seems very involved for what I'm trying to do. Any suggestions on simplifications?
The way I did it is awkward mainly because of the first call to plot ... but isn't this necessary, especially to set limits for the
2009 Apr 01
2
help with ggplot2 -- ggpoint function missing?
I'm trying to follow the ggplot introduction here:
http://had.co.nz/ggplot/ggplot-introduction.pdf
I've installed ggplot2 with install.packages("ggplot2", dep=T)
but when I try to run
print(ggpoint(p, list(colour = sex)))
I get an error:
Error in print(ggpoint(p, list(colour = sex))) :
could not find function "ggpoint"
What is the problem? Has the function been
2006 Oct 04
2
Tabulation and missing values
I think this is one for Gabor. I don't seem to be able to find my way to
an answer despite numerous rereadings of factor and table.
Here is a toy example:
### Some data
EthnicCode <- c("European/Other", NA, "European/Other", "European/Other",
"Pacific", "European/Other", "European/Other",
2003 Oct 31
1
solve.Matrix() not found (PR#4887)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@r-project.org
#
######################################################
Dear R developers,
this morning I started experiencing a bizarre problem with the
2016 Sep 02
2
Ayuda con gráfico típico de histograma más linea
Y bueno, algo más bonito sí que queda con ggplot...
#---------------
datIn <- read.csv("pec.csv", header = TRUE, sep = ";", dec = ",")
library(ggplot2)
lab_x_idx <- c(1, round(nrow(datIn)/2, 0), nrow(datIn))
lab_x <- as.vector(datIn$hora[ lab_x_idx])
fre_gg <- ggplot( datIn, aes( x = 1:nrow(datIn), y = frec)) +
geom_bar(stat =
2016 Sep 03
2
Ayuda con gráfico típico de histograma más linea
Prueba algo así:
library(ggplot2)
datos <- read.table("Downloads/pec.csv", header = T, sep = ";", dec = ",")
datos$Miles <- as.numeric(gsub("\\.", "", as.character(datos$Miles)))
datos$hora <- strptime(datos$hora, format = "%H:%M")
ggplot(datos, aes(x = hora, y = Miles)) + geom_line() +
scale_x_datetime(date_breaks =
2006 Dec 11
1
two ggplot and colour=x question
Hi
I am using ggplot with the aesthetic=list(..., colour=x, ...)
ggplot()
ggline()
I have four different values in x ("ren", "cyn", "mixed", "bare") and I
have two questions
1) I would like to assign specific colours to the values, i.e. green,
red, blue and brown. How can I do this? I did not understand
map_colour_brewer.
2) I don't want the
2009 Sep 04
1
where did ggplot go?
This must be explained somewhere, but I've been searching for a couple of
hours and not found it.
What happened to ggplot? It appears to be missing on CRAN, except in the
archives.
http://cran.r-project.org/web/packages/ggplot/index.html
Has ggplot2 replaced ggplot?
I was trying to run some examples and found that "pscontinuous" and "ggline"
are not part of ggplot2.
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 Oct 27
2
qplot of ggplot package how to plot different size according to the values and not to the weights?
I have the following Data structure
$ step45 : Factor w/ 2 levels
$ obserror : num 6.2 6.2 5.6 6.6 6.6 ...
$ Mon : num 2.2 2.0 1.0 3.2 2.0 ...
$ inc.comp : num 4 5 2 5 5 5 5 5 4 4 ...
all I wanted to do is plotting Mon against obserror, the colors should
be by step45 and the size of the symbol should be according to inc.comp
so I did this:
2009 Sep 28
1
model.matrix troubles with AlgDesign
Dear DevelopeRs,
in continuing with my suite of packages on experimental design, I am stuck
with an issue that appears to be related to package AlgDesign - I have tried
to get it solved by Bob Wheeler, but he seems to be stuck as well.
Whenever AlgDesign is loaded, some of my code does not work any more. For
example, in a fresh R session:
require(DoE.base)
fac.design(nlevels=c(2,6,2))
2012 Aug 02
2
Rd] Numerics behind splineDesign
On 08/02/2012 05:00 AM, r-devel-request at r-project.org wrote:
> Now I just have to grovel over the R code in ns() and bs() to figure
> out how exactly they pick knots and handle boundary conditions, plus
> there is some code that I don't understand in ns() that uses qr() to
> postprocess the output from spline.des. I assume this is involved
> somehow in imposing the boundary
2001 Sep 08
1
multiple fitted curves plot
Dear Rusers,
How would I plot several (24) fitted curves (nonlinear least squares)
within a single plot? To get the parameters I use:
resff <- list()
for (s in levels(PairID)) {
resff[[s]] <- nls(Photo ~ SSasymp(Ci, Asym, lrc, c0),
subset = (PairID == s))
}
Is it also possible to plot two different groups (male, female) of curves
in the same plot, with different style lines?
2010 Oct 11
1
Quintum Tenor AX and Echo
Let's try this again.
I have a Quintum AX Tenor gateway sending calls to Asterisk from BT
analogue lines connected to FXO.
The agents hear an echo on their side but incoming callers hear the
conversation fine. I can't seem to find the problem. Anyone seen this
issue before?
<p style="margin: 0; padding: 0; border-collapse: collapse; font-family: Tahoma, Arial, Sans-Serif;
2006 Mar 21
0
nested anova diagnostics
Hello all,
I have two questions regarding nested anova.
I've attached a simple example, where a male is mated with 4 females,
and the intensity of the colour of the eyes is measured in two
offspring from each female.
1) As I understand it, residuals in a nested anova are the difference
between an observed value and the predicted value, which is equal to
the sample mean for the cell that
2006 Mar 23
2
lme plot
Hi all,
I have a questions regarding mixed effects models:
I'm trying to plot e.g. fitted vs residuals for each level of the
random effects, and i'm getting the same error.
I guess this might be a problem of the graphic capabilities of R.
Is there any way to obtain those plots?
library(nlme)
attach(ergoStool)
names(ergoStool)
[1] "effort" "Type"
2006 Feb 09
1
glmm.admb - bug and possible solution??
Dear Dr Skaug and R users,
just discovered glmm.admb in R, and it seems a very useful tool.
However, I ran into a problem when I compare two models:
m1<-glmm.admb(survival~light*species*damage, random=~1, group="table",
data=bm, family="binomial", link="logit")
m1.1<-glmm.admb(survival~(light+species+damage)^2, random=~1,
group="table", data=bm,
2000 May 16
4
How do I add fitted curves to coplots?
G''day
I''ve been performing an analysis of some data by a follow the leader
method (Bad I know but it seems to work and I think I understand all the
steps now) and I''ve run into a problem. The analysis is for all practical
purposes identical to the non-linear mixed effects analysis performed on
Ludbrooks Rabbit data in the second edition of Venables & Ripley (page
2006 Aug 16
2
adding multiple fitted curves to xyplot graph
Hello RHelpers,
This may already have been answered, but despite days of scouring through the archives I haven't found it.
My goal is to add multiple fitted curves to a plot.
An example data set (a data frame named df in following code) is:
x1 y1 factor1
4 1298.25 0.00000000 1
5 1393.25 0.00000000 1
6 1471.50
2006 Oct 05
2
VGAM Package ?
Hi! R users
I would like to ask you where could we find the VGAM Package. I don't find
it in the list of packages.
Thak you for your help
Lassana KOITA
Etudes de S?curit? et d'Exploitation a?roportuaires / Safety Study &
Statistical analysis
Service Technique de l'Aviation Civile (STAC) / Civil Aviation Technical
Department
Direction G?n?rale de l'Aviation Civile (DGAC) /