replacePow | R Documentation |
Function replacePow(e)
used in import.slv
to replace ^ to pow, for convert to C model file without errors.
replacePow(e)
e |
expression with ^ and sqrt as expression type. |
For using function replacePow(e)
, You need to parse your text and after using function deparse to obtain the text.
C.from.slv
read.slv
#Example to using the replacePow function text = "Cr1=fdr^x+x^y+sqrt(25^(x+3))-sqrt(sqrt(13-x)+(4*x-5)^(2+y))" e=parse(text=text) #Its neccesary to use parse and deparse functions print(deparse(replacePow(e)[[1]])) #printing text with pow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.