[R] structural equation modeling in sem, error, The model has negative degrees of freedom = -3, and The model is almost surely misspecified...

2010-10-25 Thread Alex Anderson
Hi all, I am attempting to learn my way through the sem package by constructing a simple structural model for some of my data on bird diversity, abundance, and primary productivity. I have constructed a covariance matrix between these variables as per the following: S_matrix = matrix(c( +

[R] converting NSCA HDF5 files to ASCII

2010-09-22 Thread Alex Anderson
Hi All, I am struggling with the task of converting some MODIS remotes sensed image data in HDF5 format to ASCII format. I have found oblique references to the HDF format in the help files for the packages hdf5, RnetCDF, and ncdf, but nothing that appears to read in an HDF format file and

[R] calling external .EXE file in R macOSX

2010-03-21 Thread Alex Anderson
Hi All, I am currently working on an analysis which requires a call to an external FORTRAN routine contained within a file called MCDS.EXE. This file is usually called from within a WINDOWS program called DISTANCE. I have some R script from the developers of the original software which

[R] converting character vector hh:mm to chron or strptime 24 clock time vectors

2010-02-16 Thread Alex Anderson
mention 24 clocks, strptime neither, and the Rnews issue 1/4 with an article about time is no help... Any thoughts would be much appreciated. regards Alex Anderson James Cook University Townsville, Australia __ R-help@r-project.org mailing list https