R Examples for Beginners – R Program to Find the Factors of a Number
(R Example for Citizen Data Scientist & Business Analyst) R Program to Find the Factors of a Number In this example, you’ll learn to find all factors of an number (entered by the user) using for loop and if statement. Example: Find factors of a number print_factors <- function(x) { print(paste(“The factors of”,x,”are:”)) for(i … Continue reading R Examples for Beginners – R Program to Find the Factors of a Number
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed