simulate_groups {s2net}R Documentation

Simulate data (two groups design)

Description

Simulated data scenario described in paper [citation here].

sim_fr.jpg

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)

Author(s)

Juan C. Laria

See Also

simulate_extra


[Package s2net version 1.0.7 Index]