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

Description Usage Arguments Details Value Author(s)

View source: R/result_GAM.R

Description

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

Usage

1
result_GAM(temp, dist, metrics, Sp_Name, tab = 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 during you analusis in Chloe

metrics

Vector of one metric or more you choosed in Chloe during your analysis in 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 gam and their signifiance.

Author(s)

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


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