Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain how to create a function in arguments using apply() in r?



Explain how to create a function in arguments using apply() in r?..

Answer / Jyoti Rawat

apply(data, margin, my_function) - where data is the matrix or array you're working on, margin specifies which dimension to iterate over (1 for rows, 2 for columns), and my_function is your custom function.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

What is the use of stringr package.

1 Answers  


Explain more functions in brief in r?

1 Answers  


Explain how you can create a table in r without external file?

1 Answers  


Explain DBSCAN algorithm in R?

1 Answers  


Explain how R commands are written?

1 Answers  


How many control statements are present in r?

1 Answers  


What do you understand by R cluster analysis?

1 Answers  


What is the use of subset() function and sample() function in R ?

1 Answers  


What is a class in r?

1 Answers  


Explain if control statements in r?

1 Answers  


Name the functions which helps in importing data from other applications in R?

1 Answers  


What is s4?

1 Answers  


Categories