mapforGeneratedData: Map generated data

Description Usage Arguments Authors References Examples

View source: R/generateData.R

Description

Function to draw the map of a vector when data are generated.

Usage

1
mapforGeneratedData(u, del=NULL, palette='RGB', main='' )

Arguments

u

A vector of size nSubject to map. The function is only useful when data are generated by generateSampleDataFile.

del

A numeric vector of increasing order given the breaks to color the map. By default the centiles of u are used.

palette

Color palette to be used. Either 'RGB' (default) Red-Green-Blue, or 'BW' for black and white.

main

A string for title.

Authors

Aurore J. Lavigne, Department of Epidemiology and Biostatistics, Imperial College London and MRC Biostatistics Unit, Cambridge, UK

Maintainer: Silvia Liverani <[email protected]>

References

Silvia Liverani, David I. Hastie, Lamiae Azizi, Michail Papathomas, Sylvia Richardson (2015). PReMiuM: An R Package for Profile Regression Mixture Models Using Dirichlet Processes. Journal of Statistical Software, 64(7), 1-30. URL http://www.jstatsoft.org/v64/i07/.

Examples

1
2

PReMiuM documentation built on Sept. 26, 2018, 5:04 p.m.