rrep

A clone of rstats rep

Parameters:
  • x ([type]) –

    [description]

  • times (int, default: 1 ) –

    [description]. Defaults to 1.

  • each (int, default: 1 ) –

    [description]. Defaults to 1.

  • length_out ([type], default: None ) –

    [description]. Defaults to None.

Returns:

 pyjsta.rrep([1,2,3], 2, 1)

rtable

A clone of rstats table

See https://stackoverflow.com/a/43096495/3362993

Parameters:
  • a (list) –

    or list-like object.

pyjsta.rtable([1,2,3])

r_expand_grid

A clone of R's expand.grid function

Parameters:
  • col_names (_type_) –

    description

  • list_of_lists (_type_) –

    description

Returns:
  • _type_

    description

col_names = ["one", "two"]
list_of_lists = [["a", "b"], ["C", "D", "E"]]
r_expand_grid(col_names, list_of_lists)