generate.values.from.events: Create values form events

View source: R/values-functions.R

generate.values.from.eventsR Documentation

Create values form events

Description

Uses the (x,y,z) coordinates of a shower of events to create a values object with the 3D histogram of the events.

Usage

generate.values.from.events(Xe, Ye, Ze, xbin, ybin, zbin, weight = 1,
  variable = "Activity", sparse.matrix = FALSE)

Arguments

Xe

event x coorditate vector.

Ye

event y coordinate vector.

Ze

event z coordinate vector.

xbin

bins x coordinates (extremes).

ybin

bins y coordinates (extremes).

zbin

bins z coordinates (extremes).

weight

weight vector.

variable

The variable name.

sparse.matrix

Return a sparse matrix if TRUE.

Value

Values object or a sparse matrix.

See Also

Other Values, Values Utilities: create.intervals, get.coordinates, get.voxel.index


planit-group/Rplanit documentation built on Dec. 5, 2022, 11:10 p.m.