print.sgeeSummary {sgee} | R Documentation |
print
function for sgee summaries
Description
Provides implementation of print
function for summaries of sgee
objects.
Usage
## S3 method for class 'sgeeSummary'
print(x, ...)
Arguments
x |
An object of the |
... |
Not currently used |
Author(s)
Gregory Vaughan
Examples
#####################
## Generate test data
#####################
## Initialize covariate values
p <- 50
beta <- c(rep(2,5),
c(1, 0, 1.5, 0, .5),
rep(0.5,5),
rep(0,p-15))
groupSize <- 5
numGroups <- length(beta)/groupSize
generatedData <- genData(numClusters = 50,
clusterSize = 4,
clusterRho = 0.6,
clusterCorstr = "exchangeable",
yVariance = 1,
xVariance = 1,
numGroups = numGroups,
groupSize = groupSize,
groupRho = 0.3,
beta = beta,
family = gaussian(),
intercept = 1)
genDF <- data.frame(generatedData$y, generatedData$x)
names(genDF) <- c("Y", paste0("Cov", 1:p))
coefMat <- hisee(formula(genDF), data = genDF,
family = gaussian(),
clusterID = generatedData$clusterID,
groupID = generatedData$groupID,
corstr="exchangeable",
maxIt = 50,
epsilon = .5)
sgeeSum <- summary(coefMat)
print(sgeeSum)
[Package sgee version 0.6-0 Index]