Learn R Programming

loadshaper (version 1.1.1)

print.lslin: Print Linear Load Shape

Description

Print method for summarizing lslin object

Usage

# S3 method for lslin
print(x, ... = NULL)

Arguments

x

An object of class lslin, created by the function lslin.

...

NULL. Used for S3 generic/method consistency.

Value

NULL. Prints the summary of the derived load shape using linear method.

See Also

lslin

Examples

Run this code
# NOT RUN {
# ---------------------
loads <- ercot[ercot$Year == 2019, ]$COAST
linear_loadshape <- lslog(loads, target_lf = 0.5, k = 0.5)
print(linear_loadshape)
# ---------------------
loads2 <- ercot[ercot$Year == 2019, ]$ERCOT
linear_loadshape2 <- lslog(loads2, target_lf = 0.75, k = 1)
print(linear_loadshape2)
# }

Run the code above in your browser using DataLab