In your original posting, you did say that the funeral would be for your best friend's father. Does your friend know how what the kilt means to you? If your gut feeling is that it would be appropriate to wear a kilt, I think you should, but you are in a far better position to predict your friend's reaction than any of us.