Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In rstudio, i have imported data like this. i used loop to calculate the points

ID: 3573824 • Letter: I

Question

In rstudio, i have imported data like this. i used loop to calculate the points at where each name stands. for example, 1 point for every name in every column on the first row. for example, Nick, receives points = 1 (willis column) + 1(strieter column) + 4(scrima column) + 2 (florian column).

After using loop calculating nick's points, i want to delete nick's name from all entries, moving the second next name up, meaning that all columns should now have 7 rows, instead of 8 rows. and now name on 1st row of willis column should be vik. and then I can calculate vik's points. so on and so forth.

but how can i delete only the entries, and move the next entry up?

please give full codes . thank you

Name Willis Strieter Scrima Florian 1 Nick Nick Florian Vik 2 Vik Florian Vik Nick 3 3 Florian Vik Jennifer Scrima 4 4 Willis Jennifer Nick Willis 5 5 Scrima Strieter Scrima Florian 6 Strieter Scrima Willis 6 Randall 7 7 Jennifer Willis Strieter Strieter 8 Randall Randall Randall Jennifer

Explanation / Answer

library(shiny) library(ggplot2) # for the dataset shinyUI(pageWithSidebar( headerPanel('Examples of DataTables'), sidebarPanel( checkboxGroupInput('show_vars', 'Columns in to show:', names(column name), selected = names(column name)), helpText('For the column name data, we can select variables to show in the table; we use orderClasses = TRUE , we customize the length menu so we can display 5 column per page.') ), mainPanel( tabsetPanel( tabPanel('column name', dataTableOutput("mytable1")), dtfm[dtfm$C != "Foo", ] /* you can create any data frame as per yours need ))

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote