data.frame<- | R Documentation |
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.
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, ...)
x |
the obect of class |
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 |
G <- local_basis()
df <- data.frame(G)
print(df$res)
df$res <- 2
data.frame(G) <- df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.