View source: R/fCheckFLXCols.R
Given a dataframe and a column name that you would expect to find within (e.g. "NEE_VUT_USTAR50"), this function checks whether the column exists. If it does, it's exported as a vector. If the column is not found, an error message is presented and NA values are supplied to the vector.
1 | fCheckFLXCols(dat, col)
|
dat |
a dataframe. |
col |
a column name. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.