shortcuts: Shortcuts for common functions

lR Documentation

Shortcuts for common functions

Description

Shortcuts for common functions

Usage

l(...)

p(...)

h(...)

msd(x)

ss(x)

write.col(x, col.names = F, row.names = F, quote = F, ...)

Arguments

...

further parameters to be passed to other functions.

x

a numeric vector

Details

p, h and l are simple shortcuts for paste, head and length functions, respectively.

msd prints the mean and standard deviation of a numeric vector and returns them invisibly in a named numeric vector.

ss returns a sum of squares of a numeric vector

write.col wrapper for write.table for saving a single column without column or rownames and quotes.


january3/myfuncs documentation built on Jan. 16, 2025, 8:37 p.m.