Learn R Programming

FRK (version 2.3.1)

data.frame<-: Basis-function data frame object

Description

Tools for retrieving and manipulating the data frame within Basis objects. Use the assignment data.frame()<- with care; no checks are made to ensure the data frame conforms with the object.

Usage

data.frame(x) <- value

# S4 method for Basis $(x, name)

# S4 method for Basis $(x, name) <- value

# S4 method for Basis data.frame(x) <- value

# S4 method for TensorP_Basis data.frame(x) <- value

# S3 method for Basis as.data.frame(x, ...)

# S3 method for TensorP_Basis as.data.frame(x, ...)

Arguments

x

the obect of class Basis we are assigning the new data to or retrieving data from

value

the new data being assigned to the Basis object

name

the field name to which values will be retrieved or assigned inside the Basis object's data frame

...

unused

Examples

Run this code
G <- local_basis()
df <- data.frame(G)
print(df$res)
df$res <- 2
data.frame(G) <- df

Run the code above in your browser using DataLab