Description Usage Arguments Details Value References
Compute a composite from a 3D array, and perform student t-test for unequal varianz
1 2 |
data_array |
3D array of the data with dims lat_lon_time (default) or lon_lat_time (see lat_lon) |
id_time |
numeric vector of indexes of the dates to composite |
id_clim |
numeric vector of indexes of the dates to use as reference/climatology, default ='All' use all dates to create the climatology. If NULL, only the mean field of id_time is compute |
test |
logical, should the anomalies be check? default TRUE |
composite
compute the composite of the data, this is the mean value for specific indexes minus the mean value for a reference period (climatology).
Returns a list with the anomalies, and the test done for 90, 95 and 99 percent confident level.
numeric matrix of anomalies
logical matrix TRUE stays for significant at 90 percent confident level
logical matrix TRUE stays for significant at 95 percent confident level
logical matrix TRUE stays for significant at 99 percent confident level
- Ruxton, G. D. (2006). The unequal variance t-test is an underused alternative to Student's t-test and the Mann–Whitney U test. Behavioral Ecology, 17(4), 688-690.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.