Learn R Programming

mapfit (version 1.0.0)

data.frame.phase.time: Create data for phase with weighted sample

Description

Provide a data.frame with weighted samples.

Usage

data.frame.phase.time(x, weights)

Value

A dataframe

Arguments

x

A vector of point (quantiles)

weights

A vector of weights

Examples

Run this code
x <- runif(10)
w <- runif(10)

dat <- data.frame.phase.time(x=x, weights=w)
print(dat)
mean(dat)

Run the code above in your browser using DataLab