8.1 API by Category

8.1.1 Tables

table

Tabular data array containing multiple columnar variables.

See table.

array2table

Convert an array to a table.

See array2table.

cell2table

Convert a cell array to a table.

See cell2table.

struct2table

Convert struct to a table.

See struct2table.

tableOuterFillValue

See tableOuterFillValue.

vartype

Filter by variable type for use in suscripting.

See vartype.

istable

True if input is a ‘table’ array or other table-like type, false otherwise.

See istable.

istimetable

True if input is a ‘timetable’ array or other timetable-like type, false otherwise.

See istimetable.

istabular

True if input is eitehr a ‘table’ or ‘timetable’ array, or an object like them.

See istabular.

tblish.evalWithTableVars

Evaluate an expression against a table array’s variables.

See tblish.evalWithTableVars.

tblish.table.grpstats

Statistics by group for a table array.

See tblish.table.grpstats.

8.1.2 Strings and Categoricals

string

A string array of Unicode strings.

See string.

NaS

“Not-a-String".

See NaS.

contains

Test if strings contain a pattern.

See contains.

dispstrs

Display strings for array.

See dispstrs.

categorical

Categorical variable array.

See categorical.

iscategorical

True if input is a ‘categorical’ array, false otherwise.

See iscategorical.

NaC

“Not-a-Categorical".

See NaC.

discretize

Group data into discrete bins or categories.

See discretize.

8.1.3 Dates and Times

datetime

Represents points in time using the Gregorian calendar.

See datetime.

NaT

“Not-a-Time”.

See NaT.

todatetime

Convert input to a Tablicious datetime array, with convenient interface.

See todatetime.

localdate

Represents a complete day using the Gregorian calendar.

See localdate.

isdatetime

True if input is a ‘datetime’ array, false otherwise.

See isdatetime.

calendarDuration

Durations of time using variable-length calendar periods, such as days, months, and years, which may vary in length over time.

See calendarDuration.

iscalendarduration

True if input is a ‘calendarDuration’ array, false otherwise.

See iscalendarduration.

calmonths

Create a ‘calendarDuration’ that is a given number of calendar months long.

See calmonths.

calyears

Construct a ‘calendarDuration’ a given number of years long.

See calyears.

days

Duration in days.

See days.

duration

Represents durations or periods of time as an amount of fixed-length time (i.e.

See duration.

hours

Create a ‘duration’ X hours long, or get the hours in a ‘duration’ X.

See hours.

isduration

True if input is a ‘duration’ array, false otherwise.

See isduration.

milliseconds

Create a ‘duration’ X milliseconds long, or get the milliseconds in a ‘duration’ X.

See milliseconds.

minutes

Create a ‘duration’ X hours long, or get the hours in a ‘duration’ X.

See minutes.

seconds

Create a ‘duration’ X seconds long, or get the seconds in a ‘duration’ X.

See seconds.

timezones

List all the time zones defined on this system.

See timezones.

years

Create a ‘duration’ X years long, or get the years in a ‘duration’ X.

See years.

8.1.4 Missing Data

missing

Generic auto-converting missing value.

See missing.

isnanny

Test if elements are NaN or NaN-like

See isnanny.

eqn

Determine element-wise equality, treating NaNs as equal

See eqn.

8.1.5 Validation Functions

mustBeA

See mustBeA.

mustBeCellstr

See mustBeCellstr.

mustBeCharvec

See mustBeCharvec.

mustBeFinite

See mustBeFinite.

mustBeInteger

See mustBeInteger.

mustBeMember

See mustBeMember.

mustBeNonempty

See mustBeNonempty.

mustBeNumeric

See mustBeNumeric.

mustBeReal

See mustBeReal.

mustBeSameSize

See mustBeSameSize.

mustBeScalar

See mustBeScalar.

mustBeScalarLogical

See mustBeScalarLogical.

mustBeVector

See mustBeVector.

8.1.6 Miscellaneous

colvecfun

Apply a function to column vectors in array.

See colvecfun.

dispstrs

Display strings for array.

See dispstrs.

head

Get first K rows of an array.

See head.

isfile

See isfile.

isfolder

See isfolder.

pp

Alias for prettyprint, for interactive use.

See pp.

scalarexpand

Expand scalar inputs to match size of non-scalar inputs.

See scalarexpand.

size2str

Format an array size for display.

See size2str.

splitapply

Split data into groups and apply function.

See splitapply.

tail

Get last K rows of an array.

See tail.

vecfun

Apply function to vectors in array along arbitrary dimension.

See vecfun.

tblish.sizeof2

Approximate size of an array in bytes, with object support.

See tblish.sizeof2.

8.1.7 Example Datasets

tblish.datasets

Example dataset collection.

See tblish.datasets.

tblish.dataset

The ‘tblish.dataset’ class provides convenient access to the various datasets included with Tablicious.

See tblish.dataset.

8.1.8 Example Code

tblish.examples.coplot

Conditioning plot.

See tblish.examples.coplot.

tblish.examples.plot_pairs

Plot pairs of variables against each other.

See tblish.examples.plot_pairs.

tblish.examples.SpDb

The classic Suppliers-Parts example database.

See tblish.examples.SpDb.