fossil.values: Fossil environmental parameters calculation

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This function recovers the values of the fossil environmental parameters by evaluating the distance of each fossil sample to each modern synthetic assemblage.

Usage

1
fossil.values(distan, age, quant = 0.05, detrend = FALSE, crossv)

Arguments

distan

A matrix containing the distance of each fossil sample to each modern synthetic assemblage, produced by fossil.dist.

age

A vector containing the age or depth of each fossil sample.

quant

The quantile of the distances that will be used to obtain the mean environmental parameter. See details below.

detrend

Whether or not a detrending procedure is desired. See bcrossv.sa for details.

crossv

An object produced by bcrossv.sa. Only relevant when detrend=TRUE.

Details

The fossil environmental value is assumed to be the value associated with the modern synthetic assemblage that displays the least distance to the fossil sample. To counteract possible bias produced by local resemblances, the value is calculated as the average among the values associated with the synthetic assemblages that display distances within the quantile defined in quant.

Value

A matrix with ages or depths in the first column and values of the environmental parameter in the second column.

Author(s)

Alexander Correa-Metrio, Kenneth R. Cabrera.

References

Correa-Metrio, A., M.B. Bush, L.Perez, A. Schwalb, and K. Cabrera. Accepted. Pollen distribution along climatic and biogeographic gradients in northern Central America. The Holocene

See Also

bcrossv.sa

Examples

 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
data(modernq,fossilq)
# Calculate percentages
perq<-percenta(modernq,first=2,last=39)[,2:55]
# filter data set to include only samples with at least 0.5
# percent in 20 percent of the samples
perq1<-filter.p(perq,presen=0.5,persist=0.2)$filtered
# calculate alpha and degree for each taxon through AIC
a.d<-akaike.all(modernq[,1],perq1)
# select taxa that have acceptable dispersion and normally 
# distributed residuals in percentages and AIC matrices
perq2<-perq1[,-c(3:5,8,17,19)]
a.d1<-a.d[-c(3:5,8,17,19),]
#build synthetic assemblages
syas.q<-synthetic(modernq[,1],perq2,a.d1,delta=25,plot=TRUE,
percen=rep(100,53))
#calculate distance from synthetic assemblages to each fossil sample
distances<-fossil.dist(syas.q,fossilq)
#calculate the fossil values of the environmental variable
# without detrending
fossil.values(distances,fossilq[,1],quant=0.05,detrend=FALSE)
#if detrending is desired, the detrending parameters have to be obtained
crossv.q<-bcrossv.sa(modernq[,1],perq2,a.d1,delta=25,method="canberra",
quant=0.05,trials=c(5, 0.05),detrend=TRUE)
#calculate the fossil values of the environmental variable
# with detrending
fossil.values(distances,fossilq[,1],quant=0.05,detrend=TRUE,
crossv=crossv.q)

paleoMAS documentation built on May 2, 2019, 6:46 a.m.