My functions

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)

Figures

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'))


kuanghuangying/KuangHuangyingTools documentation built on May 25, 2019, 9:30 p.m.