constants_like: Create object of same shape and type as 'x' filled with value...

Description Usage Arguments Value

View source: R/arrays.R

Description

Again copying the Numpy zeros_like and ones_like interface

Usage

1
2
3
4
5

Arguments

x

Object to imitiate

c

Value to fill imitation with

Value

Object of same shape and type as x filled with value c


alexpghayes/hayeslib documentation built on May 5, 2019, 4:47 p.m.