kyotil (version 2016.11-9)

base.functions: Some Base Functions

Description

cbind.uneven binds together a list of matrixes/dataframes of different lengths, rows are matched by names binary returns binary representation of an integer. binary2 returns binary representatin of an integer with leading 0, the length of string is n. mysystem can call any exe file that is in the PATH f2c convert temperature from f to c/

Usage

cbind.uneven(li) binary(i)
multi.outer (f, ... )
binary2(i, n)
f2c(f)
ftoi(f)
keepWarnings(expr)
meanmed(x, na.rm = FALSE)
methods4(classes, super = FALSE, ANY = FALSE)
myaggregate(x, by, FUN, new.col.name = "aggregate.value", ...)
myreshapewide(formula, dat, idvar, keep.extra.col=FALSE)
mysapply(X, FUN, ..., simplify = TRUE, USE.NAMES = TRUE, ret.mat = TRUE)
myscale(x)
mysystem(cmd, ...)
mytapply(X, INDEX, FUN = NULL, ..., simplify = TRUE)
read.sv(file, header = TRUE, ...)
read.tsv(file, header = TRUE, sep = "\t", ...)
table.prop(x,y=NULL,digit=1,style=2,whole.table.add.to.1=FALSE,useNA="ifany")
table.cases (case,group,include.all=TRUE) table.cases.3(case,group1,group2)
unix()

Arguments

li
a list
i

n

f
In multi.out, f is a function.
case
vector of 0/1
group
vector of multi-group indicators
formula
a formula object.
expr

x

na.rm

classes

super

ANY

by

whole.table.add.to.1
Boolean
new.col.name

...

dat

idvar

X

simplify

USE.NAMES

ret.mat

cmd

INDEX

file

header

sep

y

digit

style

FUN

keep.extra.col

useNA

include.all

group1

group2

Examples

Run this code

binary(5) ###  101
binary2(5, 4)


## Not run: 
# # the formula in myreshapewide can only have one variable in the right hand side
#     myreshapewide(fi~week, dat, c("ptid","stim"))
# ## End(Not run)

Run the code above in your browser using DataCamp Workspace