[R] about the series of numbers

Albrecht Kauffmann @|k@u||m @end|ng |rom |@@tm@||@|m
Thu Sep 20 09:32:34 CEST 2018


Dear Bogdan,

for increments <>1, it needs "by". Try

seq(.1,.9,.1)

Best,
Albrecht

-- 
  Albrecht Kauffmann
  alkauffm using fastmail.fm

Am Do, 20. Sep 2018, um 09:26, schrieb Bogdan Tanasa:
> Dear all,
> 
> if I may ask please a question that is likely very naive :
> 
> shall I write in R > "1:9", it will generate "1 2 3 4 5 6 7 8 9"
> 
> shall I write > "0.1:0.9", why does it generate only 0.1 ?
> 
> thank you !
> 
> -- bogdan
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list