2

I used ggplot() and geom-line() as follows

ggplot(tabla3) + geom_line(aes(tabla3$MC, tabla3$Normal), lwd = 1)

Result: enter image description here

But I want it to look like this:

enter image description here

1
  • Try geom_bezier in ggforce Commented May 31, 2020 at 12:23

1 Answer 1

1

If you know the mean and standard deviation of your data, why not just plot a normal distribution?

x <- seq(50, 90, length=101)
hx <- dnorm(x, mean(x), sd(x))

plot(x, hx, type = 'l')

ggplot version

ggplot(data = tibble(x), aes(x)) +
  stat_function(fun = dnorm, n = 101, args = list(mean = mean(x), sd = sd(x))) + ylab("") +
  scale_y_continuous(breaks = NULL)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.