python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Fitting LOESS function in ggplot
How can I modify the method= argument in ggplot so to customize my loess function?
Right now this is my code without implementing a function:
ggplot(data, aes(x = X, y = Y)) +
geom_point() +
geom_...
philphillis
Votes: 0
Answers: 1
determining geom_smooth() `span` argument based on meaningful units
I’m trying to determine how to set the span argument for geom_smooth() based on meaningful units from my data. As an example, let’s say I have a daily time series, with lower values on weekends (see b...
zephryl
Votes: 0
Answers: 1
Loess smooth extracted values by group errors
I'm trying to extract the values for a dataset smoothed by group (like how I would get them with geom_smooth(), but I need to be able to plot the actual fitted values). I tried all the solutions prese...
Anke
Votes: 0
Answers: 2
How do I get a smooth curve from a few data points, in R?
I am trying to plot the rate 1/t as it changes with mue. The code is given below and I have highlighted the relevant lines with input and output.
library("deSolve")
library("reshape&qu...
14thTimeLord
Votes: 0
Answers: 1