Description Fields Generics Class Methods Author(s) References See Also Examples
Administer the persons of interest in the MPIA: HR managers act in a particular domain and care for people
(references to objects of class Person
). The HR manager is used to add or remove people, to cluster together
in groups those persons that share a similar competence profile, and to find persons with experience in
a particular area.
envir
:Internally used: the environment of the HR manager.
people
:A vector of references pointing to the individuals' Person objects.
groups
:A vector containing reference pointing to a group of persons (itself being an object of class Person).
domains
:Reference pointing to the DomainManager object.
currentDomain
:Reference pointing to the current Domain object.
signature(x = "HumanResourceManager")
: Calculate competence positions amongst all performances of all persons.
signature(x = "HumanResourceManager")
: Identify groups of persons that have a position closer to each other than the minimal identity threshold.
signature(x = "HumanResourceManager")
: List the names of all persons this HumanResourceManager cares for.
signature(object = "HumanResourceManager", to = "Performance")
: Identify all persons that are competent in the area of the given performance.
signature(object = "HumanResourceManager", to = "Person")
: Identify all persons with a similar competence profile as the given person.
signature(x = "HumanResourceManager")
: Return the list of all performances of all persons.
signature(a = "HumanResourceManager", b = "missing")
: Returns the pairwise proximity of all persons to each other (in matrix form).
initialize(domainmanager, domain, environment)
:Constructor: requires a DomainManager to be handed over.
findGroups()
:Internally used to identify groups with similar competence positions.
flushPositions(domain)
:Calculating positions creates temporary traces in the domain; if memory is a scarce resource, flushing these traces every once in a while may be helpful.
add(name, domain)
: Create a new Person
object and add it to the list of people.
remove(id, name)
:Remove a person.
collect(varname, name, environment)
:Legacy routine to collect stray person objects NOT created through the HumanResourceManager.
last()
:Return reference pointing to the last person added.
all()
:Return a vector of references pointing to all person objects cared for.
getPersonByName(name)
:Return reference pointing to the person object of the person with the name 'name'.
ls(environment)
:Return a character vector containing the names of all persons.
print()
:Pretty print basic data about the personnel cared for.
show()
:Display the object by printing its basic stats.
Fridolin Wild <wild@brookes.ac.uk>
Fridolin Wild (2016): Learning Analytics in R with SNA, LSA, and MPIA, Springer:Berlin.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | dmgr = DomainManager()
data(generic.domain)
dmgr$add(d, title="generic")
ppl = HumanResourceManager(dmgr)
fridolin = ppl$add("fridolin")
fridolin$write("this demonstrates skills in business.", label="example")
terms(fridolin)
max = ppl$add("maximilian")
max$write("shows skills in business")
jo = ppl$add("jo")
jo$write("risk assessment is another topic")
ppl$ls()
terms( performances(ppl) )
groups(ppl)
competences(ppl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.