Learn R Programming

processR (version 0.2.7)

unfold: Unfold equations

Description

Unfold equations

Usage

unfold(string, var = "W", mode = -1)

Arguments

string

Character vectors with equation

var

name of variable

mode

integer. Default value is -1. If 0, get intercept, If 1, get slope

Examples

Run this code
string=c("(a1+b1*W)*(a2+b2*W)*(a3+b3*W)","a1+b1*W")
unfold(string)

Run the code above in your browser using DataLab