simulate_gonio: simulate some gonio hits

View source: R/simulate_gonio.R

simulate_gonioR Documentation

simulate some gonio hits

Description

simulate some gonio hits by spitting lines to a file a couple of seconds apart

Usage

simulate_gonio(logfile)

Arguments

logfile

a file to output

Examples

## Not run: 
# in one instance of r start the shiny app
# run_monitorgonio()

# start a new isntance of R
# write the example pttkey
write.csv(pttkey, file = "pttkey.csv", row.names = FALSE, sep = ',')
# make an empty log file
cat("", file = "log")
# load the log file and pttkey into the shiny app
# fill the log file
simualate_gonio("log")

## End(Not run)

williamcioffi/monitorgonio documentation built on Nov. 15, 2023, 1:37 p.m.