Description Usage Arguments Details Author(s) Examples
View source: R/print.scrdata.R
prints a summary
1 | print.scrdata(x, ...)
|
x |
must be of class "scrdata" |
... |
objects of class "scrdata" are produced using the scrData() function
Andy Royle
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
library("SCRbayes")
data(lions)
dimnames(captures.lions)<-list(1:nrow(captures.lions),c("trapid","individual","occasion"))
lion.scrdata<- scrData(traps.lions,captures.lions,statespace.lions)
### print(lion.scrdata)
#> lion.scrdata
#Hello, world!
#
#Total encounters of each individual:
#
# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
# 1 1 1 1 2 1 1 1 1 2 1 1 1 1 1 1 2 1 2 2 3 1 1 1 3 2
#27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
# 1 4 2 2 1 1 1 1 3 2 1 1 2 1 3 1 3 1 1 1 1 1 1 1
#
#Summary encounter frequencies:
#nx
# 1 2 3 4
#34 10 5 1
#
#Num. unique traps of capture:
#
# 1 2 3 4
#36 10 3 1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.