View source: R/VPRM_driver_data.R
as.data.frame.VPRM_driver_data | R Documentation |
method for VPRM_driver_data
## S3 method for class 'VPRM_driver_data'
as.data.frame(x, ...)
x |
VPRM_driver_data object |
... |
additional arguments to be passed to or from methods. |
The data field of the VPRM_driver_data object is kept. Other fields (short name, long name, etc.) are discarded.
data frame with fields variables NEE_obs, T, PAR, rho_nir, rho_swir, EVI, and phen.
Timothy W. Hilton
data(Park_Falls)
pfa_dd <- VPRM_driver_data(name_long="Park Falls",
name_short = "US-PFa",
lat=45.9459,
lon=-90.2723,
PFT='MF',
tower_date=PFa_tower_obs[['date']],
NEE_obs=PFa_tower_obs[['FC']],
T=PFa_tower_obs[['TA']],
PAR=PFa_tower_obs[['PAR']],
date_nir = PFa_refl[['date']],
rho_nir=PFa_refl[['nir']],
date_swir = PFa_refl[['date']],
rho_swir = PFa_refl[['swir']],
date_EVI = PFa_evi[['date']],
EVI=PFa_evi[['evi']],
phen=NA)
print(head(as.data.frame(pfa_dd)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.