Nothing
"cv.sgpls" <-
function( x, y, fold=10, K, eta, scale.x=TRUE, plot.it=TRUE,
br=TRUE, ftype='iden', n.core=8 )
{
y.u <- unique(y)
ngroups <- length(y.u)
if ( ngroups >= 2 )
{
if ( ngroups == 2 )
{
cv <- cv.sgpls.binary( x=x, y=y, fold=fold, K=K, eta=eta,
scale.x=scale.x, plot.it=plot.it, br=br, ftype=ftype, n.core=n.core )
}
if ( ngroups > 2 )
{
cv <- cv.sgpls.multi( x=x, y=y, fold=fold, K=K, eta=eta,
scale.x=scale.x, plot.it=plot.it, br=br, ftype=ftype, n.core=n.core )
}
} else
{
stop( "Check the response vector!" )
}
invisible( cv )
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.