Displaying 2 results from an estimated 2 matches for "mmstruct".
Did you mean:
mm_struct
2013 Sep 18
1
Design for classes with database connection
...cific data variables, i.e. security ID, company ID, timestamp, price, volume (not all have to be provided, but some surely exist on market microstructure data). The less important variables are considered as a slot @other and are only ordered in regard to the other variables. Something like this:
.mmstruct <- setClass('mmstruct', representation(
name = "character",
index = "array",
N = "integer",
K = "integer",
compiD = "array",
secID = "array",
tradetime = "POSIXlt",
flag = "array"...
2013 Sep 09
1
Package installation and path.package
...and there within with 'path.package'. When I install it, I get the error: Error in path.package("mypackage") : none of the packages are loaded. Here is the code, I use in my package:
".defaultDBPath" <- function()
{
db.path <- tempfile(pattern = "mmstructDB",
tmpdir = file.path(path.package("mmstruct"),
"data", "databases"),
fileext = ".db")
return(db.path)
}
.mmstructBASE <- setClass("mm...