Dear Bogdan, for increments <>1, it needs "by". Try
seq(.1,.9,.1) Best, Albrecht -- Albrecht Kauffmann alkau...@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@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. ______________________________________________ R-help@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.