Calyx.biz
  • Home | 主页
  • Study | 学习
    • CPA | 注册会计师
    • Deep Learning | 深度学习
    • R/Python/Vim | 编程 >
      • Java Learning | Java 学习
      • R Tips | R技巧
      • Python Skill | Python技术
      • Masterpiece | 作品
    • Big Data | 大数据 >
      • Bioinformatics | 生物信息
      • Data Science | 数据科学
    • Language | 语言 >
      • Cantonese | 粤语
      • English | 英语
      • 日本語 | 日语
    • Citation | 他山之石
    • Application | 运用
    • Dota2Win | 刀塔制胜
    • Others | 别的 >
      • CIpipe
      • How to LOVE
      • FMSofChangsha.2005.
  • Fun | 娱乐
    • Billboard | 公告版
    • Essay | 随想
    • Album Image | 专辑封面
    • Movie Poster | 电影海报
    • Exercise | 锻炼
    • Funny | 有趣
    • Gastronome | 美食家
    • East Era | 东方时代 >
      • Masterpieces | 美味
      • Gastronomy | 美食主义
    • Downloading | 下载
  • Record | 记录
    • Milestone | 里程碑
    • Discussion | 讨论
    • About Us | 关于我们
    • LinkedPaper | 原文

ggplot in function/source | 在函数/程序中的ggplot

5/28/2014

0 Comments

 
如果你在R程序中,运行ggplot,你能得到你想要的图。但是你有时候会发现,写在函数(function)中或者判断语句中(if),图却没有出来。
那么你的函数可能是这样写的:
Plot = ggplot()
Plot

这种情况,在R程序中运行是没有问题的,但是如果写到function或你的example.r中时,你需要加上这样的话:
print(Plot)

0 Comments



Leave a Reply.

    Yamol

    Devoting to R/ Bioinformatics/ Data Mining/ Big Data/ Cooking.

    Archives

    August 2018
    July 2017
    June 2016
    March 2016
    March 2015
    May 2014
    March 2014
    January 2014
    December 2013
    November 2013
    August 2013
    July 2013

    Categories

    All
    Creation
    Fragmental Study
    Fragmental Study
    Order
    Package
    Systematic Learn

    RSS Feed

Powered by Create your own unique website with customizable templates.