as.casDataFrame: Convert an R Data Frame to a CAS Data Frame

View source: R/CASdf.R

as.casDataFrameR Documentation

Convert an R Data Frame to a CAS Data Frame

Description

This function is rarely used for programming. It is used by the package to associate CAS metadata with tabular data that is returned by CAS actions.

Usage

as.casDataFrame(
  df,
  name = "",
  label = "",
  title = "",
  attrs = list(),
  col.labels = "",
  col.formats = "",
  col.attrs = list(),
  col.sizes = list(),
  col.types = "",
  col.widths = 0
)

Value

casDataFrame

Examples

## Not run: 
cdf2 = as.casDataFrame(df3[1:4])
cdf = as.casDataFrame(iris)

## End(Not run)

sassoftware/R-swat documentation built on Feb. 26, 2024, 8 a.m.