Apple Motion 1.0.1 Manual do Utilizador Página 8

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 41
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 7
2.1 Installation
You can install googleVis in the usual way from CRAN, e.g.:
R> install.packages('googleVis')
The installation was successful if the command library(googleVis) gives you
the following message:
R> library(googleVis)
Welcome to googleVis version 0.5.8
Please read the Google API Terms of Use
before you start using the package:
https://developers.google.com/terms/
Note, the plot method of googleVis will by default use
the standard browser to display its output.
See the googleVis package vignettes for more details,
or visit http://github.com/mages/googleVis.
To suppress this message use:
suppressPackageStartupMessages(library(googleVis))
2.2 Using the googleVis package
The individual functions of the googleVis package are documented in the help
pages. Here we will cover only the principles of the package.
As an example we will show how to generate a motion chart as displayed in Figure 1.
It works similarly for the other A PIs. Further examples are covered in the de mos
3
of the googleVis package.
The design of the visualisation functions is fairly generic. The name of the visuali-
sation function is ’gvis’ + ChartType. So for the Motion Chart we have:
gvisMotionChart(data, idvar='id', timevar='date',
options=list(), chartid)
Here data is the input data.frame and idvar and timevar specify the column
names of the id variable and time variable for the plot, while display options are set
in an optional list, which we discuss in more detail on page 19. The options and
3
See demo(package="googleVis") for a list of the available demos.
8
Vista de página 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 40 41

Comentários a estes Manuais

Sem comentários