knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of lighting is to provide some tools to manipulate data, which are used in the lighting industry. These tools can be categorised into:
You can install the development version of lighting from GitHub with:
# install.packages("devtools") devtools::install_github("Wei-Lim/lighting")
Reads LDT into a specific light distribution list. For list items definitions see ?ld_data
.
library(lighting) # typical ldt-file (min. example) file <- system.file('extdata', "ldt_min_example.ldt", package = "lighting") # specific light distribution ld_list <- read_ldt(file) ld_list
Plots a typical light distribution data.
plot_light_distribution(ld_list$lum_int_extended_tbl)
# Write LDT ld_write_ldt(ld_list) # Write IES ld_write_ies_lm63_2002(ld_list) # Write SVG ld_write_svg(ld_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.