Description Usage Arguments Value Author(s) See Also Examples
View source: R/simulate_pheno.R
This function downloads the 'wordlclim' bioclimatic database, extract the data for the specified geographic coordinates, and summarizes them with their first principal component.
1 | get_climate(coord)
|
coord |
a matrix of geographic coordinates written as (longitude, latitude). |
the first principal component of 19 bioclimatic variables from 'worldclim'.
Olivier François
1 2 3 4 5 6 | library(naturalgwas)
## Load example
data(A.thaliana)
env <- get_climate(A.thaliana$coord)
summary(env)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.