Re: [R] Adding a numeric class to a data.frame

2023-06-05 Thread Jeff Reichman
h seemed to work I do appreciate your time and assistance. Jeff -Original Message- From: avi.e.gr...@gmail.com Sent: Monday, June 5, 2023 7:55 PM To: 'Jeff Reichman' ; r-help@r-project.org Subject: RE: [R] Adding a numeric class to a data.frame Jeff, I wish I could give you an answer t

Re: [R] Adding a numeric class to a data.frame

2023-06-05 Thread avi.e.gross
But as you release info this slowly, I think I will now drop out of this conversation. Good luck. -Original Message- From: Jeff Reichman Sent: Monday, June 5, 2023 7:29 AM To: avi.e.gr...@gmail.com; r-help@r-project.org Subject: RE: [R] Adding a numeric class to a data.frame Avi But I

Re: [R] Adding a numeric class to a data.frame

2023-06-05 Thread Jeff Reichman
eff Reichman Sent: Sunday, June 4, 2023 10:21 PM To: avi.e.gr...@gmail.com; r-help@r-project.org Subject: RE: [R] Adding a numeric class to a data.frame Yes - I could have done that but I have over 5,000 calculated probabilities. So yes a little more detail would have helped. I'm needing to add

Re: [R] Adding a numeric class to a data.frame

2023-06-04 Thread avi.e.gross
.gr...@gmail.com; r-help@r-project.org Subject: RE: [R] Adding a numeric class to a data.frame Yes - I could have done that but I have over 5,000 calculated probabilities. So yes a little more detail would have helped. I'm needing to add those probability back into the original data.frame from which the mo

Re: [R] Adding a numeric class to a data.frame

2023-06-04 Thread Jeff Newmiller
>Sent: Sunday, June 4, 2023 9:00 PM >To: 'Jeff Reichman' ; r-help@r-project.org >Subject: RE: [R] Adding a numeric class to a data.frame > >Jeff R, it would be helpful if your intent was understood. > >For example, did you want output as a column of labels c("A&q

Re: [R] Adding a numeric class to a data.frame

2023-06-04 Thread Jeff Reichman
and original dataframe to be one. -Original Message- From: avi.e.gr...@gmail.com Sent: Sunday, June 4, 2023 9:00 PM To: 'Jeff Reichman' ; r-help@r-project.org Subject: RE: [R] Adding a numeric class to a data.frame Jeff R, it would be helpful if your intent was understood. For example, did you

Re: [R] Adding a numeric class to a data.frame

2023-06-04 Thread avi.e.gross
ions to your specified problem unless you explain properly what you want to do and the exact expected output. -Original Message- From: R-help On Behalf Of Jeff Reichman Sent: Sunday, June 4, 2023 7:11 PM To: r-help@r-project.org Subject: [R] Adding a numeric class to a data.frame R-Help Co

Re: [R] Adding a numeric class to a data.frame

2023-06-04 Thread Jeff Newmiller
The obvious answer is My_df$col_2 <- prob_result but whether that would work might depend on the structure of prob_result. What does dput(prob_result) return? On June 4, 2023 4:11:08 PM PDT, Jeff Reichman wrote: >R-Help Community > > > >How do I add a numeric class to a data .frame. > >

[R] Adding a numeric class to a data.frame

2023-06-04 Thread Jeff Reichman
R-Help Community How do I add a numeric class to a data .frame. For example, I have calculated the following probabilities 123 0.0011566127 0.0009267028 0.0081623324 How would I add them back into my data.frame for example My_df <-