Displaying 20 results from an estimated 2000 matches similar to: "lme on large data frames"
2007 Jun 15
0
Need Help with Dendrogram and DataFrame Leaf names
I having problem with dendrogram leaf names when I read a tab delimited
file into dataframe;
I have a text file, tab delimited, using read.table into a data frame as
follows:
> test1<-read.table("c:\\R\\data\\Tremont4.txt", header=TRUE, sep="\t")
When I do this the "test1" data frame is picking up my first column
names as
part of the data and not the case
2006 Feb 05
3
reading in a tricky computer program output
Hi R user
I need to read in some values from a computer program output.
I can't change the output format because the developer of the program
doesn't allow to change the format of output.
There are two formats.
First one looks like this
if I have 10 variables,
------------------------------------------------------------------------------------------------------
[ 1]
2018 May 16
0
Systemfit
Sadly you failed to set your email program to send plain text and the data is corrupted at my end.
I also think you need to reduce the size of the data set... the intent here is to increase your understanding, not debug your particular analysis.
I will say that I am having a very challenging time understanding what you are trying to accomplish though. What are the equations that you think need
2018 May 16
1
Systemfit Question
I can't get my simultaneous equations to work using system fit. Please help.
#Reproducible script
Empdata<- read.csv("/Users/ngwinuiazenui/Documents/UPLOADemp.csv")
View(Empdata)
str(Empdata)
Empdata$gnipc<-as.numeric(Empdata$gnipc)
install.packages("systemfit")
library("systemfit")
pdata <- plm.data(Empdata,
2018 May 15
2
Systemfit
OK, Let's try this again! Here is the reproducible script; it is long because I had to copy the panel dataset here. My question is related to systemfit; I don't know how to get the result for the entire panel.
#Reproducible script
Empdata<- read.csv("/Users/ngwinuiazenui/Documents/UPLOADemp.csv")
View(Empdata)
install.packages("systemfit")
2013 Apr 16
1
assistant
Dear Sir/Ma,
I Adelabu.A.A, one of the R-users from Nigeria. When am running a coxph command the below error was generated, and have try some idea but not going through. kindly please assist:
> cox1 <- coxph(Surv(tmonth,status) ~ sex + age + marital + sumassure, X)
Warning message:
In fitter(X, Y, strats, offset, init, control, weights = weights, :
Ran out of iterations and did not
2010 Feb 17
2
extract the data that match
Hi r-users,
I would like to extract the data that match. Attached is my data:
I'm interested in matchind the value in column 'intg' with value in column 'rand_no'
> cbind(z=z,intg=dd,rand_no = rr)
z intg rand_no
[1,] 0.00 0.000 0.001
[2,] 0.01 0.000 0.002
[3,] 0.02 0.000 0.002
[4,] 0.03 0.000 0.003
[5,] 0.04 0.000 0.003
[6,]
2007 Aug 25
3
fill circles
Hi all,
I'm an R newbie,
I did this script to create a scatterplot using the "tree" matrix from
"datasets" package:
library('datasets')
with(trees,
{
plot(Height, Volume, pch=3, xlab="Height", ylab="Volume")
symbols(Height, Volume, circles=Girth/12, fg="grey", inches=FALSE,
add=FALSE)
}
)
I'd like to use the column Named
2008 Mar 08
1
ask for help on nonlinear fitting
I have a table like the following. I want to fit Cm to Vm like this:
Cm ~ Cl+Q1*b1*38.67*exp(-b1*(Vm-Vp1)*0.03867)/(1+exp(-b1*(Vm-Vp1)*0.03867))^2+Q2*b2*38.67*exp(-b2*(Vm-Vp2)*0.03867)/(1+exp(-b2*(Vm-Vp2)*0.03867))^2
I use nls, with start=list(Q1=2e-3, b1=1, Vp1=-25, Q2=3e-3, b2=1,
Vp2=200). But I always get 'singlular gradient' error like this. But
in SigmaPlot I can get the result. How
2007 Jun 13
2
Formatted Data File Question for Clustering -Quickie Project
I am trying to learn how to format Ascii data files for scan or read
into R.
Precisely for a quickie project, I found some code (at end of this
email) to do exactly what I need:
To cluster and graph a dendrogram from package (stats).
I am stuck on how to format a text file to run the script.
I looked at the dataset USArrests (which would be replaced by my data
and labels) using UltraEdit. That
2006 Mar 11
1
Quicker quantiles?
Motivated by Deepayan's recent inquiries about the efficiency of the
R 'quantile'
function:
http://tolstoy.newcastle.edu.au/R/devel/05/11/3305.html
http://tolstoy.newcastle.edu.au/R/devel/06/03/4358.html
I decided to try to revive an old project to implement a version of
the Floyd
and Rivest (1975) algorithm for finding quantiles with O(n)
comparisons. I
used
2010 Jul 06
1
acf
Hi list,
I have the following code to compute the acf of a time series
acfresid <- acf(residfit), where residfit is the series
when I type acfresid at the prompt the follwoing is displayed
Autocorrelations of series ?residfit?, by lag
0.0000 0.0833 0.1667 0.2500 0.3333 0.4167 0.5000 0.5833 0.6667 0.7500 0.8333
1.000 -0.015 0.010 0.099 0.048 -0.014 -0.039 -0.019 0.040 0.018
2012 May 11
0
Interpreting summary of lme
Dear mixed-modelers,
I have built a mixed model and I'm having serious trouble with interpreting
the output.
I want to test differences in the coefficient of variation (CV) of light
across 3 tree crown exposures (Depth). I have measured direct and diffuse
radiation (RF) and I want to test for differences for each kind of radiation
between crown exposures, as well as differences between
2007 May 29
2
trouble understanding why ...=="NaN" isn't true
I have the following data:
> dataset[2,"Sample.227"]
[1] NaN
1558 Levels: -0.000 -0.001 -0.002 -0.003 -0.004 -0.005 -0.006 -0.007 -0.008-
0.009 ... 2.000
However, I'm not sure why this expression is coming back as FALSE:
> dataset[2,"Sample.227"]=="NaN"
[1] FALSE
Similarly:
> dataset[2,"Sample.227"]==NaN
[1] NA
It seems that since
2018 Jun 22
1
lazy expunge folder delete bug
There's a bug in "folder delete" for lazy expunge, type "1 namespace", as descibed on https://wiki2.dovecot.org/Plugins/Lazyexpunge
When trying to delete a mailbox that still has messages in it, but that has no EXPUNGED/<name> counterpart, the process hangs after the imap "DELETE" command, and the following appears in the log file after a 60s timeout:
Jun
2011 Dec 07
1
MIXED MODEL WITH REPEATED MEASURES
I am trying to specify a mixed model for my research, but I can't quite get
it to work. I've spent several weeks looking thru various online sources to
no avail. I can't find an example of someone trying to do precisely what I'm
trying to do. I'm hoping some smart member of this mailing list may be able
to help.
First off, full disclosure: (1) I'm an engineer by trade, so
2010 Mar 19
1
How to plot two cumulative frequency graph together
Dear masters,
I have data that looks like this:
#val Freq1 Freq2
0.000 178 202
0.001 4611 5300
0.002 99 112
0.003 26 30
0.004 17 20
0.005 15 20
0.006 11 14
0.007 11 13
0.008 13 13
...many more lines..
Full data can be found here:
http://dpaste.com/173536/plain/
What I intend to do is to have a cumulative graph
with "val" as x-axis with "Freq1" & "Freq2" as
2008 Dec 08
1
partial correlation
Hej!
I have the following problem:
I would like to do partial correlations on non-parametric data. I checked
"pcor" (Computes the partial correlation between two variables given a set
of other variables) but I do not know how to change to a Spearman Rank
Correlation method [pcor(c("BCDNA","ImProd","A365"),var(PCor))]
Here''s a glimpse of
2005 Jun 01
1
Problem with fPortfolio
Hello,
I hesitate to call this a bug, because I could have forgotten something
important, but the MarkowitzPortfolio example in fPortfolio does not work
for me. Here's my code:
> library(fPortfolio)
>
>xmpPortfolio("\nStart: Load monthly data set of returns > ")
> data(berndtInvest)
> # Exclude Date, Market and Interest Rate columns from data
2002 Apr 09
1
write.table
Hello,
When using write.table I am getting two variables pasted together (not
by choice). Has anyone else had this happen?
Specifically, I have the following:
d _ read.dta(paste('/montecarlo/forecast/off/',F,'.dta',sep=''))
write.table(d,file=paste('/montecarlo/forecast/off/csv/',F,'.csv',sep=''),
row.names=FALSE, col.names=FALSE,