showall-methods: Methods for Function showall

Description Usage Arguments Value Methods See Also Examples

Description

This function is used to visualise the majority of the elements of an object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
showall(object)

## S4 method for signature 'SaemixData'
showall(object)

## S4 method for signature 'SaemixModel'
showall(object)

## S4 method for signature 'SaemixRes'
showall(object)

## S4 method for signature 'SaemixObject'
showall(object)

Arguments

object

showall methods are available for objects of type SaemixData, SaemixModel and SaemixObject

Value

None

Methods

list("signature(x = \"SaemixData\")")

Prints a extensive summary of a SaemixData object

list("signature(x = \"SaemixModel\")")

Prints a extensive summary of a SaemixModel object

list("signature(x = \"SaemixObject\")")

Prints a extensive summary of the results from a SAEMIX fit

list("signature(x = \"SaemixRes\")")

Not user-level

See Also

SaemixData,SaemixModel, SaemixObject

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# A SaemixData object
data(theo.saemix)
saemix.data<-saemixData(name.data=theo.saemix,header=TRUE,sep=" ",na=NA, 
  name.group=c("Id"),name.predictors=c("Dose","Time"),
  name.response=c("Concentration"),name.covariates=c("Weight","Sex"),
  units=list(x="hr",y="mg/L",covariates=c("kg","-")), name.X="Time")
showall(saemix.data)

# A SaemixModel object
model1cpt<-function(psi,id,xidep) { 
	  dose<-xidep[,1]
	  tim<-xidep[,2]  
	  ka<-psi[id,1]
	  V<-psi[id,2]
	  CL<-psi[id,3]
	  k<-CL/V
	  ypred<-dose*ka/(V*(ka-k))*(exp(-k*tim)-exp(-ka*tim))
	  return(ypred)
}
saemix.model<-saemixModel(model=model1cpt,
  description="One-compartment model with first-order absorption", 
  psi0=matrix(c(1.,20,0.5,0.1,0,-0.01),ncol=3, byrow=TRUE,
  dimnames=list(NULL, c("ka","V","CL"))),transform.par=c(1,1,1),
  covariate.model=matrix(c(0,1,0,0,0,0),ncol=3,byrow=TRUE),fixed.estim=c(1,1,1),
  covariance.model=matrix(c(1,0,0,0,1,0,0,0,1),ncol=3,byrow=TRUE),
  omega.init=matrix(c(1,0,0,0,1,0,0,0,1),ncol=3,byrow=TRUE),error.model="constant")
showall(saemix.model)

saemixdevelopment/saemix documentation built on May 27, 2020, 1:56 p.m.