Displaying 20 results from an estimated 3000 matches similar to: "Geom_smooth"
2017 Sep 07
0
Geom_smooth
> On Jul 20, 2016, at 10:01 AM, Tom Subia <tgs77m at gmail.com> wrote:
>
> Default level = 0.95.
> Does this mean +/- 0.025 from estimate?
>
> [[alternative HTML version deleted]]
I would have guessed that it meant something along the lines of localized (or one might say "loess-ized") mean +/- 2* similarly localized standard error of the estimate. To find out
2023 Aug 12
2
geom_smooth
Colleagues,
Here is my reproducible code for a graph using geom_smooth
set.seed(55)
scatter_data <- tibble(x_var = runif(100, min = 0, max = 25)
?????????????????????? ,y_var = log2(x_var) + rnorm(100))
library(ggplot2)
library(cowplot)
ggplot(scatter_data,aes(x=x_var,y=y_var))+
? geom_point()+
? geom_smooth(se=TRUE,fill="blue",color="black",linetype="dashed")+
2023 Aug 12
1
geom_smooth
?s 05:17 de 12/08/2023, Thomas Subia via R-help escreveu:
> Colleagues,
>
> Here is my reproducible code for a graph using geom_smooth
> set.seed(55)
> scatter_data <- tibble(x_var = runif(100, min = 0, max = 25)
> ?????????????????????? ,y_var = log2(x_var) + rnorm(100))
>
> library(ggplot2)
> library(cowplot)
>
> ggplot(scatter_data,aes(x=x_var,y=y_var))+
2023 Aug 12
1
geom_smooth
G'day Thomas,
On Sat, 12 Aug 2023 04:17:42 +0000 (UTC)
Thomas Subia via R-help <r-help at r-project.org> wrote:
> Here is my reproducible code for a graph using geom_smooth
The call "library(tidyverse)" was missing. :)
> I'd like to add a black boundary around the shaded area. I suspect
> this can be done with geom_ribbon but I cannot figure this out. Some
>
2024 Oct 17
6
JASP vs R
Colleagues,
Many of my colleagues come to me for a recommendation for statistical
software.
Since I am an R user, that's my typical answer.
Some colleagues of mine refuse to use it because of its steep learning curve
and lack of a GUI.
They wanted a statistical software that's free and that had a GUI.
I recently learned about JASP. See https://jasp-stats.org/ for more details
This may be
2011 Sep 30
2
ggplot2 - extracting values of smooth
Suppose that I'm working on Hadley's diamond dataset and I want to
review the relationship between price, colour and carat.
I might run the following:
library(ggplot2)
#plot scatter and add some hex binning
q<-qplot(carat,price,data=diamonds, geom=c("hex"),
main="Variability of Diamond Prices by Carat and Colour")
#facet to get one scatter for
2023 Jul 22
1
plotly
What do you mean "Rounded"?
What do you expect, what do you get instead?
?
> On Jul 22, 2023, at 10:40, Thomas Subia via R-help <r-help at r-project.org> wrote:
>
> Colleagues,
> Thanks for the update.
> My colleagues at work have run this script but the resulting graph output for value is rounded. How can one turn this annoying feature off?
> I've
2011 Oct 21
1
lattice::xyplot/ggplot2: plotting weighted data frames with lmline and smooth
In the HistData package, I have a data frame, PearsonLee, containing
observations on heights of parent and child, in weighted form:
library(HistData)
> str(PearsonLee)
'data.frame': 746 obs. of 6 variables:
$ child : num 59.5 59.5 59.5 60.5 60.5 61.5 61.5 61.5 61.5 61.5 ...
$ parent : num 62.5 63.5 64.5 62.5 66.5 59.5 60.5 62.5 63.5 64.5 ...
$ frequency: num 0.5 0.5
2008 Feb 03
3
Drawing a loess line
Dear all,
To draw a lowess line on a plot was a piece of cake; to draw a loess
line, however, seems not that easy. Is the loess plotting implemented
at all in relation to the loess function, or do I have to look in
add-on packages?
Thanks,
Marcin
2012 Mar 15
2
ggplot2: goem_smooth and suppress messages
Hi
When I run my script using ggplot and geom_smooth I get messages that I
would like to suppress:
p <- ggplot(dataSubset)
p <- p + aes(x = as.Date(factor(key),format="%Y%m%d")) + geom_line()
p <- p + geom_smooth(span=0.2,se=FALSE,size=0.7)
The messages look like this:
geom_smooth: method="auto" and size of largest group is <1000, so using
loess. Use 'method
2009 Aug 18
1
ggplot2: geom_smooth and legend
Hi all,
Is that possible to remove the grey colour in the legend key that goes
with the geom_smooth? In my case it doesn't ease the reading of the
legend.
http://www.4shared.com/file/125864977/e10644f8/desorb.html
Cordialement / Regards
-------------------------------------------
Benoit Boulinguiez
Ecole de Chimie de Rennes (ENSCR) Bureau 1.20
Equipe CIP UMR CNRS 6226 "Sciences
2010 Nov 01
3
Mean and individual growth curve trajectories
I'm trying to understand how to plot individual growth curve trajectories,
with the overall mean trajectory superimposed (preferably in a slightly
thicker line, maybe in black) over the individual trajectories. Using the
sleepstudy data in lme4, here is the code I have so far:
library(lme4)
library(lattice)
xyplot(Reaction ~ Days, data = sleepstudy, group = Subject, type = 'l')
2010 Sep 29
1
Obtaining lattice equivalent smoothed (loess) plot in ggplot
Hello,
I have been struggling to do a plot in ggplot(2) that's of lattice equivalent. The following code shows the lattice plot.
2007 Jul 17
2
xyplot for longitudinal data
Dear R-help subscribers,
I use xyplot to plot longitudinal data as follows:
score<-runif(100,-4,5)
group<-sample(1:4,100,rep=T)
subject<-rep(1:25,4)
age<-rep(runif(4,1,40),25)
df<-data.frame(score,group,age,subject)
xyplot(score~age|group, group=subject,
panel=function(...){
panel.loess(...,lwd=4)
panel.superpose(...)}
,data=df)
this produced a plot with four panels one for each
2013 Dec 17
1
ggplot2: stat_smooth for family=binomial with cbind(Y, N) formula
With ggplot2, I can plot the glm stat_smooth for binomial data when the
response is binary or
a two-level factor as follows:
data("Donner", package="vcdExtra")
ggplot(Donner, aes(age, survived)) +
geom_point(position = position_jitter(height = 0.02, width = 0)) +
stat_smooth(method = "glm", family = binomial, formula = y ~ x,
alpha = 0.2, size=2)
But how can I
2011 Aug 08
2
confidence interval as shaded band (lme)
Hi all,
I?m trying to plot confidence intervals for the fitted values I get with my
lme model in R.
Is there any way I can plot this in the form of a shaded band, like the
output of geom_smooth() in ggplot2 package. ggplot2 seems to use only lm,
glm, gam, loess and rlm as smoothing methods.
Any advice on the functions I should use to accomplish this will be very
helpful.
Thank you very much.
2024 Aug 11
1
geom_smooth with sd
Hi!
This is probably completely off base, but your ymin and y max setup lines
are different. One uses sqrt(y), while the second uses sqrt(length(y)).
Could that play a part, please?
Thank you
Erin Hodgess, PhD
mailto: erinm.hodgess at gmail.com
On Sun, Aug 11, 2024 at 10:10?AM SIBYLLE ST?CKLI via R-help <
r-help at r-project.org> wrote:
> Dear community
>
>
>
> Using
2012 Aug 08
1
Confidence bands around LOESS
Hi Folks,
I'm looking to do Confidence bands around LOESS smoothing curve.
If found the older post about using the Standard error to approximate it
https://stat.ethz.ch/pipermail/r-help/2008-August/170011.html
Also found this one
http://www.r-bloggers.com/sab-r-metrics-basics-of-loess-regression/
But they both seem to be approximations of confidence intervals and I was
wonder if there was
2024 Aug 11
1
geom_smooth with sd
Dear community
Using after_stat() I was able to visualise ggplot with standard deviations
instead of a confidence interval as seen in the R help.
p1<-ggplot(data = MS1, aes(x= Jahr, y= QI_A,color=Bio, linetype=Bio)) +
geom_smooth(aes(fill=Bio,
ymax=after_stat(y+se*sqrt(length(y))), ymin=after_stat(y-se*sqrt(y))) ,
method = "lm" , formula = y ~ x +
2010 Sep 11
1
ggplot: stat_smooth() and nls method
Hi all,
Does one of you know if there is any way to combine a "nls" method in
the stat_smooth of ggplot?
Regards
--
-------------
Benoit Boulinguiez
Ph.D student
Ecole de Chimie de Rennes (ENSCR) Bureau 1.20
Equipe CIP UMR CNRS 6226 "Sciences Chimiques de Rennes"
Avenue du G?n?ral Leclerc
CS 50837
35708 Rennes CEDEX 7
Tel 33 (0)2 23 23 80 83
Fax 33 (0)2 23 23 81 20