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

Problem in Section 9 #63

Open
eggsale opened this issue Mar 22, 2024 · 1 comment
Open

Problem in Section 9 #63

eggsale opened this issue Mar 22, 2024 · 1 comment

Comments

@eggsale
Copy link

eggsale commented Mar 22, 2024

Hi Filipe,

When I am using EX1.Shape<- fieldInfo_extra(mosaic = CHVM$newMosaic$height,
fieldShape = EX1.Shape,
fun=mean)
script, it showed Error in match(x, table, nomatch = 0L) : 'match' requires vector arguments. And I tried to run fieldshape and set it again, but still got this problem. Could you tell me how to solve this promblem?

Thank you,
COCO

@yduguay-CGQ
Copy link

Hi @eggsale,
Your post is a bit old and I don't know if you found your answer, but if other people with the same problem stumble on this post like I did, here is the solution.

Essentially the FIELDimaR.Extra was updated and the fun parameter in fieldInfo_extra needs a string or vector so you need to write fun=mean. Unfortunately the genereal FIELDimageR turorial was not updated to reflect this, but you can find the info in the FIELDimageR.extra repo

Cheers!

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

2 participants