library(ggplot2) example(func1)
example(func2)
example(func3)
example(func4)
example(func5)
example(func6)
example(plotMyData)
example(func7)
example(hw2_1)
example(q3)
example(q4)
example(myapply)
Using ggplot in three ways
ggplot(KuangHuangyingTools::cleanData,aes(x = Petal.Length, y = Petal.Width )) + geom_line() ggplot(KuangHuangyingTools::cleanData,aes(x = Petal.Length, y = Petal.Width, color = Species)) + geom_point() ggplot(KuangHuangyingTools::cleanData,aes(x = Petal.Length, y = Petal.Width)) + geom_point() + facet_wrap(~ Species)
ggplot(KuangHuangyingTools::d,aes(x = x, y = p)) + geom_point() + theme(panel.background = element_rect(fill = 'yellow', colour = 'red'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.