JS.insert: Insert rows into dataset

Description Usage Arguments Value Examples

Description

JS.insert inserts rows into dataset

Usage

1
JS.insert(locs, inrows, df, rep = T)

Arguments

locs

Row locations to insert the row

inrows

Rows that need to be inserted

df

Dataset

Value

A dataset with inserted rows

Examples

1
2
3
aa <- data.frame(1:6, col = 2)
a <- c(7,7)
JS.insert (c(1,2),c(7,7),aa) 

SophiaJia/Jsurvformat documentation built on May 9, 2019, 1:52 p.m.