Learn R Programming

edpclient (version 0.5.1)

population: EDP population objects

Description

Create or test for population objects.

Usage

population(sess, pid)
is.population(x)

Arguments

sess

an edp_session from edp_session(...)

pid

a population id, a length-one character vector starting with "p-"

x

object to be tested

Value

population creates an EDP population object. is.population returns a logical indicating whether the argument came from population.

See Also

edp_session, populations

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
p <- population(sess, "p-abcde0123456789")
# }
# NOT RUN {
  
# }
# NOT RUN {
is.population(p)  # TRUE
# }

Run the code above in your browser using DataLab