Learn R Programming

This R package holds helper functions for GdR MASCOT-NUM template (see https://www.gdr-mascotnum.fr/template.html for spec.).

You can install it using:

install.packages('remotes')
remotes::install_github("MASCOTNUM/templr")

(No need for any compiler, whatever OS)

Copy Link

Version

Install

install.packages('templr')

Monthly Downloads

171

Version

0.2-0

License

Apache License (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Yann Richet

Last Published

October 25th, 2022

Functions in templr (0.2-0)

tell_Y

ask&tell component function to 'tell' objective function value to waiting 'ask_Y' call in another R session.
tell_dY

ask&tell component function to 'tell' objective function value to waiting 'ask_Y' call in another R session.
read.algorithm

Read algorithm file and returns one header info
run.algorithm

Apply a template algorithm file to an objective function
max_input

Helper function to get $max from 'input' list
ask_Y

ask&tell component function to 'ask' objective function evaluation.
parse.algorithm

Parse algorithm file and returns its (header) indos and methods
from01

Helper function to scale from [0,1] to [min,max]
ask_dX

ask&tell component function to 'ask' where objective function gradient evaluation is required.
ask_dY

ask&tell component function to 'ask' objective function gradient evaluation using finite difference.
list.results

Parse algorithm string result in R list
ask_X

ask&tell component function to 'ask' where objective function evaluation is required.
min_input

Helper function to get $min from 'input' list
import

Dependencies loader, supports many protocols like github:, gitlab:, ... using remotes::instal_... Will create a local '.lib' directory to store packages installed
to01

Helper function to scale from [min,max] to [0,1]