How can I generate ascii “graphical output” from R?

后端 未结 2 587
再見小時候
再見小時候 2020-12-05 10:08

I believe R can generate stem-and-leaf for ascii histograms, and scatter plots using this code from Matt Shotwell.

Can it also gen

相关标签:
2条回答
  • 2020-12-05 10:27

    You should look at the fairly recent txtplot package. Currently, it includes scatterplot, line plot, density plot, acf, and bar chart.

    From the online help,

    > txtplot(cars[,1], cars[,2])
        +----+------------+------------+-----------+------------+--+
    120 +                                                     *    +
        |                                                          |
    100 +                                                          +
        |                                                     * *  |
     80 +                           *         *                    +
        |                                        *       *    *    |
     60 +                           *              *               +
        |                              *    * *    *       *       |
     40 +                         *      *  * *  *                 +
        |                 *       * *    *  *    * *               |
     20 +         *       *  * *  * *  *                           +
        |            *    *  * *                                   |
        |  *      *    *                                           |
      0 +----+------------+------------+-----------+------------+--+
             5           10           15          20           25   
    
    0 讨论(0)
  • 2020-12-05 10:35

    I know there is support for basic interaction between R and GnuPlot in the TeachingDemos package. Perhaps that can achieve what you want.

    0 讨论(0)
提交回复
热议问题