Learn R Programming

LightFitR (version 1.0.0)

helio.json_schedule: Format regime_matrix for json output that Heliospectra lights can parse

Description

Format regime_matrix for json output that Heliospectra lights can parse

Usage

helio.json_schedule(regime_matrix, filename)

Value

Character in json format that Heliospectra can parse

Arguments

regime_matrix

Matrix containing light regime, as generated by makeRegime

filename

Character. Filename to export to

Examples

Run this code
tempfile_name = tempfile(fileext='.txt')
helio.csv_schedule(LightFitR::example_regime, tempfile_name)

Run the code above in your browser using DataLab