result_lm: Computed the R adjusted of the abundance/metric value models...

Description Usage Arguments Details Value Author(s)

View source: R/result_lm.R

Description

'result_lm()' Return plots or tab depending of the "tab" argument of the R adjusted of abundance/metric value models at each scales for lm, gam and MARS with the corresponding signifiance if it can be tested.

Usage

1
2
result_lm(temp, dist, metrics, Sp_Name, tab = T, plots = T,
  individual_plots = F)

Arguments

temp

The tab generated by formodel() function merged by the id of sampling site with the tab of your abundance sampling.

dist

Vector of scales you choosed in Chloe when you created the ascii whith Cloe

metrics

Vector of metrics of 1 or more you choosed in Chloe when you created the ascii whith Chloe

tab

Argument "T" or "F" defining if you want to return plot (F) or a tab (T).

sp_name

Optionnal argument containing the name of the species you want to see analyse, the name must match its column name contained in the "carab" tab

Details

This function is meant to be used with the tab generated by formodel() merged with the tab of your abundance sampling.

Value

Return a list of plot(s) of the length of "metrics" or a tab of the R adjusted function of lm and their signifiance.

Author(s)

Pierre-Gilles Lemasle <pg.lemasle@gmail.com>


Pintademijote/multipack documentation built on Sept. 24, 2019, 7:54 a.m.