Basis_data.frame: Basis-function data frame object

Description Usage Arguments Examples

Description

Tools for retrieving and manipulating the data frame within the Basis objects. Use the assignment data.frame()<- with care; no checks are made to make sure the data frame conforms with the object. Only use if you know what you're doing.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
data.frame(x) <- value

## S4 method for signature 'Basis'
x$name

## S4 replacement method for signature 'Basis'
x$name <- value

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

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

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

## S3 method for class '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

1
2
3
4
5
G <- local_basis()
df <- data.frame(G)
print(df$res)
df$res <- 2
data.frame(G) <- df

FRK documentation built on May 2, 2019, 8:11 a.m.