Piecewise function
piecewise.RdMainly present to allow the use of it in IQRmodels. Assumes that x is defined outside of it.
piecewise(...)Value
Value1 if condition1 is true, valueN-1 if condition N-1 is true, valueN if no condition is true. If several conditions are true the value for the first condition that is true is returned.
See also
Other Auxiliary:
IQRloadCSVdata(),
IQRsaveCSVdata(),
and(),
aux_explode(),
aux_explodePC(),
aux_fileparts(),
aux_fileread(),
aux_filewrite(),
aux_getRelPath(),
aux_mkdir(),
aux_na_locf(),
aux_postFillChar(),
aux_preFillChar(),
aux_quantilenumber(),
aux_rmdir(),
aux_simplifypath(),
aux_splitVectorEqualPieces(),
aux_strFindAll(),
aux_strrep(),
aux_strtrim(),
aux_unlevel(),
aux_version(),
calcAICBIC(),
clusterX(),
compare_IQRmodel_IQRsysModel_simulation(),
fit_EmaxModel(),
format_GUM(),
ge(),
gen_aux_version(),
geocv(),
geomean(),
geosd(),
ginv(),
gt(),
interp0(),
interp1(),
interpcs(),
inv_logit(),
le(),
logit(),
lt(),
mod(),
mvrnorm(),
norm_M3(),
or(),
progressBar(),
remove_duplicates(),
run_silent_IQR(),
stopIQR(),
tempdirIQR(),
tempfileIQR(),
warningIQR()
Other Allowed in IQRmodel:
IQRmodel(),
and(),
ge(),
gt(),
interp0(),
interp1(),
interpcs(),
le(),
lt(),
mod(),
or()
Other Allowed in IQRmodel:
IQRmodel(),
and(),
ge(),
gt(),
interp0(),
interp1(),
interpcs(),
le(),
lt(),
mod(),
or()
