crop.plot3D | R Documentation |
LDAcrop.pro
crop.plot3D plots the linear discriminant scores obtained from LDAcrop.pro
as a three dimensional graph
crop.plot3D(x, gcol=NULL, col= "black",site ="Site",label=NULL, cex.lab =0.65, pos.lab=3)
x |
the dataframe containing the discriminant scores obtained from |
col |
Symbol colour of archaeobotanical data |
gcol |
Symbolcolours of the ethnographical crop processing groups written as a list eg. c("red", "green"...) etc |
site |
The name that the archaeobotanical data will be labelled as in the legend |
label |
the name of the samples to be labelled on the graph |
cex.lab |
the size of the label following text3d |
pos.lab |
the position of the label following text3d |
Elizabeth Stroud
PUT IN PAPER REFERENCE
##example dataset
LD1<-runif(40, min= -0, max=3)
LD2<-runif(40, min = -2, max=4)
LD3<-runif(40, min =-4, max=-1)
Study<-sample(1:3, 40, replace=TRUE)
data<-data.frame(Study,LD1, LD2, LD3)
## use
crop.plot3D(data)
## without defaults
crop.plot3D(data, gcol = c("black", "grey", "grey48", "grey89"),
col = "red", site = "Example")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.