Displaying 20 results from an estimated 40000 matches similar to: "(no subject)"
2011 Mar 11
4
(no subject)
Hi, I have tried to load a file originally from Excel, via csv, text and clipboard today.
When I succeed I cannot change the format from "factor", and when I try to convert it to numerical it only gives the position of the "factor-group", not the real value in the column?
Any quick suggestions?
Andreas
[[alternative HTML version deleted]]
2006 Jul 17
1
sem: negative parameter variances
Dear Spencer and Prof. Fox,
Thank you for your replies. I'll very appreciate, if you have any ideas concerning the problem described below.
First, I'd like to describe the model in brief.
In general I consider a model with three equations.
First one is for annual GRP growth - in general it looks like:
1) GRP growth per capita = G(investment, migration, initial GRP per
2007 Mar 16
1
Probably simple function problem
# I have a simple function problem. I thought that I
could write a function to modify a couple of vectors
but I am doing something wrong
#I have a standard cost vector called "fuel" and some
adjustments to the
#costs called "adjusts". The changes are completely
dependend on the length
#of the dataframe newdata I then need to take the
modifed vectors and use
# them later. I
2013 Jan 14
1
Wrong bin count number with hist() ?
Hi there,
# Consider the following example:
A = 19
B = 20
A< B
A==B
hist(c(1:15,B,50),breaks=c(0,15,A,50),plot=F)$count
hist(c(1:15,A,50),breaks=c(0,15,B,50),plot=F)$count
# I was expecting the same results with the following values of A and B:
A = 19.6019203953960
B = 19.6019204365543
A< B
A==B
hist(c(1:15,B,50),breaks=c(0,15,A,50),plot=F)$count# wrong
2011 Apr 22
1
histogram of dates
I can't seem to get a histogram of dates:
tmt910% R --vanilla
R version 2.13.0 (2011-04-13)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
...
> temp <- as.Date(1:200, origin="1970/01/01")
> range(temp)
[1] "1970-01-02" "1970-07-20"
> hist(temp)
Error in .Internal(inherits(x, what, which)) : 'x' is missing
2007 Jan 03
2
Lattice / Trellis analog of axis(graphics) ?
My question is so basic that I am (almost too) embarrassed to admit that
I could not find an answer after an hour's worth of homework.
What is the Trellis / Lattice analog for the axis(graphics) function
that enables the creation of axes in locations other than the default
(i.e., bottom for X axis and right for Y axis) ?
For example when plotting mileage against weight (in American
2009 Sep 12
1
(no subject)
Dear All
I hope you can help me with this small problem. I want to draw a normal distribution line to this data:
p<-rnorm(100, mean=50000, sd=3000)
hist(p)
Kabeli
[[alternative HTML version deleted]]
2008 Mar 21
2
Frontlines fuel of war - Problem
Hi,
I installed this game Frontlines fuel of war with wine 0.9.57,
it installs fine (2 DVDs german version), patching to 1.01 - no
problem. Starting from DVD does not work, so I have to use
a no-cd help.
But here is another problem :
fixme:spoolsv:serv_main (0 (nil))
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"
2008 Mar 02
3
Need help to locate my mistake
Dear readers
I would like to make General Linear Model (GLM) for the following data set
http://louise.hoffman.googlepages.com/fuel.csv
The code I have written is
fuelData<-read.table('fuel.csv',header=TRUE, sep=',')
n<-dim(fuelData)[1]
xOnes<- matrix(1,nrow=n,ncol=1)
x<-cbind(xOnes,fuelData[,3])
y<-fuelData[,4]
theta<-((t(x)%*%x)^(-1))%*%t(x)%*%y
which gives
2012 Feb 23
3
why is generating the same graph???
Hi,
why my script iss always generating the same graph?when I change the parameters and the name of text file?
library(MASS)
dados<-read.table("inverno.txt",header=FALSE)
vento50<-fitdistr(dados[[1]],densfun="weibull")
png(filename="invernoRG.png",width=800,height=600)
hist(dados[[1]], seq(0, 18, 0.5), prob=TRUE, xlab="Velocidade
2008 Feb 11
2
Questions about histograms
Hello
I'm doing some experiments with the various histogram functions and I
have a two questions about the "prob" option and binning.
First, here's a simple plot of my data using the default hist()
function:
> hist(data[,1], prob = TRUE, xlim = c(0, 35))
http://go.sneakymustard.com/tmp/hist.jpg
My first question is regarding the resulting plot from hist.scott() and
2004 Sep 09
1
hist( ) fails with 'Inf' values unlike plot( ) (PR#7220)
Full_Name: Elizabeth Purdom
Version: 1.9.1
OS: Windows
Submission from: (NULL) (171.64.102.192)
hist() fails if encounters 'Inf' value, rather than giving warning and removing.
Other graphics, like plot(), don't have this problem. It's actually rather
confusing if you are taking the log of data real valued data with a few
non-positive numbers. hist() works fine in this situation
2009 Jul 12
4
Shell32.IsUserAnAdmin function not found - installation
I am trying to install the fuel demo (fuel-game.com) in an ubuntu 9.04 X86_64 PC.
It fails very quickly, saying that the search for the function shell32.IsUserAnAdmin was not found.
My searches did not bring anything interesting expect that there were changes in wine 1.1.24.
My wine installation is fresh, nothing special in configurations. Should I install something for it ? The only test in the
2002 Jun 14
1
Error: NA/NaN/Inf in foreign function call (arg 1)
Hi,
I have a huge data table with several variables containing missing values. I
want to make a simple scatter plot (Mass, HSI) and draw a smooth regression
on it.
Here are the summaries of these two variables:
> summary(Mass)
Min. 1st Qu. Median Mean 3rd Qu. Max.
46.0 205.9 272.5 282.6 348.3 610.1
> summary(HSI)
Min. 1st Qu. Median Mean 3rd Qu. Max.
2003 Mar 08
2
hist() basic question
Hi,
This is a very basic question, but I would like to undestand hist(). I
thought that the hist( , freq=FALSE) should provide the relative
frequencies (probabilities), and so they should sum 1, however:
set.seed(2)
ah <- hist(rnorm(100), freq=F)
sum(ah$intensities)
[1] 2
set.seed(2)
bh <- hist(rlnorm(100), freq=F)
sum(bh$intensities)
[1] 0.4999996
I'm getting similar figures with
2010 Feb 11
1
histogam plots
Hi all,
I want to draw a histgram for each row of a matrix and compare them.
However the plot I
got does not have the same y range and x range, which makes it difficult to
make the comparison.
Is there a easy way to fix the x range and y range in a xy plot for several
plots, instead of specifying
them for each plot.
The following is my code for generalizing the matrix and draw the
histogram.
2004 Aug 17
1
An entire data frame which is a time-series?
I have :
raw <- read.table("monthly.text", skip=3, sep="|",
col.names=c("junk", "junk2",
"wpi", "g.wpi", "wpi.primary", "g.wpi.primary",
"wpi.fuel", "g.wpi.fuel", "wpi.manuf", "g.wpi.manuf",
2017 Jul 13
2
bnlearn and cpquery
Hi all
I have built a Bayesian network using discrete data using the bnlearn
package.
When I try to run the cpquery function on this data it returns NaN for some
some cases.
Running the cpquery in debug mode for such a case (n=10^5, method="lw")
creates the following output:
generated a grand total of 1e+05 samples.
> event has a probability mass of 14982.37 out of
2005 Jul 04
1
eigen of a real pd symmetric matrix gives NaNs in $vector (PR#7987)
Full_Name: cajo ter Braak
Version: 2.1.1
OS: Windows
Submission from: (NULL) (137.224.10.105)
# I would like to attach the matrix C in the Rdata file; it is 50x50 and comes
from a geostatistical problem (spherical covariogram)
> rm(list=ls(all=TRUE))
> load(file= "test.eigen.Rdata")
> ls()
[1] "C" "eW"
>
> sym.check = max(abs(C - t(C))) # should
2004 Mar 01
6
How to plot Histogram with frequence overlaid by distribution curve
Hi,
I am facing the problem that I want to plot a histogram chart set
freq to true and overlay with normal or weibull or exponential distribution
curve.
The sample code is shown as below:
>samp<-c(-8.2262,-8.2262,-8.2262,-8.20209,-8.09294,-8.07321,-8.07321,
-8.07321,-8.07175,-8.04948,-8.04948,-8.04948,-8.03848,-8.03848,