Skip to contents

Print method for synthdid memory estimate

Usage

# S3 method for class 'synthdid_memory_estimate'
print(x, ...)

Arguments

x

A synthdid_memory_estimate object

...

Additional arguments (ignored)

Value

Invisibly returns the original object

Examples

# \donttest{
# Estimate memory for a large problem
mem <- synthdid_memory_estimate(N = 1000, T = 200, K = 10, replications = 500)
print(mem)
#> Synthdid Memory Estimate
#> ========================
#> 
#> Problem size: N=1000 units, T=200 periods, K=10 covariates
#> 
#> Core estimation:     0.02 GB
#> SE computation:      0.07 GB (500 replications)
#> Total (peak):        0.08 GB
#> 
#> Memory requirement is reasonable for most systems.
# }