Skip to contents

Recycle a df a non-integer number of times

Usage

non_int_replicate(df, measure)

Arguments

df

data.frame to be replicated

measure

Length-out of replication (not number of times). Can be a numeric, a vector, or a df. If a df, will use number of rows. If a vector, will use length.

Value

a data.frame with nrow measure