There's more…

The rxDataStep() function is the most convenient function for data pre-processing. In this example, you have done a very simple transformation. There are other very useful options within this function, which are as follows:

  • transformFunc: If you want to use an external function where you have defined all of your required transformation, this argument will give you that opportunity. Using this option, you can perform any complex operation as required.
  • transformVars: This argument will give you an easy way to specify variables that are required within transformFunc or the transforms argument.
  • transformPackages: Sometimes you might have used specialized functions from other libraries for the transformation task. You can explicitly specify the name of that library within rxDataStep() so that you do not need to load the library beforehand. It will automatically call the necessary libraries and complete the task on the fly.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset