partial.relationship-class | R Documentation |
(Internal) A reference class calculates partial relationship.
data
data.frame to keep calculated partial relationship data.
data.split
a list having splitted data.frame for each group specified in x.names.
settings
class settings.
calculate.relationship(grid)
Calculate partial relationship.
grid
explanatory variables where predicted values are calculated.
filter.result(prediction)
Remove out-ranged values from result of lsmeans.
This internal function removes predicted values those explanatory variable is out of range of original data used for modeling for each group and returns a resultant data.frame.
result of lsmeans.
initialize(settings)
Initialize class and calculate partial.relationship data.
pp.settings object having function settings.
partial.relationship.internal()
Calculate partial relationship data internally. Mainly used for machine learning methods.
partial.relationship.lsmeans()
Calculate partial regression lines and intervals.
This function calculates data for regression lines and intervals using
lsmeans
function and returns a data.frame.
predict.stats(newdata, predict.fun, new.value.grid, index, levels, type)
Calculate prediction in cluster.
newdata
newdata for prediction.
predict.fun
predict function.
new.value.grid
a data.frame having all combination of focal values of partial relationship grid.
index
row index of new.value.grid
where predicted values
are calculated.
levels
levels of quantiles.
summarize.ref.grid(rg)
Calculate predictions and intervals using lsmeans.
summarize.ref.grid.with.mcmc(lsm)
Calculate predictions and intervals using lsmeans with mcmc.
summarize.ref.grid.without.mcmc(lsm)
Calculate predictions and intervals using lsmeans without mcmc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.