Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beginners... sheesh! #3

Open
RipVege opened this issue Jul 13, 2021 · 0 comments
Open

beginners... sheesh! #3

RipVege opened this issue Jul 13, 2021 · 0 comments

Comments

@RipVege
Copy link

RipVege commented Jul 13, 2021

Dr Erickson: Thanks for making this package available. I have high hopes for using it.

I'm a riparian biologist; not a programmer. I'm trying to use GapFraction to assess forest shading on streams. I've created a LAS object which is a 100m diameter plot of normalized height points around one of my hemispherical photo test plots. I've installed the lidR and GapFraction libraries, and I can run the p.hv function on the test data provided in the GapFraction package, but when I try to run it on my test plot data I get the message:

P.hv(testPlot4)
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'i' in selecting a method for function '[': object of type 'S4' is not subsettable
In addition: Warning message:
In is.na(eval(las)) : is.na() applied to non-(list or vector) of type 'S4'

I've tried several configurations of the input data (select xyzir is current) , but I think this error is more basic than that. My testPlot4 is a LAS object. is that the correct input?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant