3
If I plot the chart normally
pontos.x = c(7.522936, 12.228712, 17.316037, 22.148996, 27.236321, 32.196464, 37.283789,
42.116748, 47.076890, 52.164215, 57.378723, 62.211682, 67.426190)
pontos.y = c(0.001583012, 0.001583012, 0.013938224, 0.017799228, 0.034015444,
0.032374517, 0.037876448, 0.023880309, 0.017799228, 0.010849421, 0.003030888,
0.003899614, 0.001583012)
plot(pontos.x, pontos.y, type = "l")
it plots normally, but the curve gets straight (?). If anyone can help, I wanted the dots to be connected but by curves and not by straights, as if it were a Smooth, I already researched but no solution, because I need to make a histogram and pass a curve with those dots on top of it (add = T).
Possible duplicate of How to smooth a curve in R
– Carlos Cinelli
Rafael, have you looked at the answers to the above question?
– Carlos Cinelli