Dear all,

Using:

library(vegan)
data(BCI)
mod <- radfit(BCI[1,])
mod

RAD models, family poisson
No. of species 93, total abundance 448

           par1      par2     par3    Deviance AIC      BIC
Null                                   39.5261 315.4362 315.4362
Preemption  0.042797                   21.8939 299.8041 302.3367
Lognormal   1.0687    1.0186           25.1528 305.0629 310.1281
Zipf        0.11033  -0.74705          61.0465 340.9567 346.0219
Mandelbrot  100.52   -2.312    24.084   4.2271 286.1372 293.7350


I want to include the table shown above into the latex document (using xtable).

library(xtable)
xtable(mod)
Error in UseMethod("xtable") :
no applicable method for 'xtable' applied to an object of class "radfit"

Also is there is a way to customize the table - I want to exclude first two rows of the output and make a table of:

           par1      par2     par3    Deviance AIC      BIC
Null                                   39.5261 315.4362 315.4362
Preemption  0.042797                   21.8939 299.8041 302.3367
Lognormal   1.0687    1.0186           25.1528 305.0629 310.1281
Zipf        0.11033  -0.74705          61.0465 340.9567 346.0219
Mandelbrot  100.52   -2.312    24.084   4.2271 286.1372 293.7350


Many thanks,
Olga

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to