simulate_groups: Simulate data (two groups design)

View source: R/simulate.R

simulate_groupsR Documentation

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)

Author(s)

Juan C. Laria

See Also

simulate_extra


s2net documentation built on July 1, 2022, 1:06 a.m.