0
What arguments are required in the R6Class?What arguments are required in the R6Class?

Open 1 Answers 39 Views Technology

What arguments are required in the R6Class?

1 Answer

0

In order to create an R6 class in R, the following arguments are required –

  • The first argument in the R6 class is the classname itself. It improves the error messages and allows us to make use of R6 objects with the given S3 generics.
  • The second argument of the R6 argument is ‘public’. This argument provides several methods and fields which make use of snake_case.
by (277k points)
...