Learn R Programming

synfd (version 0.1.3)

regular.grid: Generate a Regular Grid

Description

Generate a Regular Grid

Usage

regular.grid(M = 100, domain = c(0, 1), h = 1/(2 * M))

Arguments

M

the number of points

domain

the interval

h

margin at boundaries

Value

equally spaced M points in domain.