Displaying 1 result from an estimated 1 matches for "insertammodellib".
2018 Mar 08
0
grepAMModelLib in package AMML not working as expected
...ple AM Model library")
dataset1 <- 1:100
dataset2 <- seq(2,200,2)
model1 <- lm(dataset2~1)
model2 <- lm(dataset2~ dataset1)
m1 <- amModel(model = model1,comment = "Initial model.")
m2 <- amModel(model = model2,comment = "Final model.")
mymodels <- insertAMModelLib(model = list(m1=m1,m2=m2),amml = mymodels)
> grepAMModelLib(pattern= "m1",amml = mymodels,search = "model")
Description:
[1] Simple AM Model library
Info:
** no informative metadata **
Models:
name class package
1 m1 lm NA
Data:
--- There are no datasets...