search for: drj

Displaying 12 results from an estimated 12 matches for "drj".

Did you mean: dr
2016 Apr 21
1
EIGEN VECTOR PROBLEM
Dear Sir, I am an R user. I am in problem to find eigen vectors in R. For the following matrix eigen vectors are not right. I can not understand why?? For the 1st eigen value and 2nd eigen value are same, but the eigen vectors are not same. *HOW CAN I RESOLVE THE PROBLEM??* *>c=matrix(c(1,0,0,1,2,0,-3,5,2),nrow=3,byrow=T)> eigen(c)$values[1] 2 2 1$vectors [,1] [,2]
2020 Oct 30
0
Error: variable not found
Hi Hannah, Using the same code I sent before, you can append the partner codes to the household code. I apologize, but I don't know how to use the dplyr/tidyr/... stuff so this is written in straight R code using logic statements. ipumsi_00008_dta<- read.table( text="country year sample serial hhwt pernum perwt resident sploc sprule 204 2013 204201301 4000 10 1 10 1 5 2 204 2013
2023 Feb 15
0
Question about italics in legendg() - plotrix
Hi Nicole, plotrix is intended to be modular, that is, it builds plots step by step. This makes it easier to understand code that you haven't written or haven't seen for a while. Here is an example showing how to change the font using par(): library(plotrix) plot(0,type="n",xlim=c(0,1),ylim=c(-1,0)) par(font=3) legendg(0.115,-0.055,legend=c("Pan
2020 Oct 29
0
Creating unique code
Hi Hannah, Yes, that does give me more insight. The polygyny only doesn't matter, for even if there was polyandry it could be coded in the same way. If I understand this correctly you have one variable (SPRULE) that must contain information about the household of the individual and the identities of his (or her) relationship partner(s). The household number can accommodate up to three
2023 Feb 21
1
MFA variables graph, filtered by separate.analyses
Hi Gavin, I can't work through this right now, but I would start by looking at the 'hetcor' package to get the correlations, or if they are already in the return object, build a plot from these. Jim On Wed, Feb 22, 2023 at 4:24 AM gavin duley <gduley at gmail.com> wrote: > > Hi! > > Apologies if this is not the correct place to ask. I am attempting a > MFA
2023 Mar 31
1
single character in R, and how to manipulate it
Hi Jinsong, Maybe "srt" will do what you want. As you noted non-orthogonal rotations may not work on some devices. You may be able to download mirror fonts from places like fontmirror.com, but it more complicated. Jim On Thu, Mar 30, 2023 at 7:25?PM Jinsong Zhao <jszhao at yeah.net> wrote: > > Hi there, > > > I just noticed that "crt" is a graphical
2023 Jul 25
1
Seeking Assistance: Plotting Sea Current Vectors in R
Hi Kostas, The function vectorField in the plotrix package may do what you want. See the example. Jim On Tue, Jul 25, 2023 at 9:30?PM konstantinos christodoulou <konstantinos.christodoulou1 at gmail.com> wrote: > > Dear Rcommunity, > > I hope this email finds you well. I am writing to seek your assistance with > a data visualization problem I am facing while working with R.
2023 Mar 31
1
single character in R, and how to manipulate it
Also see the "arctext" function in the plotrix package. Jim On Fri, Mar 31, 2023 at 11:12?AM Jim Lemon <drjimlemon at gmail.com> wrote: > > Hi Jinsong, > Maybe "srt" will do what you want. As you noted non-orthogonal > rotations may not work on some devices. You may be able to download > mirror fonts from places like fontmirror.com, but it more complicated. > > Jim >...
2020 Oct 31
0
fast way to find most common value across columns dataframe
Hi Luigi, If I understand your request: library(prettyR) apply(as.matrix(df),1,Mode) [1] "C" "B" "D" ">1 mode" ">1 mode" ">1 mode" "D" [8] "C" "B" ">1 mode" Jim On Sat, Oct 31, 2020 at 7:56 PM Luigi Marongiu <marongiu.luigi at gmail.com> wrote:
2020 Sep 30
0
2 KM curves on the same plot
...efualt plot region! > > So I just comment out the last 2 lines of the above 3 lines, and created a customized lines2 function. Now it works! > > It's fun to learn clip(). > > Thanks, > > John > > > On Wednesday, September 30, 2020, 01:47:55 AM PDT, Jim Lemon <drjimlemon at gmail.com> wrote: > > > Hi John, > Hmmm, this works: > > plot(1:10) > xylim<-par("usr") > clip(5,xylim[2],xylim[3],xylim[4]) > lines(10:1) > > so I suspect that there is a "lines" method that resets the clipping > region out of...
2023 Jun 28
1
Plotting factors in graph panel
Hi Anupam, Haven't heard from you in a long time. Perhaps you want something like this: at_df<-read.table(text= "Income MF MF_None MF_Equity MF_Debt MF_Hybrid Bank_None Bank_Current Bank_Savings Bank_NA $10 1 3.05 29.76 31.18 36.0 46.54 24.75 25.4 3.307 $25 2 2.29 28.79 32.64 36.27 54.01 24.4 18.7 2.891 $40 3 2.24 29.51 34.31 33.94 59.1 25.0 29 13.4 $75 4 1.71 28.90 35.65 33.74
2023 Jun 29
2
Plotting factors in graph panel
...36.00 36.27 33.94 33.74 29.44 27.25 > Bank AC > None 1 46.54 54.01 59.1 62.17 67.67 60.87 > Current 2 24.75 24.4 25 24.61 24.02 21.09 > Savings 3 25.4 18.7 29 11.48 7.103 13.46 > No Answer 9 3.307 2.891 13.4 1.746 1.208 4.577 > > > On Wed, 28 Jun 2023 at 17:30, Jim Lemon <drjimlemon at gmail.com> wrote: > > > Hi Anupam, > > Haven't heard from you in a long time. Perhaps you want something like > > this: > > > > at_df<-read.table(text= > > "Income MF MF_None MF_Equity MF_Debt MF_Hybrid Bank_None Bank_Current > &gt...