Eflags: Loads compiled fortran in shared file cnvrt and returns the...

View source: R/Eflags.R

EflagsR Documentation

Loads compiled fortran in shared file cnvrt and returns the error messages

Description

This function loads and runs the compiled fortran code cnvrt and prints error messages. cnvrt is Piepel's 1988 JQT fortran code for extreme vertices designs.

Usage

 
Eflags(ndm,nvrr,ncon2,rtheta2) 

Arguments

ndm

This is the order of centroids desired (0=none, 1=edge centroids, 2=face centroids etc.)

nvrr

This is the number of mixture variables ( maximum is 12)

ncon2

This is the number of constraints (maximum is 45)

rtheta2

This is the constraint matrix stored as a vector of columns.

Value

ifa

This is the vector of error flags. A negative value for flag 1 indicates that there are inconsistent constraints. A negative value for flag2 indicates there are two many vertices and centroids, this program only works when # vertices + # centroids <=1000. A negative value for flag 3 indicates an error encountered when calling subroutine allnr.

Note

This function is called by the function crtave.

Author(s)

John S. Lawson lawson@byu.edu

References

1. Piepel, G. F. "Programs for Generating Extreme Vertices and Centroids of Linearly Consrtained Experimental Regions" Journal of Quality Technology, Vol 20, No. 2, pp. 125-139, 1988.


mixexp documentation built on May 28, 2022, 3:01 a.m.