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

View source: R/data_phase.R

data.frame.phase.timeR Documentation

Create data for phase with weighted sample

Description

Provide a data.frame with weighted samples.

Usage

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

Arguments

x

A vector of point (quantiles)

weights

A vector of weights

Value

A dataframe

Note

The point time is sorted and their differences are stored as the column of time

Examples

x <- runif(10)
w <- runif(10)

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


mapfit documentation built on Nov. 22, 2022, 5:05 p.m.