search for: person1a

Displaying 2 results from an estimated 2 matches for "person1a".

Did you mean: person1
2017 Nov 16
0
R6 object that is a list of referenced object
...; initialize: function (idPerson, name, age) #> name: a #> #> [[2]] #> <Person> #> Public: #> age: 5 #> clone: function (deep = FALSE) #> idPerson: 2 #> initialize: function (idPerson, name, age) #> name: b # Standard R approach: Person1a <- data.frame( idPerson = 1 , name = "a" , age = 4 , stringsAsFactors = FALSE ) Person2a <- data.frame( idPerson = 2 , name = "b" , age...
2017 Nov 15
2
R6 object that is a list of referenced object
Dear community, I am having a class, let's say Person, Person <- R6Class("Person", public = list( idPerson = NULL, name = NULL, age = NULL, initialize = function(idPerson = NA, name = NA, age = NA) { self$idPerson <- idPerson