MakeTable: MakeTable

View source: R/XPSUtilities.r

MakeTableR Documentation

MakeTable

Description

MakeTable function to construct table rows in a formatted Font=GCourierNew is the CourierNew with symbols for drawing tab borders. MakeTable print cell text aligned (left, center, right) cell borders and row separators

Usage

MakeTable(Type, txt, CellLength, align)

Arguments

Type

string = BorderUp, BorderIn, BorderBottom, TableRow: prints border or table rows

txt

array containing the txt of the table row

CellLength

array containing the number of character of each table column

align

string = left, center, right: text alignment of the table cells

Value

Returns the processed object.

Examples

## Not run: 
   txt<-c("Components", "Area(cps)", "FWHM", "RSF", "BE(eV)", "TOT.(%)")    #Voci Tabella
   CellLgth<-c(12, 15, 8, 7, 8, 9)
   cell<-MakeTable("MultiCell", txt,CellLength, "center")

## End(Not run)

GSperanza/RxpsG_2.3-1 documentation built on Feb. 11, 2024, 5:09 p.m.