[R] Question in Chi-squared test, can I do it with percentage data?

2011-03-04 Thread Jeff Fang
Hi all, I know Chi-squared test can be done with the frequency data by R function "chisq.test()", but I am not sure if it can be applied to the percentage data ? The example of my data is as follow: # KSL MHL MWS CLGC

[R] Question about Chi-squared test

2011-03-04 Thread Jeff Fang
Hi all, I know Chi-squared test can be done with the frequency data by R function "chisq.test()", but I am not sure if it can be applied to the percentage data ? The example of my data is as follow: # KSL MHL MWS CLGC

[R] Problem in simulating envelopes with R package "Spatstat"

2011-02-27 Thread Jeff Fang
Hi all, While useing the R package "Spatstat" to detect the spatial point pattern of my data, I met a problem. When I computes simulation envelopes with a fitted point process model: Poisson cluster (Thomas) process (kappa=2.751010e-05; sigma=5.634274e+01; mu=4.943639e+02), I cannot get the high

[R] Which function in R package "Spatstat" can help me to get the Cramer-von Mises statistic

2011-02-22 Thread Jeff Fang
Hi all, When I detect the spatial point pattern, I want to use the Cramer-von Mises statistic to assess the curve-wise significance of deviations from null hypotheses. Who can tell me which function in R package "Spatstat" can do this work? Thanks a lot Jeff [[alternative HTML version

[R] How to detect the spatial point pattern with Thomas process based on pcf

2011-02-19 Thread Jeff Fang
Hi all, I am using "spatstat" to investigate the spatial structure of some plant populations, but I have no idea about detecting the spatial point pattern with Thomas process based on pcf. Additionally, generating simulation envelope using this null model is another problem for me. I am not very f

[R] Spatstat - envelope, Thomas process and Cramer-von Mises

2011-02-14 Thread Jeff Fang
Hi all, I am using "spatstat" to investigate the spatial structure of some plant populations, and I want to detect these patters with IPP and a Thomas process based on pair-correlation function. I know the function "pcfinhom" is available to characterize the IPP, but I have no idea about how to us