R: Split line into multiple lines at + or - breaks

rxSplitLines {RxODE} | R Documentation

## Split line into multiple lines at + or - breaks

### Description

Split line into multiple lines at + or - breaks

### Usage

    rxSplitLines(lhs, rhs, limit = 1100)

### Arguments

`lhs` | Left handed side to construct
`rhs` | Right handed side to construct
`limit` | the number of characters for the expression to be before it is split. By default this is 1100

### Value

an expression where the lhs is constructed iteratively by splitting the lhs and adding it iteratively to the lhs.

For example:

lhs = 1 + 2 + 3

Would become

lhs = 1 lhs = lhs + 2 lhs = lhs + 3

When calling rxSplitLines("lhs", "1+2+3", 0)

This is to deal with the unwieldy lines that sometimes come out of SymPy.

### Author(s)

Matthew L. Fidler

[Package RxODE version 0.9.1-8 Index]