R: Create a Series Function

Use a function to produce a series In this article I’ll demonstrate how to use the R language to create a function to produce a series, then print it to the screen. First, I’ll declare a function which produces a series from 1-5, assign it to the variable ‘f’, then invoke the function, which prints…

R Statistical Programming

Please see my other Business Intelligence articles. R  is an open source implementation of statistical programming language S, a programming language and environment in which to program, and provides ability to analyze data statistically and visually. Please click the links below to view examples. R Create a Series Function