read_airfoil: Read a file with airfoil coordinates

Description Usage Arguments Value

Description

The function reads a file in a three-row format and store it in a data frame. The function uses read.table function.

Usage

1
read_airfoil(name, skip_rows = 5, ...)

Arguments

name

A string with a name of the file to read. The file name is relative to a working directory.

skip_rows

A number of rows to skip before reading a table. The default value is 5.

...

additional argumets passed to read.table.

Value

The output data frame contains: x coordinates of points ($x), y coordinates of the lower points ($ylo) and y coordinates of the upper points ($yup).


kmarchlewski/morphfoil documentation built on Oct. 8, 2020, 5:34 p.m.