Displaying 20 results from an estimated 200 matches similar to: "fda problems - version correct?"
2007 Mar 20
1
Error in nlme with factors in R 2.4.1
Hi,
the following R lines work fine in R 2.4.0, but not in R 2.4.1 or any devel versions of R
2.5.0 (see below for details).
library(drc) # to load the dataset 'PestSci'
library(nlme)
## Setting starting values
sv <- c(0.43355869, 2.49963220, 0.05861799, 1.73290589, 0.38153146, 0.24316978)
## No error
m1 <-
nlme(SLOPE ~ c + (d-c)/(1+exp(b*(log(DOSE)-log(e)))),
fixed =
2007 Sep 12
1
plot vs curve
Dear list members,
is it intentional that:
curve(cos, xlim = c(-5, 5))
plot(cos, xlim = c(-5, 5))
produce different plots?
Shouldn't the 'xlim' argument in both cases set the 'from' and 'to' argument if they
aren't supplied (at least that's what I understood reading the help page for 'curve' and
'plot.function')?
Christian
>
2009 Feb 06
1
Introduction to maps (of Denmark)?
Dear R-listers,
I am using R for Windows Vista 64-bit. I have no experience working with
maps, but now I have to plot a map of Denmark in which each Danish
county is color-coded according to its incidence rate of a particular
disease. My problem is that I don't know where to start. I have read the
help files to packages like 'mapplot', and their examples indicate that
I am on the
2009 Feb 02
1
Assigning colnames in loop
Dear R-listers,
I am trying to assign colnames to a data frame within a loop, but I keep
getting a "target of assignment expands to non-language object"-error. I
need to split up a large dataset into about 20 smaller ones, and I would
like to assign colnames within the loop, so I won't have to type the
same thing 20 times over.
I have concocted this really goofy example which
2011 Jan 24
1
Strange result from sort: sort(c("aa", "ff")) gives "ff" "aa" with R.2.12.1 on windows 7
Dear list,
Please consider the following call of sort
> sort(c("a","f"))
[1] "a" "f"
> sort(c("f","a"))
[1] "a" "f"
>
> sort(c("aa","ff"))
[1] "ff" "aa"
> sort(c("ff","aa"))
[1] "ff" "aa"
The last two results look strange
2009 Jan 26
1
Sweave'ing Danish characters
Hi,
I am writing an Sweave document and am using 'xtable' to make frequency tables of diagnoses of people undergoing cholecystectomy. Some of these diagnoses contain Danish characters ("?", "?", and "?"), and these characters are all garbled in the Latex document after I run Sweave. The odd thing is, everything looks absolutely right in the R console, and if
2011 Sep 15
1
Can't get installing a package source (.tar.gz) from a web page to work...
I have created an R-package with datasets which I want my students to install (the package is not on CRAN).
1) I've put the package on the web in a directory called 'data' and I thought I could do:
> install.packages("http://gbi.agrsci.dk/statistics/courses/2011-ISMLS-course/data/LiSciData_0.0-03.tar.gz",repos=NULL,type="source")
Warning: invalid package
2017 Oct 11
6
changing "," to "." in data.frame
Dear friends - I have a data.frame with "," instead of "." and found the
discussion
http://r.789695.n4.nabble.com/How-to-replace-all-commas-with-semicolon-in-a-string-tt4721187.html#a4721192
so copying the code of Ulrik(I hope:-)) I tried
(making some data)
AX <-
2017 Oct 11
0
changing "," to "." in data.frame
And as follow up,
fff<-function(x) gsub(",", ".", x)
BX <- apply(apply(AX, 2, fff), 2, as.numeric)
this seems to be easier.
Cheers
Petr
S pozdravem | Best Regards
RNDr. Petr PIKAL
Vedouc? V?zkumu a v?voje | Research Manager
PRECHEZA a.s.
n?b?. Dr. Edvarda Bene?e 1170/24 | 750 02 P?erov | Czech Republic
Tel: +420 581 252 256 | GSM: +420 724 008 364
petr.pikal at
2006 Sep 25
1
nlme with a factor in R 2.4.0beta
Hi,
the following R lines work fine in R 2.4.0 alpha (and older R versions), but not in R
2.4.0 beta (details below):
library(drc) # to load the dataset 'PestSci'
library(nlme)
## Starting values
sv <- c(0.328919, 1.956121, 0.097547, 1.642436, 0.208924)
## No error
m1 <- nlme(SLOPE ~ c + (d-c)/(1+exp(b*(log(DOSE)-log(e)))),
fixed =
2008 Oct 02
1
possible bug in function 'var' in R 2.7.2?
Dear R-Help,
I have used R2.6.0 until I recently installed also R2.7.2 (see details below)
In R 2.6.0, the following script using the function 'var' (cor(stats)):
x.test <- c(NA, NA, NA, NA)
var(x.test, na.rm=T)
gives the output:
NA
In R2.7.2 the output of the same script generates an error message and stops R:
'Error in var(x.test, na.rm = T)
2009 Nov 11
1
AMRAtoMA
Hello R Users!
I have a question about the output of ARMAtoMA when used to calculate
the variance of
a model. I have a mixed model of the form ARMA(1,1). The actual
model takes the form:
X(t) = 0.75X(t-12) + a(t) - 0.4a(t-1)
Given that gamma(0) takes the form [(1 + theta^2 -
2*theta*phi)/(1-phi^2)]*sigma(a), I would
expect a process variance of 4.02*sigma(a) when I substitute 0.75 for
phi and
2009 Feb 17
1
stopping stepAIC (MASS package)
Dear R-listers,
I am building a prediction model starting with many, many variables. I
use the 'stepAIC' procedure in the MASS package, and the model building
process takes several hours to complete. At the very end, I am
occasionally confronted with warnings like this one:
Warning messages:
1: In fitter(X, Y, strata = Strata, offset = offset, weights = weights,
:
Loglik converged
2005 Aug 22
1
Example in pdf() help file (PR#8083)
The example in the help file for pdf() plots the characters outside
the plotting area in this for loop:
for(i in c(32:255)) {
x <- i
y <- i
points(x, y, pch=i)
}
The following loop seems to be working as intended
for(i in c(32:255)) {
x <- (i-31)%%16
y <- (i-31)%/%16
points(x, y, pch=i)
}
As an extra
2018 Apr 26
3
cannot set share permissions
Hi,
so you would like to restrict the access to the share definitions? E.g. only "User1" should be able to access the Share "Private"?
Have you had a look at this documentation?
https://www.samba.org/samba/docs/using_samba/ch09.html
(This doc is quite old but should still apply).
We're running a seperate fileserver which is joined to the SAMDOM DC. Then we're using
2012 May 17
0
new version of fda fixes bug in pca.fd and supports library(Matrix)
Hello, All:
fda_2.2.8 (functional data analysis) is now available on CRAN. This
revision includes the following improvements:
1. A bug in pca.fd has been fixed.
2. Many functions have a new argument "returnMatrix", which if
TRUE allows the function to use the sparse matrix representations in
library(Matrix). This should allow users to solve some larger
2003 Jul 22
1
Processing a large number of files
I maintain the Devore5 package which contains the data sets from the
5th edition of Jay Devore's text "Probability and Statistics for
Engineering and the Sciences". The 6th edition has now been published
and it includes several new data sets in exercises and examples. In
addition, some exercises and examples from the 5th edition are
renumbered in the 6th edition.
I face the
2017 Apr 05
1
Samba Permission Combination Conflict And Priority
Dear Engineers,
I am a samba new user. When a share for user has one permission, it is OK. When a share for user has permission combination, there is something different in my thought.
In Linux user system, a user can belong to multiple groups. For example:
The user (uf) belongs to multiple groups (g_full and g_read)
[root at node-107-174 /]# id 1017
uid=1017(uf) gid=1017(g_full)
2013 Mar 08
11
digium card and virualbox
Hi All;
How to let the virualbox (ubuntu OS) to be able to see the digium card? Because when I install elastix or asterisk with dahdi, it is not able to see the digium card if the installation though the virualbox .. What is the solution?
Regards
Bilal
2016 Oct 18
1
How to prevent logging into Windows Server with null password or null user and password
I've searched the web and can't find out how to disable Guest/Anonymous logins for samba. I've tried:
Local Group Policy Editor...Security Options: Accounts: Guest account status: Disabled,
but user's with null passwords or null user and password, can still log in. We'd like to only allow users with valid names and passwords to log in.
Thanks,
Mike