I'm trying to compare one data point to a distribution to see if that one data point fits into the distribution. The distribution is not a normal continuous distribution. Which test should I use? Chi square? how do you make a matrix for the Chi square test in R for this case?

I'm trying to compare one data point to a distribution to see if that one data point fits into the distribution. The distribution is not a normal continuous distribution. Which test should I use? Chi square? how do you make a matrix for the Chi square test in R for this case?

A chi-square goodness-of-fit test isn't going to do you any good if your working with ONE data point.

In short, you should provide more background and detail associated with your question. For example, are you attempting to detect an outlier in a data set from a regression analysis? If this is the case you might consider using Cook's D or studentized residual t-statistics.