require(DCF)
## Loading required package: DCF
## Loading required package: mosaic
## Loading required package: lattice
## Loading required package: grid
## Loading required package: survival
## Loading required package: splines
## Loading required package: Hmisc
## Hmisc library by Frank E Harrell Jr
##
## Type library(help='Hmisc'), ?Overview, or ?Hmisc.Overview') to see overall
## documentation.
##
## NOTE:Hmisc no longer redefines [.factor to drop unused levels when
## subsetting. To get the old behavior of Hmisc type dropUnusedLevels().
## Attaching package: 'Hmisc'
## The following object(s) are masked from 'package:survival':
##
## untangle.specials
## The following object(s) are masked from 'package:base':
##
## format.pval, round.POSIXt, trunc.POSIXt, units
## Attaching package: 'mosaic'
## The following object(s) are masked from 'package:Hmisc':
##
## do
## The following object(s) are masked from 'package:stats':
##
## D, binom.test, median, prop.test, sd, var
## The following object(s) are masked from 'package:base':
##
## max, mean, min, print, sample
## Loading required package: ggplot2
## Loading required package: manipulate
## Warning: there is no package called 'manipulate'
We're going to analyze the FAO data on country size and population.
require(DCF)
## Loading required package: DCF
## Loading required package: manipulate
## Warning: there is no package called 'manipulate'
data("FAOsimple")
## Warning: data set 'FAOsimple' not found
ggplot(data = FAOsimple) + geom_point(aes(x = Country.area, y = Total.Population...Both.sexes)) +
scale_y_log10()
## Error: object 'FAOsimple' not found