Index  Topics 
lizards {bnlearn}  R Documentation 
Lizards' perching behaviour data set
Description
Realworld data set about the perching behaviour of two species of lizards in the South Bimini island, from Shoener (1968).
Usage
data(lizards)
Format
The lizards
data set contains the following variables:

Species
(the species of the lizard): a twolevel factor with levelsSagrei
andDistichus
. 
Height
(perch height): a twolevel factor with levelshigh
(greater than 4.75 feet) andlow
(lesser or equal to 4.75 feet). 
Diameter
(perch diameter): a twolevel factor with levelsnarrow
(greater than 4 inches) andwide
(lesser or equal to 4 inches).
Source
Edwards DI (2000). Introduction to Graphical Modelling. Springer, 2nd edition.
Fienberg SE (1980). The Analysis of CrossClassified Categorical Data. Springer, 2nd edition.
Schoener TW (1968). "The Anolis Lizards of Bimini: Resource Partitioning in a Complex Fauna". Ecology, 49(4):704–726.
Examples
# load the data. data(lizards) # create and plot the network structure. dag = model2network("[Species][DiameterSpecies][HeightSpecies]") ## Not run: graphviz.plot(dag, shape = "ellipse") # This data set is useful as it offers nominal values for # the conditional mutual information and X^2 tests. ci.test("Height", "Diameter", "Species", test = "mi", data = lizards) ci.test("Height", "Diameter", "Species", test = "x2", data = lizards)
Index  Topics 