[R] Problem of Running Simulations for Monte Carlo Spatial Segregation Test using Spatialkernel Package

2006-12-08 Thread Wei Zhang
ntest=50 or less. Any suggestion is appreciated. Wei Zhang __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal

[R] basis and penalty matrices for natural cubic splines

2005-12-16 Thread Wei Zhang
Hi, I am trying to get the basis matrix and penalty matrix for natural cubic splines. I found R function ns can generate the B-spline basis matrix for a natural cubic spline; and bsplinepen can compute the penalty matrix for functions expressed in terms of a B-spline basis. However, these two