boxcox.geodata | R Documentation |
Method for Box-Cox transformation for objects of the class
geodata
assuming the data are independent.
Computes and optionally plots profile log-likelihoods for the parameter of the Box-Cox simple power transformation y^lambda
.
## S3 method for class 'geodata'
boxcox(object, trend = "cte", ...)
object |
an object of the class geodata. See |
trend |
specifies the mean part of the model. See
|
... |
arguments to be passed for the function
|
This is just a wrapper for the function boxcox
facilitating its usage with geodata
objects.
Notice this assume independent observations which is typically
not the case for geodata
objects.
A list of the lambda
vector and the computed profile log-likelihood vector, invisibly if the result is plotted.
boxcox
for
parameter estimation results for independent data and
likfit
for parameter estimation
within the geostatistical model.
if(require(MASS)){
boxcox(wolfcamp)
data(ca20)
boxcox(ca20, trend = ~altitude)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.