evalfis: Evaluate a Fuzzy Inference System (fis)

Description Usage Arguments Value Examples

View source: R/FuzzyInferenceSystem.R

Description

Returns an evaluated crisp value for a given fis structure.

Usage

1
evalfis(input_stack, fis, time = 1, point_n = 101, draw = FALSE)

Arguments

input_stack

A matrix representing the input stack, number of inputs (columns) by number of outputs (rows).

fis

A fis must be provided.

time

default 1

point_n

number of discretised points, default 101

draw

whether to draw, TRUE or FALSE

Value

Returns a matrix of evaluated values.

Examples

1
2
3
Input_data <- matrix((1:2),1,2)
fis <- tipper()
evalfis(Input_data, fis)

Example output

         [,1]
[1,] 5.558586

FuzzyR documentation built on May 19, 2021, 9:06 a.m.

Related to evalfis in FuzzyR...