Fractal box-counting in R

三世轮回 提交于 2019-12-23 12:20:15

问题


I am actually not sure if I should post this here on Stackoverflow or it is better at CrossValidated but it could be moved if you think its not the right place :)

Briefly, I have X, Y coordinates of data for different IDs. These are cell track data and I wanted to try to calculate the fractal dimension of each individual track per ID. My data looks like this:

    structure(c("482.624", "483.577", "484.634", "486.883", "488.211", 
"493.759", "452.133", "450.953", "450.603", "450.424", "450.518", 
"445.979", "0-Si", "0-Si", "0-Si", "0-Si", "0-Si", "0-Si"), .Dim = c(6L, 
3L), .Dimnames = list(NULL, c("X", "Y", "ID")))

I found out that you can use the package fractaldim and I tried to use the function fd.estimate for 2d data but I cannot really figure out how to do it with individual IDs and not the whole data set.

Thanks for your help.


回答1:


I am not really sure if I understand your idea, but you need a matrix in order to use a method for 2d data. Maybe if you want an estimate for each id you should use other kind of method. In this case, each id it's only a point.



来源:https://stackoverflow.com/questions/30220767/fractal-box-counting-in-r

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!