正在加载图片...
R Language 循环控制 repeat repeat(statement) for for(var in seq)statement while while(cond)statement > repeat + Happy Groundhog Day! + message("Happy Groundhog Day!") action Make an ice statue + action <-sample( Happy Groundhog Day! c( action Rob a bank "Learn French", Happy Groundhog Day! "Make an ice statue", action Win heart of Andie McDowell "Rob a bank", "Win heart of Andie McDowell" + 1 break + + message("action ="action) if(action =="Win heart of Andie McDowell")break next +repeat repeat(statement) for for(var in seq) statement while while(cond) statement break next R Language 循环控制
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有