cp: Copy to clipboard function

View source: R/cp.R

cpR Documentation

Copy to clipboard function

Description

Copies data object to clipboard

Usage

cp(x, rn = FALSE)

Arguments

x

A dataframe, matrix or other data object

rn

Rownames are not copied when argument is set to FALSE (default)

Details

This function copies data object to clipboard for easy paste in Word, Excel or email.

Author(s)

Yves R. Sagaert

Examples

copydata <- matrix(ncol=10,nrow=10,data=rnorm(100,100,10))
cp(copydata)


yForecasting/salesforecasting documentation built on April 29, 2022, 7:21 p.m.