View source: R/get_predictions.R
get_predictions | R Documentation |
This is a function to get the predictions for a specific output simulated by SCOPE and calculate the accuracy.
get_predictions(
SCOPE_dir = "D:/SCOPE-master/",
Simulation_Name,
output_file = "fluxes.csv",
pred_vec = "lEtot"
)
SCOPE_dir |
the diretory patch of SCOPE |
Simulation_Name |
simulation name stating the directory name generated by the run_SCOPE function. |
output_file |
default "fluxes.csv" for the energy fluxes output |
pred_vec |
desirble output variables. |
The result is a data.frame with all the predicted output per simulation name and date.
Examples of uses of the get_predictions function
###############
library(tidyverse)
Predictions_pixel_1169 <- get_predictions(SCOPE_dir = "D:/SCOPE-master/",
output_file = "fluxes.csv",
pred_vec = "lEtot",
Simulation_Name = "pixel_1169")
Predictions_pixel_1169
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.