Packages nlmrt or minpack.lm use a Marquardt method. minpack.lm won't
proceed if the Jacobian singularity is at the starting point as far as
I'm aware, but nlxb in nlmrt can sometimes get going. It has a policy
that is aggressive in trying to improve the sum of squares, so will use
more effort
Use predict.tree() with type=class on the object returned by tree(). Then use
that to construct a cross tabulation against the original data. If you provide
a reproducible example with data, I could be more specific.
-
David L Carlson
Department of
This is the kind of problem the package tidyR has been designed for.
On 19 Aug 2015, at 16:29, minikg min...@cmfri.org.in wrote:
Hi,
I have a dataset consisting of landmarks of each sample's coordinates as
given below.
landmark X Y X Y X Y
P1
Dear all,
Thenks for replying to my query.
*@Amaud: If I understand correctly what you want to do, you might be able
to create a HTML report using RMarkdown and host that on the website. If
you really need a web app, I suggest looking into Shiny. You can make a
shiny app, host it for free on
Hi,
m - lm(y~x) # no problem
allEffects(m)# also no problem
model: y ~ x
x effect
x
abc
3.322448 3.830997 4.969154
effect(x, m) # ditto
x effect
x
abc
3.322448 3.830997 4.969154
Effect(x, m) # ditto
x effect
x
ab
At least provide a sample of the data and then the desired output. All we
get from your email is that it does not show the desired result and we
are at a lost to understand what that is. I know it was suggested that you
write it out as a CSV file and then you can use EXCEL to page through the
Diaz,
paste() and paste0() will work here. paste0() defaults to between character
vector elements and paste() defaults to (single blank character) between
character vector elements. See ?paste.
I do not recall, but you may have to escape the symbol, but that is another
topic.
Try this.
If you want to force the user to enter the 'type' argument,
move the vector of choices out of the argument list
and into the call to match.arg():
f1 - function(type, ...) {
match.arg(type, c(A, B, C))
}
f1()
#Error in match.arg(type, c(A, B, C)) :
# argument type is
Hello, I have a function that looks like
f=function( type=c(dummy,A,B,C), ... ) {
type-match.arg(type)
if (type==dummy) stop(Please choose a type that is not dummy.)
...
}
I put a dummy in the list of choices as a mechanism to prevent users
from not specifying a value for type when
I am trying to run a linear mixed effects model similar to the 2*2*2 anova
design. My DV is reaction time and fixed factors are time (pre vs.
post:within-subject), condition (congruent vs. incongruent: within subject)
and stimulation (vertex vs. DLPFC: between subject)
My concerns are:
a)I have
HI Boris,
The reason i want to see or show 3 million rows in console is that i need to
present it to a business user.
So here my end objective is to present the final output to the business
user. So lets say when i write a code:
select(june,waybill:type,contains(sfxcode)) so here there could be
Hi,
I've been led to believe that in R it is possible to produce a 3d
analytical plot of a function. I've been pointed in the direction of
plot3d(), so the command is something like
plot3d(x^2+y^2,(x,-3,3),(y,-3,3)). And a smart person out there is going to
tell me where this syntax comes from
I am trying to run a linear mixed effects model similar to the 2*2*2 anova
design. My DV is reaction time and fixed factors are time (pre vs.
post:within-subject), condition (congruent vs. incongruent: within subject)
and stimulation (vertex vs. DLPFC: between subject)
My concerns are:
a)I have
Hi,
I have a dataset consisting of landmarks of each sample's coordinates as
given below.
landmarkX Y X Y X Y
P1 534 7 26 7 32
P2 46 45 48 42 44 48
P3 73 45 72 44
Hi
I cannot figure out why the effects package throws me error messages
with the following simple code:
rm(list=ls(all=TRUE)); set.seed(1); library(effects)
# set up data
x - factor(rep(letters[1:3], each=100))
y - c(rnorm(100, 3, 3), rnorm(100, 4, 3), rnorm(100, 5, 3))
# fit linear model
m -
Hi Loris,
I have already tried options(max.print=99) but does not show the desired
result.
As posted above it want to share the outcome with the business owner where
there could be multiple entries.
--
View this message in context:
Hi every one
first I would like to introduce myself, as I'm new here.
I'm Luis from Barcelona, I'm Oracle dba and I need to create some nice
graphs.
So, I was looking for a solution and I saw R...
I think it's a good tool to make the task I need.
So here is the task: I need to get all the dblink
You rm is of class summary.lm
Is that what allEffects is expecting?
On 19/08/2015 01:49, Robert Zimbardo wrote:
Hi
I cannot figure out why the effects package throws me error messages
with the following simple code:
rm(list=ls(all=TRUE)); set.seed(1); library(effects)
# set up data
x -
In html,
How to remove posts from one category displaying on the home page by using tags.
Thanks,Valentin
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and
This is a mailing list on the topic of R. Your email does not appear to be
related to that topic, so either look for a different mailing list/web forum
where your question would be on topic, or provide a concrete example of your
problem. If you do post here again, please use plain text format
Dear All, I´m running a glm with poisson errors and have a doubt when
ploting the predicted values. One of my variables has a positive slope in
the summary output, but when I plot the predicted values on the original
plot it draws a line with negative slope. I appreciate your comments on
this and
This looks like data for a morphometrics analysis so you should know about
package geomorph. Data like yours is often stored as a three dimensional array
so we switch to that format and then use the two.d.array() function in package
geomorph:
Assuming your dataset is called dat:
arr -
You probably want function persp3d() in package rgl. You have to define the
formula as a function and specify the limits correctly, but you were close:
library(rgl)
persp3d(function(x, y) x^2+y^2, xlim=c(-3, 3), ylim=c(-3, 3))
-
David L Carlson
Department
R has several options for projecting a 3 dimensional plot onto a 2
dimensional plane and plotting the result. Which is best depends on
what you want.
You mention a function plot3d but not which package it comes from.
You are more likely to receive prompt and useful help when you do your
part of
... and you could also use missing() (?missing for details) if you
wanted to give the user more verbose instructions, e.g.
f1 - function(type, ...) {
if(missing(type)){
cat(You must enter a 'type' argument that is one of etc\n)
return(invisible())
}
Great. missing is what I was looking for, and it seems to also work
with interfaces like
f=function( type=c(A,B,C), ... ) {
}
Thanks!
Youyi
On Wed, Aug 19, 2015 at 9:35 AM, Bert Gunter bgunter.4...@gmail.com wrote:
... and you could also use missing() (?missing for details) if you
wanted to
Hola José.
Lo importante, para empezar es que la versión de R y la de Java sean iguales
(de 32 o de 64 bits).
Parece que tengas el Sistema Operativo y R en 64 bits y Java en 32bits.
Es la primera comprobación que haría.
Un Saludo,
Miguel.
De:
If you need the link to the latest email address of a package maintainer just
use the maintainer function:
?maintainer
On Aug 15, 2015, at 10:59 AM, Jeff Slagle jeffrey.sla...@gmail.com wrote:
I have a question about AtelieR out on stackoverflow.com. Perhaps you could
forward the link
Hi there!
I want to create a confussion matrix after using the tree package to create
a clasiffication tree, but I´m not sure of how to create this matrix.
Can anyone please help me?
Thanks
Jesús
-
Guided Tours Basque Country
Guided tours in the three capitals of the Basque Country:
Very simple question that I want confirm.
Let's say that I have a response variable. What are the appropriate ways
that it can be coded for a logistic regression model?
1. It can be 0/1 and a factor
2. It can be 1/2 and a factor
3. It can be characters and a factor, where the second letter takes
On 20/08/15 09:43, Abraham Mathew wrote:
Very simple question that I want confirm.
Let's say that I have a response variable. What are the appropriate ways
that it can be coded for a logistic regression model?
1. It can be 0/1 and a factor
2. It can be 1/2 and a factor
3. It can be characters
31 matches
Mail list logo