in Technology by (1.8m points)

What arguments are required in the R6Class?

1 Answer

0 votes
by (1.8m points)

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.

Related questions

0 votes
asked Nov 15, 2020 in Technology by JackTerrance (1.8m points)