data_1x1: Repeated measures data structure

Description Usage Arguments Value Examples

View source: R/data_1x1.R

Description

This function transforms your data array('s) into the data structure that is needed to visualize a 1x1 repeated measure.

Usage

1
data_1x1(array_1, array_2, jit_distance = 0.09, jit_seed = 321)

Arguments

array_1

<numeric> the array of datapoints to be plotted

array_2

<numeric> the array of datapoints to be plotted

jit_distance

<numeric> the amount of distance between jittered datapoints (0 by default)

jit_seed

<numeric> the amount used in set.seed() (321 by default)

Value

data_1x1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# Using an example dataset
data_1x1 <- data_1x1(
                    array_1 = Sepal.Length[1:50],
                    array_2 = Sepal.Length[51:100],
                    jit_distance = .09,
                    jit_seed = 321)


## End(Not run)

jorvlan/openvis documentation built on Dec. 6, 2020, 3:06 a.m.