Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use R language drawing to realize the mixed splicing of formula and variable object

Shulou Source: shulou.com Published: 2022-06-02 17:34:01 11月13日 Update

This article mainly explains "how to use R language drawing to realize the mixed stitching of formulas and variable objects". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "how to use R language drawing to achieve mixed stitching of formulas and variable objects"!

When we draw in R, if it comes to the presentation of mathematical or statistical formulas, we can use the function: _ expression (), and combined with paste (), we can easily show the formula we want to show. For more information, please refer to:

R outputs Greek characters, superscripts, subscripts and mathematical formulas when drawing

But this will encounter a problem, when we want to batch produce a large number of titles with different variable values, if we encounter a mixed output of variables and formulas, there is no way to output the values in the variables (not with functions such as do.call ()).

Take a chestnut, if m

Tags: Formula variable drawing mixing object language two content function output mathematics learning different no practical deeper superscript subscript no Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Linux MySQL Shulou Technology NVidia