liamrevell / Rphylip

An R interface for PHYLIP.
12 stars 12 forks source link

Example data set for Rcontrast function #2

Closed sckott closed 10 years ago

sckott commented 10 years ago

I added in an example data set and tree in the cotton.rda file in the /data directory

Here is the code to run it:

data(cotton)
Rcontrast(tree=cotton_tree, X=cotton_data)

I'll submit the pull request soon.

sckott commented 10 years ago

Sent a pull request at #3

liamrevell commented 10 years ago

I changed this to one data object, cotton, that is a list containing tree & data. Thus:

data(cotton) Rcontrast(tree=cotton$tree,X=cotton$data)

sckott commented 10 years ago

Thanks