Displaying 20 results from an estimated 1000 matches similar to: "Prompt comes too late"
2007 Feb 20
2
Reading Post-Script files
Hi everybody!
Is there any way to read a postscrit file into R?
All the best to you
Ralf Finne
SYH University of Applied Sciences
Vasa Finland
2007 Apr 27
2
Integrating R-programs into larger systems
Hi experts!
Have anybody experience in including an R-program
as part of a larger system? In Matlab there is a toolbox
that converts a m-script into C-code.
One application in mind is that I do the model building in R,
for estimating the risk for cancer based on clinical measurements.
When the model is ready, a small R-program can simulate
the model to estimate the risk for a new patient. The
2010 Oct 05
3
Question about assigning values in a matrix, conditional on column first row; how to do the loop.
Hello, I?m new at programming and I will greatly appreciate if you can help me with this.
I have a very large matrix (hundreds of rows and columns), with the first raw filled with different numbers (between 0 and 1). The rest of the matrix is filled with values 0, 1, 2. What I need is to replace the values in the matrix (except the first row will has to remain intact). In each column I have to
2012 Feb 29
1
Error occurred during mean calculation of a column of a data frame, which is apparently contents numeric data
Hello R people,
How can I compute the mean of the "Pulse_rate" column of the data frame or
matrix from the following character object called "str_got". It has 14
entries and each entry has 8 values, separated by commas. Please go thru
the following R commands to know how I tried to unstring and unlist the
values to form a data frame.
> str_got
[1]
2008 Jan 29
2
Expert systems
Hi R-users
Is there any functions in R that can implement "expert systems"?
The aim of an expert system is to produce a probable diagnosis
for a patient with certain symptoms.
In the classical expert system a mumber of "experts" are asked to make
"statements" on the probabilities for different diseases when a
combination of systems would appear. One typical
2010 Sep 15
1
Changing variable class problems
I'm reading in some data from a csv file, and it's reading in some of the
columns as character variables instead of numeric. I know I can fix this by
doing as.numeric for each of the columns, but the problem is I have a LOT of
different quantitative variables that I would have to do this for.
I've been trying something along the following but it hasn't really been
working
2012 Jul 12
1
apply() to a function that has more than 2 arguments
Dear all,
I created a function which it has many arguments i.e. Mu(x, Y, B, X, P)
where Mu is the function. This function works perfect but when I am trying
to use it in the apply() function in the manner apply(Matr, 1, Mu, Y=y, B=b,
X=x, P=p) it does not work and the output is: Error in match.fun(FUN) : '1'
is not a function, character or symbol
When I transform the function Mu to have
2009 Mar 13
2
Taking diff of character vectors
Hello, everybody
Say I have
nm1 <- c(rep(1,10), rep(0,10))
then I can do:
diff(nm1)
to see where I have shift in value
but what if I have
nm2 <- c(rep("SPZ8", 10), rep("SPX9", 10))
how can I produce the same ouput as diff(nm1) does, that is zeros
everywhere except for one place where SPZ8 changes to SPX9 (there
should be 1 there)?
What if I have a matrix of characters
2009 Jun 26
1
gradient fill of a grid.polygon
Dear list,
Following a recent enquiry, I've been playing with the idea of creating a
colour gradient for a polygon, using the Grid package. The idea is to draw a
number of stripes of different colours, using the grid.clip function. Below
is my current attempt at this,
library(grid)
rotate.polygon <- function(g, angle=0){ # utility function, works fine
matR <- matrix(c(cos(angle),
2011 Apr 27
3
Kolmogorov-Smirnov test
Hi,
I have a problem with Kolmogorov-Smirnov test fit. I try fit distribution to
my data. Actualy I create two test:
- # First Kolmogorov-Smirnov Tests fit
- # Second Kolmogorov-Smirnov Tests fit
see below. This two test return difrent result and i don't know which is
properly. Which result is properly? The first test return lower D = 0.0234
and lower p-value = 0.00304. The lower 'D'
2009 Nov 25
4
Structural Equation Models(SEM)
Hi R-colleagues.
In the sem-package
i have a problem to introduce hidden variables.
As a simple example I take an ordinary factor analysis.
The program:
cmat=c(0.14855886, 0.05774635, 0.08003300, 0.04900990,
0.05774635, 0.18042029, 0.11213013, 0.03752475,
0.08003300, 0.11213013, 0.24646337, 0.03609901,
0.04900990, 0.03752475, 0.03609901, 0.31702970)
2011 Jul 01
3
multiple moderated regression steps
hi,
?m studying moderated effects of percieved social support and justice world
belief on relationship between stress coping strategies and depression
level. ? haver never run this analysis before soi ? want to check my steps
whether correct or not.
first ? run regression
in step 1
centered independent variables and centered moderators
in step2
two way interactions
instep 3
three way
2007 Feb 28
2
delete selecting rows and columns
Hi,
I'm working with a big square matrix (15k x 15k) and I have some trouble.
I want to delete selecting rows and columns.
I'm using something like this:
> sel_r=c(15,34,384,985,4302,6213)
> sel_c=c(3,151,324,3384,7985,14302)
> matrix=matrix[-sel_r,-sel_c]
but it works very slow.
Does anybody know how to make it in faster way?
Thank's
--
View this message in context:
2016 Jan 26
2
Notification of file modification in subdirectories not working
I have output of another test with exactly the same behaviour
This time I have pcap files from Samba and client PC. CHange to the file
subfile.txt was made on another PC
Looks like Samba sees change to the file but does not send it as a
notification
[2016/01/26 10:09:15.590689, 10, pid=12027, effective(1001, 1006),
real(1001, 0)] ../source3/smbd/notify_internal.c:615(notify_trigger)
2007 Apr 27
0
Siegel-Tukey Test
Hi everybody!
Can anybody help me to find an R-function
for the Siegel-Tukey test.
Than you in advance.
Ralf Finne
SYH, University of Applied Sciences
Vasa Finland
2010 Nov 07
1
can't load nlme on windoze 7
Hi,
I've got a problem that sounds a lot like this,
http://r.789695.n4.nabble.com/Re-R-R-2-12-0-hangs-while-loading-RGtk2-on-FreeBSD-td3005929.html
under windoze 7.
but it seems to hang with this stack trace,
#0? 0x77830190 in ntdll!LdrFindResource_U ()
?? from /cygdrive/c/Windows/system32/ntdll.dll
building goes as follows,
$ ./R CMD INSTALL --no-test-load nlme_3.1-97.tar.gz
*
2016 Jan 22
2
Notification of file modification in subdirectories not working
On Thu, Jan 21, 2016 at 04:57:34AM -0800, ivenhov wrote:
> Hi
>
> Does anyone had similar issues in the past?
> I still cannot find reason why notification of file modification of files in
> subdirs is not visible on client machines
Someone needs to send network traces and debug level 10 logs
for this. And try to reproduce the same against a Windows
server.
Volker
--
SerNet
2007 Feb 27
4
fitting of all possible models
Hi,
Fitting all possible models (GLM) with 10 predictors will result in loads of (2^10 - 1) models. I want to do that in order to get the importance of variables (having an unbalanced variable design) by summing the up the AIC-weights of models including the same variable, for every variable separately. It's time consuming and annoying to define all possible models by hand.
Is there a
2009 Jun 24
0
Matrix vignette error in June 24 RC
I am getting the following problem with make check-all on the June 24
rc. I realize I could probably fix it by installing/setting a path to
the sty file, but I don't remember having to do that for make check-all
in the past.
Paul Gilbert
___________
....
checking package 'Matrix'
* checking for working pdflatex ... OK
* using log directory
2012 Nov 05
2
[PATCH] x86/ACPI: invalidate BGRT
Since the image pointed to may (and generally will) live in boot
services memory (which we add to the global memory pool long before
ACPI tables get looked at), we should prevent Dom0 from trying to
retrieve the image data.
The alternatives would be to
- not add boot services memory to the global pool at all, or
- defer adding boot services memory until Dom0 indicates it is safe to
do so, or
-