s2net (version 1.0)

simulate_groups: Simulate data (two groups design)

Description

Simulated data scenario described in paper [citation here].

Usage

simulate_groups(n_source = 100, n_target = 100, p = 200, response = "linear")

Arguments

n_source

Number of labeled observations

n_target

Number of unlabeled (target) observations

p

Number of variables

response

Type of response: "linear" or "logit"

Value

A list, with

xL

data frame with the labeled (source) data

yL

labels associated with xL

xU

data frame with the unlabeled (target) data

yU

labels associated with xU (for validation/testing)

See Also

simulate_extra