Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report