sub_powers: Parse a string and substitute powers of the form a^b with...

View source: R/sub_powers.R

sub_powersR Documentation

Parse a string and substitute powers of the form a^b with pow(a,b).

Description

The function for accomplishing this was proposed by Roland on the following stack overflow thread.

Usage

sub_powers(string)

Arguments

string

Value

string suitable for C++


fintzij/stemr documentation built on March 25, 2022, 12:25 p.m.