Skip to contents

Default recipes are reconstructed from normalized component foreign keys. Parameter overrides are accepted only for the legacy G-family compatibility surface and remain content-bound, non-frozen specifications.

Usage

synthetic.registry.spec(recipe.id, parameters = list())

Arguments

recipe.id

One of synthetic.registry.ids().

parameters

Optional named parameter overrides.

Value

A validated synthetic_spec.

Examples

synthetic.registry.spec("G1")
#> $geometry.spec
#> $kind
#> [1] "geometry"
#> 
#> $family
#> [1] "quadform"
#> 
#> $version
#> [1] 1
#> 
#> $parameters
#> $parameters$intrinsic.dim
#> [1] 2
#> 
#> $parameters$ambient.dim
#> [1] 2
#> 
#> $parameters$forms
#> list()
#> 
#> $parameters$canonical.dim
#> [1] 2
#> 
#> $parameters$frame
#> [1] "canonical"
#> 
#> $parameters$frame.algorithm
#> NULL
#> 
#> $parameters$frame.matrix
#> NULL
#> 
#> $parameters$offset
#> [1] 0 0
#> 
#> 
#> attr(,"class")
#> [1] "synthetic_quadform_geometry" "synthetic_geometry"         
#> [3] "synthetic_component"        
#> 
#> $sampling.spec
#> $kind
#> [1] "sampling"
#> 
#> $family
#> [1] "uniform.box"
#> 
#> $version
#> [1] 1
#> 
#> $parameters
#> $parameters$lower
#> [1] -1
#> 
#> $parameters$upper
#> [1] 1
#> 
#> $parameters$order
#> [1] "draw"
#> 
#> $parameters$algorithm
#> [1] "column.major.runif.v1"
#> 
#> 
#> attr(,"class")
#> [1] "synthetic_uniform_box_sampling" "synthetic_sampling"            
#> [3] "synthetic_component"           
#> 
#> $truth.spec
#> $kind
#> [1] "truth"
#> 
#> $family
#> [1] "polynomial"
#> 
#> $version
#> [1] 1
#> 
#> $parameters
#> $parameters$scope
#> [1] "population"
#> 
#> $parameters$estimand
#> [1] "Polynomial conditional mean"
#> 
#> $parameters$evaluation.coordinates
#> [1] "latent"
#> 
#> $parameters$parameters
#> $parameters$parameters$coefficients
#>   b0   b1   b2  b11  b12  b22 
#>  0.5  1.0 -0.7  0.4  0.3 -0.6 
#> 
#> 
#> 
#> attr(,"class")
#> [1] "synthetic_polynomial_truth" "synthetic_truth"           
#> [3] "synthetic_component"       
#> 
#> $response.spec
#> $kind
#> [1] "response"
#> 
#> $family
#> [1] "gaussian"
#> 
#> $version
#> [1] 1
#> 
#> $parameters
#> $parameters$target
#> [1] "conditional.mean"
#> 
#> $parameters$parameters
#> $parameters$parameters$sd
#> [1] 0
#> 
#> 
#> 
#> attr(,"class")
#> [1] "synthetic_gaussian_response" "synthetic_response"         
#> [3] "synthetic_component"        
#> 
#> $compatibility
#> $compatibility$recipe
#> [1] "G1"
#> 
#> $compatibility$seed.policy
#> [1] "geosmooth.g1.g7.v1"
#> 
#> 
#> $metadata
#> $metadata$D
#> [1] 2
#> 
#> $metadata$degree
#> [1] 2
#> 
#> $metadata$sigma
#> [1] 0
#> 
#> $metadata$poly.coef
#> NULL
#> 
#> 
#> $recipe.id
#> [1] "g1.ambient.polynomial.v1"
#> 
#> $registry.tag
#> [1] "G1"
#> 
#> $specification.sha256
#> [1] "7c7a6177e1f65b4ad3cca9692c7e467d63efbe5d5394e8dc8d4306caace59b10"
#> 
#> attr(,"class")
#> [1] "synthetic_spec" "list"