simulate_groups
From s2net v1.0
by Juan C. Laria
Simulate data (two groups design)
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
Community examples
Looks like there are no examples yet.