spatial_effect: Compute spatial effect

Description Usage Arguments Value See Also

View source: R/spatial-effect.R

Description

Computes the effect of plate position on colony growth.

Usage

1
spatial_effect(x, y, value, method = c("rlm", "loess"), deg = 2, ...)

Arguments

x

Integer vector - x colony position (e.g. column).

y

Integer vector - y colony position (e.g. row).

value

Numeric vector - measured colony size.

method

Method used for fitting smooth surface. Either 'rlm', or 'loess'. Defaults to 'rlm'.

deg

Degree of polynomial used for fitting. See poly for details. Defaults to 2.

...

Further arguments passed to method.

Value

Returns a vector with the same length as value.

See Also

rlm loess


EricEdwardBryant/screenmill documentation built on March 13, 2020, 1:07 p.m.