interPlot: interPlot

Description Usage Arguments Details Author(s) Examples

Description

Interactive 3D plot by calling 'plotly' package functions.

Usage

1
2
interPlot(x,y,z,weight=NULL,exposure=NULL,numGrpx=10,numGrpy=10,
xname="x",yname="y",zname="z")

Arguments

x, y

a vector indicates the dependent variable that you want to visulise on (i.e. Age)

z

a vector indicates the response variable that you want to visulise on (i.e. Age)

weight

Optional. A numerical vector to specify the weights used for calculating weighted average of response. normally this is the figures from over/down-samping.

exposure

Optional. A numerical vector to specify the exposure used for calculating weighted average of response.

numGrpx, numGrpy

integer. Give the number of buckets for either x or y factors.

xname, yname, zname

Optional. Characters to be shown on plot.

Details

This functions gives a 3D interactive view of between factors. This is really useful when modeller wants to assess the interaction terms. Hence the 'z' can be actual response data or model predictions.

Author(s)

Sixiang Hu

Examples

1
interPlot(mtcars$disp,mtcars$mpg,mtcars$qsec)

SixiangHu/DataMan documentation built on May 9, 2019, 1:48 p.m.