Description Usage Arguments Value Author(s) See Also Examples
MiniMax transformation of a charcoal serie
1 | pfMinMax(serie)
|
serie |
Numeric, a vector of charcoal values. |
out |
A vector of minimax transformed values. |
O. Blarquez
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Retrieve a site
ID=pfSiteSel(site_name=="Pas-de-Fond")
## Or a group of sites
ID=pfSiteSel(continent=="Africa")
## Extract data
A=pfExtract(ID)
## Plot the first site raw charcoal data
par(mfrow=c(1,2))
plot(A[A[,1]==ID$id_site[1],3],A[A[,1]==ID$id_site[1],4],type="l",main=ID$site_name[1],
xlab="Age",ylab="raw Char")
## Minimax transformation
B=pfMinMax(A[A[,1]==ID$id_site[1],4])
## Plot the first site Minimax transformed charcoal data
plot(A[A[,1]==ID$id_site[1],3],B,type="l",main=ID$site_name[1],
xlab="Age",ylab="Minimax")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.