Test variable B

From Opasnet
Jump to navigation Jump to search


Question

A simple test variable that fetches the data defined in "Test variable A", as well as a function defined in Test variable C?

Answer

Rationale

Dependencies

Formula

  1. The code below will not work since the table in Test variable A is in the wrong format.


- Hide code


cat("Initiation successful. \n")

out <- op_baseGetData("opasnet_base", "Op_en5682") # Fetches data from Test variable A.

colnames(out)[colnames(out) == "obs.1"] <- "Row" # Changes the column name "obs.1" to "Row"
out <- tidy(out , direction = "wide")
print(out)

Lden <- 60
HA <- ERF_Lden_HA(Lden)

Lden
HA


See also

Keywords

References


Related files

<mfanonymousfilelist></mfanonymousfilelist>

Test variable B. Opasnet . [1]. Accessed 22 Nov 2024.