cloud: cloud receives a vector and makes a cloud object

Description Usage Arguments Value

View source: R/cloud.R

Description

cloud receives a vector and makes a cloud object

Usage

1
cloud(x, weight = 1/length(x))

Arguments

x

a numeric vector

weight

a vector of weights for x, 1 / length(x) by default

Value

a cloud object, a data frame with columns 'value' and 'weight'


nebulae-co/clouds documentation built on Nov. 18, 2017, 6:15 p.m.