print.ae: Print an ae object

View source: R/ae.R

print.aeR Documentation

Print an ae object

Description

Prints the age.estimates dataframe of an ae object

Usage

## S3 method for class 'ae'
print(x, digits = 3, ...)

Arguments

x

an ae object, as returned by ae.

digits

the number of digits passed on to round

...

arguments passed on to print

Examples


requireNamespace('wormRef', quietly = TRUE)

# get some samples to stage
samp <- wormRef::Cel_larval$g[,13:15]

# load interpolated reference
r_larv <- prepare_refdata(ref = 'Cel_larval', datapkg = 'wormRef' , n.inter = 200)

# perform age estimate
ae_test <- ae(samp, r_larv)

# check output
summary(ae_test)
plot(ae_test) # plot all sample estimates
plot_cor(ae_test) # plot individual correlation profiles of samples

# get results
ae_test$age.estimates


LBMC/wormAge documentation built on April 6, 2023, 3:52 a.m.