Please Help with dblm()

Good Morning Everyone,

I hope everyone is well and healthy. This is my first post to the Rstudio community and I was wondering if someone could please help me

I am trying to do a Distance Based Linear Model using the dblm() function as a result I am to follow the Distance-based linear model R documentation and am trying to do this format (as recommended by my supervisor)
S3 method for class 'dist'
dblm(distance,y,...,method="OCV",full.search=TRUE,
weights,rel.gvar=0.95,eff.rank)

As a result, I am doing the code up above but I keep getting this error, I have tried looking it look up to no avail as a result if someone could please help me that would be greatly appreciated.

Please note that because my data set had a non-numeric argument I was forced (because I am not too familiar with Rstudio) to make two data sets/frames.

The first was to create distance metric Modified_Mapping which I have attached as a google sheet link https://docs.google.com/spreadsheets/d/1eCFZHIefw0xGqNgQa1L5dKWS3959sG097LgFrleu7Ew/edit#gid=0

The second dataframe named Practice_STATS contains the original along with other columns was used during my dblm() and was used to obtain my response variable faith_pd
https://docs.google.com/spreadsheets/d/1pfWtqRPHRVcC4vOYBdS1an0EC9QSVdwnR1deLme7jGI/edit#gid=0

If more information is needed most defiantly let me know and thank you very much in advance for the help and assistance it is much appreciated

Thank you very much

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.