View source: R/summary.gendis.r
summary.gendis | R Documentation |
summary.gendis
summarizes the results of gendis
.
## S3 method for class 'gendis'
summary(object, ...)
object |
an object of class gendis, created by |
... |
other optional arguments. |
GDF
van Franeker, J A. ter Braak, C J F. 1993. A generalized discriminant for sexing fulmarine petrels from external measurements. The Auk 110: pp 492-502ter Braak (2019)
gendis
, print.gendis
,predict.gendis
.
data("fulmarin")
names(fulmarin)
result <- gendis(population = "population", sex = "sex",
measurements = "other_variables", verbose = FALSE , data=fulmarin )
result$GDF
summary(result)
print(result)
# populations may have names:
fulmarin$pop <- factor(c("a1","a2","a3","a4","a5","a6")[fulmarin$population])
levels(fulmarin$pop)
names(fulmarin)
result2 <- gendis(population = "pop", sex = "sex",
measurements = c("HB","BD2","TL","CL"), verbose = FALSE , data=fulmarin )
# all equal should not give numeric differences.
#all.equal(result, result2)
result2$GDF - result$GDF
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.