Displaying 20 results from an estimated 90 matches similar to: "data.frame error using sem package"
2005 Apr 12
1
R Package: mmlcr and/or flexmix
Greetings
I'm a relatively new R user and I'm trying to build a latent class model.
I've used the 'R Site Search' and it appears there's not much dialogue on
these packages
On mmlcr, I've gotten it working, but not sure if I'm using it correctly.
On flexmix, I can only seem to get results for one class.
I'm attaching my code below - if anyone
2009 Apr 04
1
comparing columns in a dataframe
hello,
I am hoping for some advice regarding comparing variables from 3
versions of a spreadsheet which have been combined into a single
dataframe. The aim is to identify which rows have been changed.
The dataframe contains 177 rows of data (each cell contains text).
'intersect' produced a file with 35 rows, 'union' a file with 303
rows and 'setdiff' a file with 130
2011 Jun 26
2
Why is looping in R inefficient, but in C not?
Hey,
I just read another post about calling R from C. Someone on
stackoverflow (DWin makes me suspect its David W.?) referenced this:
http://www.math.univ-montp2.fr/~pudlo/R_files/call_R.pdf
Which made me think: Why is a loop in R bad, but in C not?
And where exactly does looping cost the most? I wrote a piece of code
for my bachelor's thesis where I loop from 1 to 500, and estimate a
2012 Jul 19
1
Change log(J) to log(J+1) to stop log(0) from occurring in harModel
I think the code is part of the RTAQ package but is not included in it, as I
obtained it from
https://r-forge.r-project.org/scm/viewvc.php/pkg/RTAQ/R/HAR_model.R?view=markup&root=blotter&sortby=author&pathrev=1028.
It is not my code and I make no claim to other's good work, and apologize if
I should even be posting it I am not sure, but in the transform function it
allows to
2008 Jul 23
5
Histogram
Hi,
how can I treat data organised in classes and frequencies?
Ex.
class frequency
20-23 9
23-25 7
26-28 5
29-31 5
32-34 3
Thanks
Angelo Scozzarella
2004 Jun 11
1
dll file missing?
Hi,
I am trying to "do" a dyn.load(), but I get the following error...
> dyn.load("fileGT.dll")
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library "C:/R_Files/fileGT.dll":
LoadLibrary failure: The specified module could not be found.
It states it can't find the dll but it is in that directory. I have
2012 Jul 19
1
Switching log(J) to log(J+1) to avoid log(0) in HAR-RVJ model
I am working with xts dependent data, and my code is as follows (the problem
is explained throughout):
dat <- getdat("prices")
dat <- read.zoo(dat, sep = "",format="%d/%m/%Y %H:%M",
tz="", FUN=NULL, regular=TRUE,
header=TRUE, index.column=1, colClasses=c("character",
"numeric"))
dat <- as.xts(dat)
2011 Jul 25
1
error in survival analysis
This is a simple R program that I have been trying to run. I keep running into the "singular matrix" error. I end up with no sensible results. Can anyone suggest any changes or a way around this?
I am a total rookie when working with R.
Thanks,
Rasika
> library(survival)
Loading required package: splines
> args(coxph)
function (formula, data, weights, subset, na.action, init,
2005 Oct 25
1
Ryan's Q Post-Hoc for ANOVA
I'm using lm to run an ANOVA, and would like to use Ryan's Q as my
post-hoc (as recommended by Day and Quinn, 1989, Ecological
Monographs). I can't seem to find any methods in the base stats
package that implement this post-hoc. Is there a good package of
post-hoc methods out there, or has someone written a method for Ryan's
Q previously?
Thanks!
-Jarrett
2012 Oct 23
10
How to pick colums from a ragged array?
I have a large dataset (~1 million rows) of three variables: ID (patient's name), DATE (of appointment) and DIAGNOSIS (given on that date).
Patients may have been assigned more than one diagnosis at any one appointment - leading to two rows, same ID and DATE but different DIAGNOSIS.
The diagnoses may change between appointments.
I want to subset the data in two ways:
- define groups
2004 Nov 23
1
Batch
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Received-SPF: none (hypatia: domain of claudiapaladini at web.de does not designate permitted sender hosts)
X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on hypatia.math.ethz.ch
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0
2012 Dec 21
0
segfault reading large BLOB from SQL Server
I am getting segfaults when I try to read a large binary object from a SQL
Server database via RODBC. I am using the FreeTDS ODBC driver, and it has
been working fine when reading from this same database. I have included
relevant parts of the session below.
Each row of the v_MAFiles view holds a text, html or pdf version of a
document. The FileType entry is one of TXT, PDF, or HTML. If
2006 Mar 18
3
Migrate hangs on Mac OS X
Hello:
A plea for help. I''m following the instructions here:
http://developer.apple.com/tools/rubyonrails.html
I have everything working on my main machine, but my laptop is refusing
to work. When I get to the step of ''rake migrate'' the process hangs. I
have the output below.
The mysql gem is installed, and a test program can talk to the database
fine.
The only
2011 Jun 03
1
Surv(): Stop time must be > start time, NA created
I am writing to get a better handle on a warning I am getting from a coxph analysis I am doing.
I am analysing age of onset of dementia *after* the onset of parkinson disease. My data looks like:
age.park age.dem age.death censor x1 x2 x3 x4
1 76 87 88 0 16 33 E3 E3
2 75 84 84 0 33 36 E3 E3
3 77 81 81 1 NA NA
2017 Mar 20
4
Linux distribution targeted at 32-bit hardware
On Sun, Mar 19, 2017 at 04:34:06PM -0700, David Christensen via Syslinux wrote:
>
> If anyone knows of a Linux distribution targeted at 32-bit hardware,
> please say so.
>
Please elaborate
2000 Sep 19
1
patch for ogg123 on FreeBSD
In order to get ogg123 to compile under FreeBSD, I had to change the include
order:
Index: ogg123.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/vorbis-tools/ogg123.c,v
retrieving revision 1.17
diff -u -r1.17 ogg123.c
--- ogg123.c 2000/08/30 06:09:22 1.17
+++ ogg123.c 2000/09/19 17:18:12
@@ -27,8 +27,8 @@
#include
2001 Sep 24
2
Undeliverable Mail
Mail delivery failed: recipient does not exist.
Tip: Did you mean @iribarren.net?
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will
2000 Dec 15
2
Makefile patches
I have sent some patches to some Makefile.am's as well as to some
configure.in's, particularly for building without gcc and gmake.
Can someone review those patches, and/or commit them?
(we are working at the CVS head these days, no?)
I cannot build in Solaris without gcc/gmake, for example -- running
"autogen.sh" in the ao project with the native Solaris compilers causes
2010 Jul 22
2
Changing some values within a variable
Hi
I'm new to R and would like some help with a couple of problems. I
suspect the solutions are quite simple.
I have a data.frame (data) with 40 variables and 5238 observations
created from ~150 text files using read.table.
I would like to change some of the entries within two different columns.
Firstly, in the Group column I have groups A and B, I would like to
select all As and change
2001 Oct 23
1
can't find files due to wrong filepath
Hi all,
i run wine for quite some time now, and it always worked allright
for programs like paint shop pro 4, and some program's i wrote
for myself with vbasic/c++
but i read about transgaming, with a new Directx api, so i wanted
to give that a try. that distrobution runs my old programs like
psp well, but some programs can't run because they seem to miss some
files.. i had that same