You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rd.cumulative_frequency<- c(0,rd.frequency_table$cumulative_frequency) # To start at 0
plot(rd.breaks, rd.cumulative_frequency,
main="Line Graph of Cumulative Frequency of R&D spending, millions",
xlab="R&D spending, millions",
ylab="Cumulative Frequency")
lines(rd.breaks, rd.cumulative_frequency)
Cumulative Relative Frequency
Actual Code
rd.cumulative_relative_frequency<- c(0,rd.frequency_table$cumulative_relative_frequency) # To start at 0
plot(rd.breaks, rd.cumulative_relative_frequency,
main="Line Graph of Cumulative Frequency of R&D spending, millions",
xlab="R&D spending, millions",
ylab="Cumulative Relative Frequency")
lines(rd.breaks, rd.cumulative_relative_frequency)
rd.cumulative_frequency<- c(0,rd.frequency_table$cumulative_frequency) # To start at 0
ggplot(mapping= aes(x=1:length(rd.cumulative_frequency), y=rd.cumulative_frequency)) +
geom_line() +
labs(title="Line Graph of Cumulative Frequency of R$rd",
x="R&D spending, millions", y="Cumulative Frequency")
Cumulative Relative Frequency
Actual Code
rd.cumulative_relative_frequency<- c(0,rd.frequency_table$cumulative_relative_frequency) # To start at 0
ggplot(mapping= aes(x=1:length(rd.cumulative_relative_frequency), y=rd.cumulative_relative_frequency)) +
geom_line() +
labs(title="Line Graph of Cumulative Relative Frequency of R$rd",
x="R&D spending, millions", y="Cumulative Relative Frequency")