Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

makeLatexFile

~ Function: makeLatexFile ~


Description

Create a LaTeX document that inclusde 3D objects into PDF documents.

Usage

makeLatexFile(filename = "main.tex", asyToInclude = "scene+0.prc")

Arguments

filename

Name of the LaTeX file

asyToInclude

Name of the file holding the 3D graph to include.

Details

Create a LaTeX document that inclusde 3D objects into PDF documents with PDF-1.5/1.6 compatibility.

Value

A LaTeX file, in the current directory.

Author

Christophe Genolini
1. UMR U1027, INSERM, Université Paul Sabatier / Toulouse III / France
2. CeRSME, EA 2931, UFR STAPS, Université de Paris Ouest-Nanterre-La Défense / Nanterre / France

References

[1] C. Genolini and B. Falissard
"KmL: k-means for longitudinal data"
Computational Statistics, vol 25(2), pp 317-328, 2010

[2] C. Genolini and B. Falissard
"KmL: A package to cluster longitudinal data"
Computer Methods and Programs in Biomedicine, 104, pp e112-121, 2011

See Also

Examples

### Generating the data
  data(artificialJointLongData)
  myLd <- longData3d(artificialJointLongData,timeInData=list(var1=2:12,var2=13:23))
  part <- partition(rep(1:3,each=50))
  plotTrajMeans3d(myLd,part)

  ### Creation of the scene
  scene <- plot3dPdf(myLd,part)
  drawScene.rgl(scene)

  ### Export in '.asy' file
  saveTrianglesAsASY(scene)

  ### Creation of a '.prc' file
  # Open a console, then run:
  # 'asy -inlineimage -tex pdflatex scene.asy'

  ### Creation of the LaTeX main document
  makeLatexFile()

  ### Creation of the '.pdf'
  # Open a console window, then run
  # pdfLatex main.tex

longitudinalData

Longitudinal Data

v2.4.1
GPL (>= 2)
Authors
Christophe Genolini [cre, aut], Bruno Falissard [ctb], Dai Fang [ctb], Luke Tierney [ctb]
Initial release
2016-02-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.