Learn R Programming

iprior (version 0.6.5)

datfbm: Simulated data to illustrate one-dimensional smoothing

Description

Data generated from a mixed Gaussian density function \(f(x) = 0.65 N(2,1) + 0.35 N(7, 1.5^2)\), where \(N(x, y)\) is the density function for a Normal distribution with mean \(x\) and variance \(y\).

Usage

datfbm

Arguments

Format

A data frame with 53940 rows and 10 variables:

y

Response variable

x

Explanatory variable

Examples

Run this code
data(simdat)
str(simdat)

Run the code above in your browser using DataLab