blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fce54a8cf87aa3ed7ee83373331395ad7b56fd84 | 3094bff921ea86e881e94072b775f690cfe9173e | /man/linear.outcome.log.envir.interaction.sds.Rd | 9aa530e423f19edeef43aa7fab16e200639d4a72 | [] | no_license | cran/genpwr | 4a592323fa029e8e954568d2ec2f27efc35bd38c | 51c256c4ce838a132b56287b63a6db579eb925b0 | refs/heads/master | 2021-06-22T07:20:34.615733 | 2021-03-30T23:00:07 | 2021-03-30T23:00:07 | 209,158,670 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,347 | rd | linear.outcome.log.envir.interaction.sds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/linear_outcome_envir_interaction_mle_function.R
\name{linear.outcome.log.envir.interaction.sds}
\alias{linear.outcome.log.envir.interaction.sds}
\title{Function to calculate the standard deviation of y given x for linear models with logis... |
ae82df558d2e69add87dd708cd6e325e84da5d0d | d044a356212810ff1436d41f5e281beb4e6c6d5b | /R/postprocessing_routines.R | 625eb4afe05c53fd34a174fe2f2d407cb152486c | [
"MIT"
] | permissive | szpiech/gala2-ROH | b443492e6a88ca2a1053e6b164eccd4d083014d5 | fb776072008cb4656cf4da1b9f9a69687aa2897e | refs/heads/master | 2020-03-23T13:24:47.938763 | 2018-07-24T21:40:30 | 2018-07-24T21:40:30 | 141,616,659 | 0 | 0 | MIT | 2018-07-19T18:24:57 | 2018-07-19T18:24:56 | null | UTF-8 | R | false | false | 8,883 | r | postprocessing_routines.R | # ==============================================================================
# Copyright 2018, Asthma Collaboratory
# authors:
# -- Kevin L. Keys
# -- Page C. Goddard
# -- Andy M. Zeiger
# -- Annie Li
# This script contains subroutines for plotting and analyzing GWAS results.
# Source this script after setting th... |
7bc01f2b3ab4b66c653234962039cd08ecb0be90 | cbd210c2c2aaebb183944af950c5145714faf1f2 | /stat6289project1code.R | 43145f81c6691a8b42798b7e6c0899a43fbcd8ae | [] | no_license | yukefu/stat6289-project1 | 5f3a6735447a1aef98e693a78dd84847144a4d01 | 6ea866c7bdf0f1e23be13b86689a8236a75ebf4e | refs/heads/master | 2020-04-04T06:58:00.299156 | 2019-04-18T00:32:17 | 2019-04-18T00:32:17 | 155,763,683 | 0 | 0 | null | 2018-11-04T15:01:46 | 2018-11-01T19:14:18 | R | UTF-8 | R | false | false | 9,057 | r | stat6289project1code.R | data=read.csv("https://raw.githubusercontent.com/yukefu/stat6289-project1/master/sleeping-alone-data-new.csv")
summary(data)
library(tidyr)
library(shiny)
library(ggplot2)
library(DT)
library(dplyr)
table1=round(prop.table(table(data$RelationshipStatus , data$HowOften)),4)
m1=matrix(nrow=36, ncol=5)
m1[,5]=rep("Relati... |
d5c55785b9f52f6925fa29132ff78cbd12e82fb6 | e36e8d5859f764ffa3e6f18d2b5dcd6bbd4e80f0 | /man/al_tracking_chart.Rd | 6917a3e682aa3db941944a96533c260e99b560f6 | [
"MIT"
] | permissive | ropensci/rrricanes | 23855df40a5cc598b94ec90ac9e32c70b291e2a8 | 533454c8e4d3b7dff6dc2a6592a7b304fef41fdb | refs/heads/main | 2023-01-07T17:56:01.118103 | 2022-12-31T18:29:58 | 2022-12-31T18:29:58 | 74,975,357 | 19 | 9 | NOASSERTION | 2022-12-31T18:29:59 | 2016-11-28T13:25:12 | R | UTF-8 | R | false | true | 1,050 | rd | al_tracking_chart.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tracking_chart.R
\name{al_tracking_chart}
\alias{al_tracking_chart}
\title{al_tracking_chart}
\usage{
al_tracking_chart(...)
}
\arguments{
\item{...}{Additional parameters for \link{tracking_chart} and ggplot2}
}
\value{
ggplot2 object center... |
cc4fa61c483d1df2ad3d2c4f706c5ec0a9099f8a | 52986252c06e022329d2300719ad4a0e3942fcc8 | /build_plotly_map.R | 3b8e11e89e1e606a928b94da722b86cac0949dbb | [] | no_license | alexpawlowski/biomass-for-rps | 5d46fd856287b2f727e6fedec81a36b5aacd9bb8 | 78f7d322b007f599309110f45cbc6bd41d02f861 | refs/heads/master | 2021-05-11T21:21:15.064641 | 2018-04-09T17:23:00 | 2018-04-09T17:23:00 | 117,466,929 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 525 | r | build_plotly_map.R | devtools::install_github('ropensci/plotly')
library(plotly)
#map is from hrmstr alberusa package. since I'm only planning to use the map, I wanted to reduce a package dependency. No hard feelings @hrbmstr!
us_map <- st_read('geo_data/composite_us_counties.geojson') #'geo_data/us_elided.geojson')
us_map2 <- us_map %>... |
0665b4f47a877958d0f1142769e5777ede2dbf89 | 55ade2b1275b37a351d0ce542827771802d4bcec | /plot2.R | a5afe3a84963da1c0aeb5cbf2e022010a9fb507d | [] | no_license | pkaza/ExData_Plotting1 | ffbbdc03d3dac534d3f4d6a611607d6dde4b10f4 | ea64ec7c001b2361cdbb1aedb70e4d1cdda23896 | refs/heads/master | 2020-05-29T11:53:58.373900 | 2015-05-10T23:13:11 | 2015-05-10T23:13:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 708 | r | plot2.R | ##Plot 2
##Load data
#setwd("E:/BOKU_COURSES/R/coursera/exploratory_data_analysis/week_1")
epc<-read.table(file='household_power_consumption.txt',
header=T,sep=';',na='?',colClasses=c('character','character',rep('numeric',7)))
##Subset the 2 days needed
epc_sub<-epc[epc$Date=="1/2/2007" | epc$Date=... |
7192f87797c80c4c5bb6ee686a5037a24772a924 | 5d84eaf8c8169db6e71511fe90d99fa6b2938a6c | /R/app_ui.R | 990d0a7e8144c7b0734e3962b132217d85de4fc4 | [
"MIT"
] | permissive | Eleftheria1/whatsalyze | 59cd97b523bcd40143b0d6e6308ecc107b06fecd | 8c5bb862b8f6c90142bf13283c5156960dcaf6f2 | refs/heads/master | 2023-03-15T04:20:09.547764 | 2021-03-20T20:39:28 | 2021-03-20T20:39:28 | 347,648,844 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,771 | r | app_ui.R | #' The application User-Interface
#'
#' @param request Internal parameter for `{shiny}`.
#' DO NOT REMOVE.
#' @import shiny
#' @import shinydashboard
#' @noRd
app_ui <- function(request) {
tagList(
# Leave this function for adding external resources
golem_add_external_resources(),
# List the first l... |
08e5e248b6056b89a6f857e6c279f132df680af5 | c0e766a6a57e3c5c32f8b0afe130b8df66e6dbf9 | /rsellPoshmark/R/PM_Table_Var_Summary.R | 873d143d327acdbb44615817543d26e164460dac | [] | no_license | t2tech-corp/Rsell-Packages | b450fec180754aa9cf0cf3ab6b369c74c57b7e70 | 047a2348650e5a2ee0bc52500824a34f16167056 | refs/heads/main | 2023-03-03T00:22:15.006720 | 2021-02-14T22:58:12 | 2021-02-14T22:58:12 | 329,474,392 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,171 | r | PM_Table_Var_Summary.R | #' Creates a Poshmark Summary Table by Variable Name
#'
#' This function Creates a Poshmark Summary Table by Variable Name.
#'
#' @param pm_sales The Poshmark Sales Table for the user.
#' @param pm_var The variable name for grouping
#' @return A Poshmark Summary Table as a data frame.
#' @export
#' @examples
#'
PM_Tab... |
51ffb218f1715bd0ba73560d6c618aece8c4b156 | 20b9147d2752db0437413074134fefc239914ba9 | /R/FulfillmentService.R | b47ab7aea6259d48ade327f0db07a9582ff34777 | [] | no_license | charliebone/shopifyr | ad07496a0c9314e8ffd729907bb940a00bc54053 | 1c106dc29d34536e32ca3ba03466459c56a9d74e | refs/heads/master | 2021-06-01T23:00:08.938662 | 2019-08-11T01:40:35 | 2019-08-11T01:40:35 | 23,026,426 | 27 | 7 | null | null | null | null | UTF-8 | R | false | false | 2,786 | r | FulfillmentService.R | #
# shopifyr: An R Interface to the Shopify API
#
# Copyright (C) 2015 Charlie Friedemann cfriedem @ gmail.com
# Shopify API (c) 2006-2015 Shopify Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# th... |
d638160fe4e8f2e1d97f4fb7899ab535d5b678e6 | f23c29c28a3aa386372d6f0e0e9faae74cf10296 | /R/rjournal_article.R | ef14dca5f968ab9314e23a8a3d287b4f0b4800ad | [] | no_license | xiaoningwang/rticles | 1d9318ea9f95d3ff2078a2dec5d95db09a091cc7 | 5e81f6aa7ccfbdfb657b3c5786b56bb5ccb4cf88 | refs/heads/master | 2023-05-11T19:28:08.593412 | 2023-04-25T19:14:14 | 2023-04-25T19:14:14 | 97,591,351 | 1 | 0 | null | 2017-07-18T11:42:17 | 2017-07-18T11:42:17 | null | UTF-8 | R | false | false | 6,446 | r | rjournal_article.R | #' R Journal format.
#'
#' Format for creating R Journal articles. Adapted from
#' <https://journal.r-project.org/submissions.html>.
#'
#' This file is only a basic article template. For full details of _The R
#' Journal_ style and information on how to prepare your article for submission,
#' see the [Instructions for ... |
ca913f65f644f518d9147c98938a8a24fe9bb85a | fee0427e7917df4fd9c9370dbfb06f27d44f02af | /R/IPHC_skate_notes.R | 06ce03bd5a798020adc4c06b2c118c7a76ff4a03 | [] | no_license | iantaylor-NOAA/BigSkate | 58da78513d451a4436de52647d637898fa04b739 | 81f140a288c4455a54f80a56ed66c960449743db | refs/heads/master | 2020-05-15T08:50:05.910018 | 2019-05-03T18:59:19 | 2019-05-03T18:59:19 | 182,166,794 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,807 | r | IPHC_skate_notes.R | # note: this file has some data processing and code to make maps,
# this is for Longnose Skate and Big Skate in 2019 based on similar work
# for spiny dogfish in 2011
# to get index of abundance, see file called "IPHC Binomial GLM skates.R"
# read files from IPHC
iphc.dir <- 'c:/SS/skates/indices/IPHC/'
iphc.sk... |
143504f45cd2e9535b233172a59dd0c53e1674c5 | bec9aed59fd626049a72efe98fd1fc022af2475a | /My Working Directory/Lecture - Probability.R | d38dbb7f94301dc087a27af8b2dab6de79893eac | [] | no_license | Nebojsa77/MXN500 | 96a46aea565fc069d58e8d40e429f72cca771102 | 6ee37020f40c33850f82f334bf42f4245ef60f56 | refs/heads/master | 2020-05-30T19:11:40.475011 | 2019-06-03T02:11:26 | 2019-06-03T02:11:26 | 189,918,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,385 | r | Lecture - Probability.R | library(VennDiagram)
library(ggforce)
draw.pairwise.venn(area1 = 0.8, area2 = 0.4, cross.area = 0.2, #plotting the area for each
category = c("Dog People", "Cat People"), #naming the variables
lty = rep("blank", 2), #make the circles blank in th... |
e3172abfa131e34da103978b1fc893f96f238e2a | d09aea6359ada6c8a78ddeafc1989e93ba9294aa | /build/R4.0.2-win64/parameters/doc/demean.R | 3e09ae0249170121b269880dbba674af8e5377f6 | [] | no_license | hyunsooseol/SimplyAgree | 4f28d8656f36be5d8a1e2e266c7ffb9c5c559c00 | 7507b271ce0528f92088d410d7d5f72d7c15d799 | refs/heads/master | 2023-05-30T21:45:57.725904 | 2021-06-22T00:13:59 | 2021-06-22T00:13:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,264 | r | demean.R | ## ----message=FALSE, warning=FALSE, include=FALSE------------------------------
library(knitr)
knitr::opts_chunk$set(
echo = TRUE,
collapse = TRUE,
warning = FALSE,
message = FALSE,
comment = "#>",
eval = TRUE
)
if (!requireNamespace("lme4", quietly = TRUE) ||
!requireNamespace("dplyr", quietly = TRU... |
ba84c412871efe3fcc33b0a7d14746cdf73ed349 | c599338f5a2fd512f6bd1b0bc9605e9e76239b0c | /R/distinctivenessNullAnalyses.R | ee875b6733bb47ec0912509707c9c101ef5141fb | [] | no_license | haiyangzhang798/San-Juan-Islands-Invasion | 0b5fa643f0bf1719367dc96472bb252ddfd2720d | 35c34b297ca70278c90794696ba8789834ee42d8 | refs/heads/master | 2021-01-09T06:01:41.382653 | 2015-12-08T17:53:39 | 2015-12-08T17:53:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,471 | r | distinctivenessNullAnalyses.R | ###### Final Analysis of San Juans Dataset ######
###### 6 Nov 2014 ##########
###### Hannah E. Marx #######
## Significance of phylogenetic and functional distinctiveness between invasive and native species within each island community
# compared to a null expectation, randomizing the invasive communtiy in each co... |
49cf5116a1993aaa17fe3bf81830f76f3d26c077 | 710083f50af7c2363f4c8739067cfe0ea3ca17a3 | /KiyiAge_Lepaketal_RESULTS.R | 86d3da4299878915aeb13e442c3b549c35e5a9c5 | [] | no_license | droglenc/KIYILepak | 0fc52a238520ef47fc927679d3f566fb6d49da88 | 67f396a90e761d50d055a0bc243384152bea0fbd | refs/heads/master | 2021-05-04T11:27:35.995809 | 2017-08-15T02:03:09 | 2017-08-15T02:03:09 | 44,124,578 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,320 | r | KiyiAge_Lepaketal_RESULTS.R | ## Read helper code
source("code/aaaInit.R")
## Set random seed ... bootstraps and ALKs will be the same each time
set.seed(34783475)
################################################################################
## Load and manipulate the length-frequency data from 2014.
lf14 <- read.csv("data/clean/lenfreq_2014.cs... |
f3b2f99ac43fb3517e06ea43c1c2e8d86d4cf99d | c02dc97094e17be13fa2d74b5d5c393cca8510f8 | /inst/doc/PGSEA.R | 9fa2e5b6870288f6ea01377b5dc1061a920db666 | [] | no_license | SiYangming/PGSEA | 1dabbcf2b793ad635a0a115f41dd37823df978c6 | 44a502effe40ec92a5a8d343bf04d6df2038f6af | refs/heads/master | 2023-02-26T00:34:38.903195 | 2021-02-02T10:27:02 | 2021-02-02T10:27:02 | 335,250,497 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,942 | r | PGSEA.R | ### R code from vignette source 'PGSEA.Rnw'
###################################################
### code chunk number 1: PGSEA.Rnw:40-43
###################################################
library(PGSEA)
basic <- new("smc",ids=c("gene a","gene b"),reference="simple smc")
str(basic)
###############################... |
325ff7ed527cf1878f736cd4f563b0b4e2bea29c | f8a99bc9505ecb65f186f4dcb22f0fa9750ec85f | /man/make_rc_table.Rd | 58bc5f3f0b0a37e22adb1319e2657cf6d5f0364b | [] | no_license | reptalex/dendromap | 015171627dc6031172db90414c6f5ec8b90e0722 | 3a0cd41f387fdc1ffbcefa7bbab054835173480c | refs/heads/master | 2021-06-12T00:14:57.326415 | 2021-04-15T20:21:22 | 2021-04-15T20:21:22 | 168,759,654 | 0 | 1 | null | 2021-04-15T20:21:23 | 2019-02-01T21:00:48 | R | UTF-8 | R | false | true | 694 | rd | make_rc_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_rc_table.R
\name{make_rc_table}
\alias{make_rc_table}
\title{Make table of {row tree,column tree} edge pair statistics}
\usage{
make_rc_table(X, row.tree, col.tree, maxPval = 0.01)
}
\arguments{
\item{X}{dataset whose rows correspond exa... |
b4bbea46f1ac49029a4be035458d51250fa9ce44 | cfbb3a909c3740459d76554a652e02a5dcb94706 | /AHR_test/Code/Compare_gene.R | 58fbf9275ce16f0f973237e378289f564db78cae | [] | no_license | guanxunli/knock_out_test | 3c620d54c196b38e427efed80f6543e5b71879c3 | b9e52820def8af024853a273cb0585d08b0ee335 | refs/heads/master | 2022-12-07T07:13:00.552788 | 2020-09-01T22:26:08 | 2020-09-01T22:26:08 | 262,395,782 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,592 | r | Compare_gene.R | library(Matrix)
library(Seurat)
library(harmony)
library(ggplot2)
library(ggrepel)
## Add function
dRegulation <- function(manifoldOutput, gKO){
geneList <- rownames(manifoldOutput)
geneList <- geneList[grepl('^X_', geneList)]
geneList <- gsub('^X_','', geneList)
nGenes <- length(geneList)
eGenes <- nr... |
53723c642b86294038c7c6df5e6f6a3b6ca85f1e | b2d2942d29ed06a330a2c13ab8a1ee1edfddf292 | /R/CreatePortfolio.R | 30a9b5c05b1851ea71e6a415b0cd056f9879882d | [
"MIT"
] | permissive | Predacity/LendingClub | 111b0ca33fcc800949fb3fedeee9c08934ba2113 | 706096cbd3c23c5388cc784bd639544e36f81084 | refs/heads/master | 2021-01-20T13:22:53.438079 | 2017-04-25T03:17:16 | 2017-04-25T03:17:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 680 | r | CreatePortfolio.R | #' Create a new portfolio
#'
#' Create a new portfolio to assign loans to. Notes can be assigned to
#' a portfolio using the API when they are purhcased from the primary
#' market.
#'
#' @param port_name String. Name of the new portfolio
#' @param port_desc String. Portfolio description
#' @inheritParams AccountSummary... |
66f10e905fbee272fa02989b786af263808911b2 | cd9c0e636a478f7c9db4a5b41ea556c26b2fa2d1 | /Task-1.R | 54820fc2f4bc06cdb09b6c5ef23a8901c4bc8417 | [] | no_license | priyanka0111/The-Spark-foundation-2021 | eee19fc43c0c137a61dd22812ad9af3edf2b5919 | 44324dd46f0f1b5da92a0a0787704c73a5de6ac0 | refs/heads/main | 2023-04-04T20:30:10.158812 | 2021-04-20T16:53:34 | 2021-04-20T16:53:34 | 359,128,872 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,013 | r | Task-1.R | #THE SPARK FOUNDATION - INTERNSHIP APRIL,2021
#DATA SCIENCE & BUSSINESS ANALYTICS
#TASK-1 Prediction using supervised machine learning
#what will be the predicted score if a student studies for 9.25hrs/day?
#importing the data
student<-read.csv("https://raw.githubusercontent.com/AdiPersonalWorks/Random/master/st... |
6142ecf334130147bee36f92fb21a900d1338ef0 | f199937e8fbbad3476372858513e2f4498419824 | /man/scrape_investagram.Rd | 110934d2184efb3a0ff7701a104cdd3425616ca0 | [] | no_license | nfrimando/pseR | 92ac707a9c610b06de9edae22a51ca303d024559 | d666b95875461a30994cc05af8ed137d859b5969 | refs/heads/master | 2022-01-18T15:54:54.812328 | 2022-01-09T09:49:03 | 2022-01-09T09:49:03 | 254,435,856 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 660 | rd | scrape_investagram.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scrape_investagram.R
\name{scrape_investagram}
\alias{scrape_investagram}
\title{Scrape Investagram Stock Info}
\usage{
scrape_investagram(codes, details = c("hist", "bands"))
}
\arguments{
\item{codes}{Vector of Stock Code(s) from PSE (e.g. ... |
3c5aea7bcec7d271f879ef8ccd96b31b2b8823b7 | 49ff0bc7c07087584b907d08e68d398e7293d910 | /mbg/mbg_core_code/mbg_central/LBDCore/R/fit_earth.R | 0e7e5ac08ae5291310139ae7cafaf9d8c1caa716 | [] | no_license | The-Oxford-GBD-group/typhi_paratyphi_modelling_code | db7963836c9ce9cec3ca8da3a4645c4203bf1352 | 4219ee6b1fb122c9706078e03dd1831f24bdaa04 | refs/heads/master | 2023-07-30T07:05:28.802523 | 2021-09-27T12:11:17 | 2021-09-27T12:11:17 | 297,317,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,147 | r | fit_earth.R | #' @title FUNCTION_TITLE
#' @description FUNCTION_DESCRIPTION
#' @param df PARAM_DESCRIPTION
#' @param covariates PARAM_DESCRIPTION, Default: all_fixed_effects
#' @param additional_terms PARAM_DESCRIPTION, Default: NULL
#' @param weight_column PARAM_DESCRIPTION, Default: NULL
#' @param indicator PARAM_DESCRIPTION
#' @p... |
39e9883ffcec9f705a5baa39ba780590ef99ada8 | 6e32987e92e9074939fea0d76f103b6a29df7f1f | /googleaiplatformv1.auto/man/GoogleCloudAiplatformV1ExportDataOperationMetadata.Rd | 0b1f3880231638df3c64779e6b5be20d0005c94a | [] | no_license | justinjm/autoGoogleAPI | a8158acd9d5fa33eeafd9150079f66e7ae5f0668 | 6a26a543271916329606e5dbd42d11d8a1602aca | refs/heads/master | 2023-09-03T02:00:51.433755 | 2023-08-09T21:29:35 | 2023-08-09T21:29:35 | 183,957,898 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 920 | rd | GoogleCloudAiplatformV1ExportDataOperationMetadata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aiplatform_objects.R
\name{GoogleCloudAiplatformV1ExportDataOperationMetadata}
\alias{GoogleCloudAiplatformV1ExportDataOperationMetadata}
\title{GoogleCloudAiplatformV1ExportDataOperationMetadata Object}
\usage{
GoogleCloudAiplatformV1ExportD... |
17cef888d2a5cb1671c92be3871d2619e6945573 | 9f881b694e1301e47d3a960ab7e68386d84c9b1a | /Assignment 5 Clinical Trial.R | 6f1dd79e6962ab0aa6f5f114ff4e82549ff7731c | [] | no_license | ankitbhargava62/MITx-15.071x-The-Analytics-Edge | 8479c0e96be036903839a5f75a69f68c1e5b70fc | 58651ca836a44ebe7c879da7e97f8c91346a6074 | refs/heads/master | 2020-03-19T21:08:37.697468 | 2015-05-23T11:03:34 | 2015-05-23T11:03:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,614 | r | Assignment 5 Clinical Trial.R | # Assignment 5 Clinical Trial
# Read in the data
clinical_trial = read.csv("clinical_trial.csv", stringsAsFactors=FALSE)
str(clinical_trial)
max(nchar(clinical_trial$abstract))
which.min(nchar(clinical_trial$title))
# Install new packages
#install.packages("tm")
library(tm)
#install.packages("SnowballC")
library(Snow... |
c79c3a031648bd6d43d2a558c136135718129d4d | c95d61a58f83ea3beae1949c2e4cd8e5f1186c01 | /BM-challenge/tabs/6. dam.R | 6d1773f5a44497e5b3dd6cb21c2ab8f483a65536 | [] | no_license | TMBish/TMBisc | d9da0e75320b47a5e539f6124430dc49cef61e4f | 79378a7e18e02afaf9679ef8f914d9b21f39e453 | refs/heads/master | 2023-02-22T19:14:11.210224 | 2023-02-16T06:55:09 | 2023-02-16T06:55:09 | 172,413,835 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,663 | r | 6. dam.R | damTab =
fluidRow(
column(width = 8,
tabBox(
title = "Dam Diving",
id = "tabset1", height = "600", width = 12,
tabPanel("Challenge Description",
HTML(
"<strong> <big> Overview </big> </strong> <br/>
<p> Each team must (1 a... |
84100f03649eb0b1a95f127c62773a7c244baee8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/OUwie/examples/OUwie.slice.Rd.R | 400de193dbb2e42e177289ff281cb146bf5b1a02 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,098 | r | OUwie.slice.Rd.R | library(OUwie)
### Name: OUwie.slice
### Title: Generalized Hansen models with time slices
### Aliases: OUwie.slice
### Keywords: models
### ** Examples
data(tworegime)
##Here we want a fixed slice at T=2, assuming the present is T=0:
#library(phytools)
#max.height <- max(nodeHeights(tree))
#timeslices <- max.heig... |
2467fe59d473a03443afa9d6c21f1a07fcf4089c | fd6c510171a206cb9961f3e77ed9a37d49ce4051 | /wk3/Scoping_Nested_Func.r | 68b18d8e563a97440382d085cd862b35848fb1e8 | [] | no_license | chriszeng8/R_Programming | 8764d908da057d07d758f645346f6bdda7f2b5a0 | cf7364b8c4dcf05a824acbf419842ddd8bfbb5b4 | refs/heads/master | 2016-09-05T20:44:08.950337 | 2015-02-10T07:36:15 | 2015-02-10T07:36:15 | 28,570,335 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 543 | r | Scoping_Nested_Func.r | # n_power takes arg n
n_power<-function(n){
# Inside n_power function, define a function within
pow<-function(x){
x^n # note that n is a free variable in the pow function.
# therefore, R will look through the environment to find
# n. In this case, n in defined in the n_power function enviroment.
}
pow... |
eac106fd81c8f6211f5a4498777f33ab18261093 | aee648231ac0b2fe6509724d0872a1f2f95fa000 | /CODE/main.r | 02879c550fb19a515ad1b4928457597c68e2b917 | [] | no_license | nchaoFORR/IRA-Linked-Tweets-STMs | 466eab3bceb07a5abe2fe052957a80a5e733f738 | f0044dcf21061ba1076c4f43571eb29b1df31428 | refs/heads/master | 2020-05-16T07:41:21.731721 | 2019-04-23T03:37:29 | 2019-04-23T03:37:29 | 182,884,629 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 503 | r | main.r | # MAIN
require(tidyverse)
require(stm)
require(quanteda)
require(here)
require(lubridate)
require(tidytext)
require(tictoc)
# This file will create three documents in the directory;
# 1. csv containing top frex words in topics
# 2. csv containing top frex words in topics, specific to a particular month
# 3. documen... |
f058fe510c305954327b4e53332796bf2d4794b1 | ffe9932351d01e0d74ef7787f23aa3f6e0a8d065 | /day29/R/day29.R | dfb5889f3367e5f3200f5a7240a28f5a5ee9b999 | [] | no_license | jkaupp/30DayChartChallenge | 61193d6efd928cc96b044196f683904a1eab0baf | 6d2530f69ab2acb6b2b82924c6fe5023b2dba7f4 | refs/heads/master | 2023-04-23T17:51:36.264431 | 2021-05-01T20:19:52 | 2021-05-01T20:19:52 | 353,776,458 | 22 | 5 | null | null | null | null | UTF-8 | R | false | false | 5,016 | r | day29.R | library(tidyverse)
library(here)
library(jkmisc)
library(readxl)
library(janitor)
library(colorspace)
library(scales)
library(ggtext)
library(glue)
parker <- read_xlsx(here('day29', 'data', 'ParkerElephantData.xlsx')) %>%
clean_names()
plot_data <- select(parker,
id = animal_or_elephant_id_number,
sex... |
0f64764dfe4cb89d71513ba98b02c592ac5a5cd1 | bc86d23f9ce6ff1d2753e5cf0cec753a012aee07 | /R/Devium Normalization.r | d2c0b09c90a90153697f4783e7018870cfaa0160 | [] | no_license | bw2013/devium | a88094d192858c133cfb60ae52d6282805c51cf7 | e0fa08845c1b8ce6df3551701f640c274aa5985e | refs/heads/master | 2020-12-25T22:58:25.443498 | 2014-06-29T17:11:58 | 2014-06-29T17:11:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,789 | r | Devium Normalization.r |
# data overview and normalization functions
#function to calculate within and between batch precision for all variables
calc.mRSD<-function(data,batch=data.frame(1:nrow(data)),summary.range=seq(0,100,10),use="mean"){
library(plyr)
#bin summaries into range
if(!is.factor(batch)){batch<-tryCatch(factor(batch[,],lev... |
6897612ce32ab809ad84c71267b5e745ad692642 | 57ffef364d9d7a34fea904d0b614ebac6969de07 | /code/Bayes.R | 5f54c7d8358588d28629775fb3adf420f8b16a9e | [] | no_license | rbnphlp/Credit-Risk-modelling--Group-Project | d93fc6ee13e3aba2cc6dc30632891d4469f6c9ed | 08d14b080929bcfe11f3cbd9894c73f5d6bd26d3 | refs/heads/master | 2021-01-20T11:00:29.275571 | 2017-08-28T16:09:04 | 2017-08-28T16:09:04 | 101,661,328 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,521 | r | Bayes.R | # Author: 030007254.
#
# Load the data and the required packages.
load("imputed.RData")
library(e1071)
library(caret)
library(pROC)
##########################################################################
#
# Function implements out of the bag (OOB) validation for a
# naive Bayes classifier (NBC) model.
#
# Input... |
99b8fcd7125b6ace3dbd1a489a9c5ce0a1b203e6 | 3c376428e65f38f6a1188ca6fb6a8319d22de501 | /R/fsc.run.R | 5325d3ad59c0d96590ea901b40b704a3dfafd2b5 | [] | no_license | thierrygosselin/skeleSim | 84c114fcb0684120b4be298864dfbb4c7d06b508 | dbbfd19ccfe1f45509b076083dc026d6281ce4ad | refs/heads/master | 2021-01-18T00:51:07.706902 | 2016-07-28T17:05:54 | 2016-07-28T17:05:54 | 64,245,124 | 0 | 0 | null | 2016-07-26T18:32:13 | 2016-07-26T18:32:13 | null | UTF-8 | R | false | false | 3,075 | r | fsc.run.R | #' @name fsc.run
#' @title Run fastsimcoal
#' @description Run fastsimcoal
#'
#' @param params a \linkS4class{skeleSim.params} object.
#'
#' @return a modified \linkS4class{skeleSim.params} object with the results of
#' a fastsimcoal run.
#'
#' @export
#'
fsc.run <- function(params) {
label <- currentLabel(params)
... |
bc1badfcba5731500819eb4eeade7d5aae9c4e54 | bcb9aea78c90f9e243ddf3a82524796b0ecf52a8 | /man/imputeLFQ.Rd | 9585829888bc4576f7d60f12bbd8b25d210bf58c | [
"MIT"
] | permissive | MassDynamics/MassExpression | ab35451ac89662b992d3633b5c06bea5ce2c521c | 24b59e6cb7afc07b8b4b59473c72dca93582fe41 | refs/heads/main | 2023-05-10T15:38:58.488481 | 2023-05-04T22:43:13 | 2023-05-04T22:43:13 | 377,716,166 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 815 | rd | imputeLFQ.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/imputeLFQ.R
\name{imputeLFQ}
\alias{imputeLFQ}
\title{This function does MNAR imputation}
\usage{
imputeLFQ(myQuantDT, id_type, int_type, f_imputeStDev, f_imputePosition)
}
\arguments{
\item{myQuantDT}{quantification data}
\item{id_type}{the... |
2e6946bf677d032bb6fa5f21dba877d07fe23d4a | 61c188bba8f228b0f14f4bae7c2fa3dcd1f7b3a2 | /man/getCurrentInBed.Rd | 2946c9ee7b0d9684bd411191bc2a488d68893ee6 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | covid19br/now_fcts | 24cb3b7bcbf47b827e50fec43f0dd9647c89dde4 | 44479971618513ef23e82ac277c749b8384e12f8 | refs/heads/master | 2023-02-27T01:34:07.757658 | 2021-02-05T20:41:10 | 2021-02-05T20:41:10 | 273,057,036 | 0 | 1 | CC0-1.0 | 2020-07-07T00:27:17 | 2020-06-17T19:04:42 | R | UTF-8 | R | false | true | 304 | rd | getCurrentInBed.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getCurrentInBed.R
\name{getCurrentInBed}
\alias{getCurrentInBed}
\title{getCurrentInBed}
\usage{
getCurrentInBed(df, date, UTI)
}
\arguments{
\item{df}{df}
\item{date}{date}
\item{UTI}{UTI}
}
\description{
getCurrentInBed
}
|
7833aa39549d6ed98c0e62a342d9dad240f30dd2 | f5224269ceced4aaeb094a2a16096794c9ce2761 | /SARS-CoV-2_TimeSeries/parameters.R | 2a36b443465a59cf8f0f0659f7527e4737d8706e | [
"MIT"
] | permissive | jilimcaoco/MPProjects | 2842e7c3c358aa1c4a5d3f0a734bb51046016058 | 5b930ce2fdf5def49444f1953457745af964efe9 | refs/heads/main | 2023-06-15T04:00:46.546689 | 2021-06-29T02:57:46 | 2021-06-29T02:57:46 | 376,943,636 | 0 | 0 | MIT | 2021-06-29T02:57:47 | 2021-06-14T20:08:32 | null | UTF-8 | R | false | false | 707 | r | parameters.R |
parameters <- list(
databases = list(
covid18cq1 = list(
host = "covid19primary.cgymeokijgns.us-east-1.rds.amazonaws.com",
port = 3306,
user = "covid19primary",
password = "atop-9most-5Inn-Dandruff9",
schema = "covid19cq1"
)
),
py... |
c80282369210789fca9d738511412488ac522fe9 | 622436e52cf1ffb105b2f9af141cabc22ac51246 | /P1/Prueba1.R | 3c54a39719b598b6e9195e03dbce1ea26dacdbc9 | [] | no_license | EdePB/Simulacion | 6f25d97a0f3039f3a8c502fb5a13ec1b9db77206 | 1846530bbf16a99052a0400c7d799deb77bf1c5b | refs/heads/master | 2020-12-24T07:04:04.794711 | 2017-12-12T08:36:40 | 2017-12-12T08:36:40 | 99,721,801 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 463 | r | Prueba1.R | caminata<-function(dim,dur){
pos <-rep(0,dim)
posOrigen<- rep(0, dim)
orig <- 0
datos<- data.frame()
for (t in 1:dur) {
cambiar<-sample(1:dim,1)
cambio<-1
if (runif(1) < 0.5) {
cambio<- -1
}
pos[cambiar] <- pos[cambiar] + cambio
if (all (pos==posOrigen)){
orig <- orig + 1
}
}
return(o... |
4a95dcb71c07f5e825327effb97b028fa9141e32 | 05a2342858956ba4922a8c0a15a9eb70c28cae7b | /r-essentials-gists/ch0526.R | c83f5a01c53c1020d4ebafd082b60549b75955f6 | [] | no_license | jtlai0921/AEL023000_- | c0120f78d4c195a703263d57ae76de8544d5771a | d9a95c63bda951b0e2f8bbb338b63bb388ca8005 | refs/heads/master | 2020-12-19T02:26:47.710279 | 2020-01-22T14:37:24 | 2020-01-22T14:37:24 | 235,592,637 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 179 | r | ch0526.R | my_arr <- array(1:20, dim = c(2, 2, 5))
my_arr[1, 2, 2] # 選出 7
my_arr[1, , 2] # 選出第二個矩陣的第一個 row
my_arr[, 2, 2] # 選出第二個矩陣的第二個 column |
e9a2f1c7760e687e7b28668472f436a9174df375 | 02741e2e8e6d693c0b770a9b34ce33cfc8c6e504 | /R/CreateConnection.R | e9c77c75949df2c59ac38fe96a5fcf2530b3ffc3 | [] | no_license | RGLab/ImmuneSpaceR | dc6baa18a9a574692d352f775b5a3c4efdb1908d | 165c75953186548517bcf1fa26204c22bc1ae164 | refs/heads/main | 2022-12-21T12:18:18.942221 | 2022-12-14T22:36:51 | 2022-12-14T22:36:51 | 20,756,066 | 25 | 16 | null | 2022-12-13T17:52:17 | 2014-06-12T05:40:31 | R | UTF-8 | R | false | false | 1,910 | r | CreateConnection.R | #' @title CreateConnection
#'
#' @name CreateConnection
#'
#' @param study A \code{"character"} vector naming the study.
#' @param login A \code{"character"}. Optional argument. If there is no netrc
#' file a temporary one can be written by passing login and password of an
#' active ImmuneSpace account.
#' @param pas... |
a4b1250fdb6f76a95e3e6e62bd5509481d3bc9e9 | ec1917f9fd8b89252fc25e98943a0318955a1db5 | /Plot1.R | ad9d80b40e10298d0cd1e0ac6bf9ef71f6405b6f | [] | no_license | subratasaharia/ExData_Plotting1 | 740fc19079f47bc79a1a8d6ad96fdec384e5d343 | 1e4a02ef4e43211d2c7f5ace7f557f971a65c9f5 | refs/heads/master | 2020-12-24T09:07:48.647984 | 2016-11-11T11:47:28 | 2016-11-11T11:47:28 | 73,307,208 | 0 | 0 | null | 2016-11-09T17:48:50 | 2016-11-09T17:48:50 | null | UTF-8 | R | false | false | 809 | r | Plot1.R | # Course Project 1: Exploratory data analysis
unzip("./Coursera 4/Week 1/exdata%2Fdata%2Fhousehold_power_consumption.zip",
exdir="./Coursera 4/Week 1/Course Project")
PrjData<-read.table("./Coursera 4/Week 1/Course Project/household_power_consumption.txt",
header= TRUE, sep=";", stringsAsFact... |
e0df87b2cf076e66d3c6f2718fbb11293556dca3 | 9a8198dd11f74d0b6f094b469b1ba0d46d754024 | /ReDCM_run_modelspace/redcm_modelspace_mxlist.R | 517284140935c1c51c4d9b924a4a15310cd153de | [] | no_license | aranyics/UD-redcm-on-Azure | 0d922651dabb838f02bb68666f29c6cdb3203271 | cc88f8297a7e031dd4a8266cb5733e5f2d520fc6 | refs/heads/main | 2023-04-06T01:42:13.270895 | 2021-04-22T07:05:55 | 2021-04-22T07:05:55 | 360,419,248 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,805 | r | redcm_modelspace_mxlist.R | #!/usr/bin/env Rscript
args = commandArgs(trailingOnly = TRUE)
# test if there is at least one argument: if not, return an error
if (length(args)==0) {
stop("At least one argument must be supplied (subject)", call.=FALSE)
}
## ----------------------------------------------------------------------------------------... |
6e9b5b62abe98772cfbeab6acd734386191ca0e2 | 26a780f7a54e4f5f9fe8de3b1293040657f812b5 | /ui.R | 11dc78b8098b569e870ef781e131d086260997fa | [] | no_license | RajasekaranKR/Developing-Data-Products-Week-4-Project-Shiny-Application | 3722379961e787e157105cf07a00142a12fb1821 | 0bb48ee5b56346ecd075d3547a4ddfe1a7857cdb | refs/heads/master | 2020-03-30T09:21:03.880183 | 2018-10-01T10:45:02 | 2018-10-01T10:45:02 | 151,072,406 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,591 | r | ui.R |
library(shiny)
shinyUI(
fluidPage(
titlePanel("The relationship between variables and miles per gallon(MPG)"),
sidebarLayout(
sidebarPanel(
selectInput("variable","variable:",
c("Number of cylinders"="cyl",
... |
57da14cfa403582b3ebb322b069889b8cae365e2 | b7db4753fba2d5a32c9e905b6637fb00561c96c5 | /data-raw/greeness_plot.R | 10ff5ce51e102dd02f167768e6988fb85e493ca1 | [] | no_license | yujiex/pubPriCmp | a49cc9a589fa2a11cf754b4c8722319ff80734f8 | 358b33ed31003ea825426122ba9129532fd2f97a | refs/heads/master | 2020-03-20T15:33:20.624146 | 2019-10-29T17:47:48 | 2019-10-29T17:47:48 | 137,515,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,089 | r | greeness_plot.R | ## Following steps from
##https://timogrossenbacher.ch/2016/12/beautiful-thematic-maps-with-ggplot2-only/#clear-workspace-and-install-necessary-packages
detachAllPackages <- function() {
basic.packages.blank <- c("stats",
"graphics",
"grDevices",
... |
ca743a7923ef71de6da22a409834e343094ffdfd | 4dced39355fb06b47320044cb55a8af13f4a6f1a | /Plot4.R | 84c8f7ced5d7b8df317add68ab6c260392570958 | [] | no_license | Rabun0510/ExData_Plotting1 | c025194e9072b5933a6dd25014b83404dd9e60f8 | 76e83190cc23444503d792fc7db849edb3db2903 | refs/heads/master | 2020-12-28T21:05:47.627045 | 2015-04-08T19:56:27 | 2015-04-08T19:56:27 | 33,628,820 | 0 | 0 | null | 2015-04-08T19:53:45 | 2015-04-08T19:53:44 | null | UTF-8 | R | false | false | 2,102 | r | Plot4.R | # Exdata-013 project 1 plot 4
#Read the original data
originalData <- read.table("./data/household_power_consumption.txt", header = TRUE, sep = ";", na.strings = "?", stringsAsFactors = FALSE)
#Add a column of DateTime that appends the date and time into one POSIXlt object
elecData <- cbind("DateTime" = strptime(paste... |
3408a1ac3c3bc205856bc16f3afc45ce5ea16dbb | 56083c0756218eb2611923bc3353ee82a2171df1 | /ZZ_archive/model_sim_simulation_SJ(3).R | 181d052ceed6d39ba995316ee8aba881ff9830a2 | [] | no_license | yimengyin16/model_SJ | d512c26d8283bc2b1c375518a9f6195e362fb1e1 | 4dcaf1bafd871f64d617b61c59111a67b430467c | refs/heads/main | 2023-06-06T06:26:34.791754 | 2021-06-28T20:50:33 | 2021-06-28T20:50:33 | 359,182,697 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 38,649 | r | model_sim_simulation_SJ(3).R | ## This script conducts the simulation of the finance of the plan
## Development log
{
#' What's new in ver SJ(3)
#' - add new EEC policies: shared NC and shared ADC for SJ P&F
}
# New parameter to be added (Special settings):
run_sim <- function(i.r_ = i.r,
sim_paramlist_ = sim_param... |
70e4880293c5024c62714497fcf77fad84b4ff3e | 29585dff702209dd446c0ab52ceea046c58e384e | /SEHmodel/R/SEHmodel-package.R | 3ea63d62ede77a30f3d9569887210cf290bcb54b | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,266 | r | SEHmodel-package.R | # SEHmodel-package.R
# Part of the SEHmodel package.
#
# Copyright (C) 2015 Melen Leclerc <melen.leclerc@rennes.inra.fr>
# Jean-Francois Rey <jean-francois.rey@paca.inra.fr>
# Samuel Soubeyrand <Samuel.Soubeyrand@avignon.inra.fr>
# Em... |
f04395349382f0b457e83a1a261a31877accc966 | 687f406146fb5e9ab34fd5b7e3ed31efba195ed5 | /PointsCleanUp.R | ca06142578554046168132dd3fc6535f87a4ca69 | [] | no_license | darwilliams/RandomForests | 9065addecf83a777ef2acf0616e9a6be5983ac82 | 43cf200fffbd684bd867eff4e12679028f54bdf9 | refs/heads/master | 2021-01-22T02:39:18.489351 | 2016-12-06T20:17:41 | 2016-12-06T20:17:41 | 68,651,853 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 62,780 | r | PointsCleanUp.R | # Read in raw points and clean up column names, values, and export again
#note that you'll need to fix truncated column names on reimport
#### Load Package ######
list.of.packages <- c("caret",
"raster",
"rgeos",
"rgdal",
"sp",
... |
3a40c00eff1ce258a5cc70af3c047d8e0667e8e9 | 1c91d71b270acebefc918a40ce12799317d58522 | /man/DM1.Rd | dfd9d93d6f7d22a8f68b9812631be03c21cf8dfd | [] | no_license | cran/StatPerMeCo | 6ab2a03e6b85c4064d050fa1b26a5f582a332885 | e8735fa477bb8fc9e85f07719724bcf2ef09be96 | refs/heads/master | 2021-01-19T16:50:06.018743 | 2017-04-14T17:05:37 | 2017-04-14T17:05:37 | 88,291,278 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 641 | rd | DM1.Rd | \name{dM1}
\alias{dM1}
\title{
Distance measure defined in Eq. (3.1) of Li et al. (2016)
}
\description{
Compute the distance measure defined in Eq. (3.1) of Li et al. (2016) to compare the factor loading matrix in its Monte Carlos experiments.
}
\usage{
dM1(A, Ahat)
}
\arguments{
\item{A}{
The original factor loadin... |
d19ec191b11db92812327ae19ac0eee41da34f8f | b49dbb013041ed2d62aeb9129ce07b4659ddd43e | /data-raw/cog_com_2019.R | af32947ecc8bc27895b43347caf02e843e6e6799 | [
"MIT"
] | permissive | InseeFrLab/DoReMIFaSolData | 46db6f9b60e9338cb4d6d47e72d57a389a6acc11 | d67c97adbd0210f572e0ef5e1466967b514e4dc8 | refs/heads/main | 2023-06-24T17:12:23.393165 | 2021-08-26T09:08:55 | 2021-08-26T09:08:55 | 306,734,369 | 3 | 5 | MIT | 2023-06-08T14:50:53 | 2020-10-23T19:55:45 | R | UTF-8 | R | false | false | 1,128 | r | cog_com_2019.R | #' Code Officiel Géographique 2019
#'
#' Liste des communes au 1er janvier 2019
#'
#' @format Une table avec 37 930 lignes et 11 variables
#' \describe{
#' \item{TYPCOM}{Type de commune}
#' \item{COM}{Code commune}
#' \item{REG}{Code région}
#' \item{DEP}{Code département}
#' \item{ARR}{Code arrondissement}
#' \item{... |
ae90a3639053d961639df420d17d11611f771c31 | 7270049faff20a227119f8196f3779a0f9c21b8c | /R_code_temp_interpolation.r | 4a03b9dd0895d75b4f4d692fcabbc4fa30e20aed | [] | no_license | albertoruggeri4/monitoring | fe6c44f04ed9bec9a0ca16e515b0a386c773db4c | 1ac0bbca428217296bab7a8262c9263041692168 | refs/heads/master | 2022-12-17T15:14:09.531066 | 2020-09-14T14:30:17 | 2020-09-14T14:30:17 | 252,198,364 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,153 | r | R_code_temp_interpolation.r | #### data of measurement of different chimical compost of soil and different vegetation of the same soil
#Spatial statistics
#Interpolation only spatial and of the species distribution modelling
#"How much dense the point are in this area?"
setwd("C:/Lab")
library(spatstat) #estimate the density of the plot
inp <-... |
5fac5f63c896a436ddbccf5974d28b90fe2a88a7 | c3cf36095797ad2538e98091cec1610ed39a180f | /Data Visualization/Project 1/02 Visualizations/ggplot_filterPrice.R | 213a333d60c6d220e06ca304eaadcea6aa237c5e | [] | no_license | evanaj12/R_and_other_examples | 4f1440dfb4989e7503e8631650619beba1eae34c | baa2a39a2b5b9a4cec5034d8e54a6a277a5ca134 | refs/heads/master | 2021-01-09T21:46:58.137191 | 2017-02-14T18:13:08 | 2017-02-14T18:13:08 | 48,967,571 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 174 | r | ggplot_filterPrice.R | price <- ggplot(dfjoined, aes(x=as.Date(ORDER_DATE, "%Y-%m-%d"), y=as.Date(SHIPPED_DATE, "%Y-%m-%d"), color= factor(UNIT_PRICE))) + geom_point()+ facet_wrap(~CUSTOMER_STATE)
|
fcd4ac95e639bd2e0ba81e18273086cce5f1077f | 3581b1fb06e1455db0cbafd1c43e2ac71a250734 | /R/NlmeSetupVarFunction.R | b23bcbe2d40d0fa792295b91f3d335d201b9e8bb | [] | no_license | cran/mixlow | a4f85e942ef212bfbed81551c2d68b9197e2dc99 | 779a43f75afd02322ade30e575a45a2d1bd81e79 | refs/heads/master | 2016-09-05T13:24:41.248119 | 2012-03-20T00:00:00 | 2012-03-20T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,894 | r | NlmeSetupVarFunction.R | `NlmeSetupVarFunction` <-
function(ord, dat1)
{
## sets up the variance functions that are used when calling NLME
var.function.m1 = NULL
var.function.m2 = NULL
var.function.m3 = NULL
var.function.m4 = NULL
var.function.s1 = NULL
var.function.s2 = NULL
var.function.s3 = NULL
var.function.s4 = NULL
... |
05a1b513cd767b86fdaab7ade64202d2884e31f9 | 1f3a93bde4e7c51370361d82a5d9debc61b69a90 | /inst/doc/Sensitivity_analysis.R | 9f436229d7774458468f935600e9edefcc4d7c70 | [] | no_license | cran/multirich | 81229988d50d14a402aebc409a0f2a4176f24d55 | 3cf0674f0e8fe0c25ca1503e2d47660fa439328b | refs/heads/master | 2021-06-04T10:25:42.730839 | 2021-05-14T22:30:11 | 2021-05-14T22:30:11 | 30,429,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,231 | r | Sensitivity_analysis.R | ## -----------------------------------------------------------------------------
#Load package for calculation of multivariate richness & sensitivity analysis tools
library(multirich)
#Set up labels
sp.lbl = sprintf("sp%s",seq(1,15,1))
com.lbl = c("pool","com1","com2","com3")
tr.lbl = c("tr1","tr2")
#Set up... |
f3b226d7c06ac67710c94e53aa96d34f99a569ac | 5f66254ed2531989ee3851525e457ba00ae0ed4c | /r_sripts/05-logit_probit.R | 66b039443f1260e67b044d898a0917f99a99bb39 | [] | no_license | graf-anapaula/mushrooms | 4fffcd2ef7fa34c9d0eadc24eea1ce3901b74af2 | c0a223334d86cb5ffeb511f8d857fbae895c7531 | refs/heads/master | 2023-06-30T23:52:57.823319 | 2021-07-19T03:58:03 | 2021-07-19T03:58:03 | 383,635,520 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 687 | r | 05-logit_probit.R | # Librerías ====
library(tidyverse)
library(tidymodels)
library(lmtest)
# lectura de datos ====
mushrooms <- read_csv("data/mushrooms_dummy.csv")
# split data ====
set.seed(20210709)
split <- initial_split(mushrooms, split = 0.8)
train <- training(split)
test <- testing(split)
probit <- glm(data = train,
... |
41415db9b6fdc3a7561217b90c1f08aab6df8074 | 53b2358c6089be2c51ac2768a77fc303d563550d | /assembly-scripts/tsv-ase-bin.R | d7f03a7025b4b50faddc8eb12d7ca620419d01e0 | [] | no_license | bethsheets/Population-Genomics-via-RNAseq | 684e7cd5a667a335f7b3e1111e1ccd6eb85533c6 | 3cb3ee912f855e8a9981874f4ff160551f8b8db3 | refs/heads/docs | 2020-04-12T05:42:48.038672 | 2019-07-12T17:24:37 | 2019-07-12T17:24:37 | 60,875,099 | 2 | 10 | null | 2017-04-14T15:16:23 | 2016-06-10T20:29:39 | Python | UTF-8 | R | false | false | 2,211 | r | tsv-ase-bin.R | library('permute')
library('data.table')
dat<-read.delim('HETS.tsv')
dat<-dat[,c('CHROM','POS','SAMPLE','AO.1','RO.1')]
dat$AIsign<-dat$AO.1/(dat$RO.1+dat$AO.1)
dat$AI<-abs(0.5-dat$AIsign)
dat$DP.1<-dat$RO.1+dat$AO.1
dat$SNP<-paste(dat$CHROM,dat$POS,sep='-')
dat$LOCUS<-paste(dat$SAMPLE, dat$SNP,sep='-')
shufTab<-funct... |
0b1e1f9716f89b779bb08de3aad077c88b7cc4d8 | 22c5e08e719342636aecd8fdbab7d8545d1d38a1 | /code 19-23aug.R | db7cf0fdad1a9f7169d681bebb9422375fd5620c | [] | no_license | robin93/Stat_struc_Data | dce7575846318a54a003b08780a4ceb0f5ed74b4 | 1f5ad157463721c5765530cbb08efc734a7b21da | refs/heads/master | 2020-12-24T14:00:52.709412 | 2015-11-19T20:02:44 | 2015-11-19T20:02:44 | 41,617,380 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,019 | r | code 19-23aug.R | n = 300
x = rnorm(n)
# Empirical distribution
x = sort(x)
y = (1:(n-1))/n
#par(mfrow=c(1,1))
plot(c(rep(x,each=2)),c(0,rep(y,each=2),1),type="l")
lines(x,dnorm(x)) #plots the probability density function for the random values of x
lines(x,pnorm(x)) #plots the cumulative distribution function for the random values ... |
5bd7a53165d4baa38aab55763239213f1f9e45b4 | 4e6b153694b33cb33d7c057e3d03cfd390a7cbf9 | /R/hello.R | 0743825658219bceed26eb46f3e2738d16c06a69 | [] | no_license | Tutuchan/gettext | d87f12f36984a751bea74894bad03b25932e71de | ad9102853da546f3038f42df125116a50e8a224c | refs/heads/master | 2021-01-13T16:42:57.512798 | 2016-12-29T14:31:04 | 2016-12-29T14:54:56 | 77,619,092 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 338 | r | hello.R | #' hello
#'
#' @export
hello <- function() {
gettext("Hello, world!")
}
#' hello2
#'
#' @export
hello2 <- function() {
gettext("Hello, world!", domain = "R-gettext")
}
#' app
#'
#' @import shiny
#' @export
app <- function() {
app_dir <- system.file("app", package = "gettext")
shiny::runApp(app_dir, display.m... |
45ff69e5f174a95a6b0e6d217f40ddaf2562858a | 714ecbdc38da1d141c2f7913e7f9ecf8011e3e61 | /plot2.R | 5a7a8ee15cfa684bd918b8c2e72fe71306aaa331 | [] | no_license | nsulikowski/ExData_Plotting1 | f185828fdb341c02bacb852c0cdea27dcf0d8265 | d38d232e86054fbb427b4b77ac0fad6dd41c1c9e | refs/heads/master | 2020-12-25T20:08:15.457189 | 2016-04-09T12:31:03 | 2016-04-09T12:31:03 | 55,818,552 | 0 | 0 | null | 2016-04-09T00:55:30 | 2016-04-09T00:55:30 | null | UTF-8 | R | false | false | 831 | r | plot2.R | library(dplyr)
library(readr)
library(lubridate)
data <- read_delim(
file="C:/Users/Nestor/Documents/Coursera/CourseProject1/household_power_consumption.txt",
col_names = TRUE,
col_types = "ccnnnnnnn",
na = c("?"),
delim=";"
)
data1 <-
mutate(data, DateTime=as.POSIXct(strptime(paste(Date,Ti... |
d7922cc5f29fd5ec72b2636fb19c7e03ed996c2f | 7b2f2d82d958351d4b714b98beb9aeb287869260 | /man/Waterfall.Rd | 9b2ae7c24d656a2a0648e8e611def9fbbd06a624 | [] | no_license | Displayr/flipStartup | 5fa3dc7e136b444c7def95084afadebdb969f343 | 1c9557ea91b472dac99b10e4b9580aa6e2badc49 | refs/heads/master | 2023-07-29T16:29:21.282415 | 2023-07-14T05:50:15 | 2023-07-14T05:50:15 | 60,380,987 | 2 | 1 | null | 2023-07-14T05:50:17 | 2016-06-03T22:18:00 | R | UTF-8 | R | false | true | 547 | rd | Waterfall.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/waterfall.R
\name{Waterfall}
\alias{Waterfall}
\title{Waterfall}
\usage{
Waterfall(x, periods = NULL)
}
\arguments{
\item{x}{A RevenueGrowthAccounting object.}
\item{periods}{A vector of \code{character} indicating the period(s) to plot
(rel... |
f8d5a5377239da6d5e733f734e1f0026bc7df228 | 9f07de54ad532abecda1db51c4204fee79a2c3dd | /man/bioparameters.Rd | 92a3b2bff48e32391644ba9a5da3febc4ac9765f | [
"MIT"
] | permissive | alfcrisci/rAedesSim | c0feb85870f1838f43e056271830ae253f655177 | 2437af7e4fa13e23ce89bc30614c9fa24ca17e54 | refs/heads/master | 2021-01-17T13:35:56.955121 | 2017-12-04T13:41:30 | 2017-12-04T13:41:30 | 88,733,291 | 1 | 1 | null | 2017-07-07T13:18:08 | 2017-04-19T10:41:36 | R | UTF-8 | R | false | true | 1,798 | rd | bioparameters.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bioparameters.r
\name{bioparameters}
\alias{bioparameters}
\title{bioparameters}
\usage{
bioparameters(alfa_l = 1, alfa_a = 0, exp_lar = 1, l_density = 100,
sex_ratio = 0.5, egn = 16, ef = 0.83, inib = 0, sspp = "Albopictus",
genus_sspp =... |
a6bc63f6075d79d45e986be480e93981f9c964c8 | 5d17b85808e9dac3dcad3d0caa223cf6c3ae1221 | /man/inertCoordSysVarOut.Rd | 72df3da5fd535f7b8fe4f180cc78aa8c6b628b47 | [] | no_license | ebmtnprof/qid | 3c818f3ece373d61562bd0b4c428fa04643a9181 | 648fa6eeaf3d7ebb9e7fb94f41507d63b84ff685 | refs/heads/master | 2020-04-16T09:02:31.772340 | 2019-01-14T00:13:14 | 2019-01-14T00:13:14 | 151,756,604 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,991 | rd | inertCoordSysVarOut.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/inertCoord.R
\name{inertCoordSysVarOut}
\alias{inertCoordSysVarOut}
\title{Compares variants of the inertia-coordination model for predicting the system variable from the dynamic parameters.}
\usage{
inertCoordSysVarOut(basedata, sysVarType, ... |
ca25959a828e6787dce0299078b9ac892aa39c19 | 8cd2b32bad1ab4205131eee63aeda637ab9f8a8f | /3 way ANOVA code.R | 8dae3b0043c18af4953775898031f40165ecd510 | [] | no_license | pathomas18/2016_REU_Thomas | 3cafd448dce6352342b1158a41fafdc35b3278d9 | f62fc55f5f6dd49d7f6ec12db9095adb923ef3f8 | refs/heads/master | 2021-01-24T22:06:57.560167 | 2016-08-23T14:43:31 | 2016-08-23T14:43:31 | 63,876,372 | 0 | 0 | null | 2016-07-21T18:25:13 | 2016-07-21T14:28:47 | null | UTF-8 | R | false | false | 1,408 | r | 3 way ANOVA code.R | ##########################################################
# 3 way ANOVA
# Growth Chamber Experiment
# data from: Documents< IU Biodiversity< GCH_CO2.csv
#########################################################
setwd("~/Documents/IU BioDiversity")
#clear environment
rm(list=ls())
CO2<-read.csv("GCH_CO2.csv", header... |
7337d364c47d66a189268981ad216ad9dbf0ac58 | c571b69e85a9ca90cd9ba02bc40fd2bb2391be23 | /code/5_inla_mesh.R | beda6d96c0b82a4ec833be4e2e65b5dfad173119 | [] | no_license | ric70x7/ElectricityAfrica | 9de27a1de3a23e4b0b4ec66b066eedf00913f84a | 291c2141a62f4de4d9bcdc5181efdbc789c5955a | refs/heads/master | 2022-11-17T09:54:35.703626 | 2022-11-10T18:48:13 | 2022-11-10T18:48:13 | 62,674,968 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,515 | r | 5_inla_mesh.R | # INLA preliminaries
# ------------------
#
# Edited: September 27, 2016
library(INLA)
library(raster)
library(maptools)
graphics.off()
rm(list = ls())
set.seed(100)
load("code_output/df_model.RData")
afri_main <- rgdal::readOGR("data/Africa_main_country/Africa_main_country.shp")
# Split data
df_model <- subset(df... |
859fd1323b31bfe36fbfab9b7557419a69a472f7 | fed543ff068a5b1ae51c19e95b2471952d72adb7 | /R/help.R | b8a6ae451ade2901812ac8cc32a56eb6e926f011 | [] | no_license | githubmpc/marimba2 | 848627c80de60e4ef53d623a3f6e7960c5afcbc4 | 332c283592d9cad4ca1a4ee4cc652709580b62f3 | refs/heads/master | 2021-01-20T02:19:13.442176 | 2017-10-18T14:51:17 | 2017-10-18T14:51:17 | 101,313,331 | 0 | 0 | null | 2017-10-18T14:52:26 | 2017-08-24T15:59:52 | R | UTF-8 | R | false | false | 884 | r | help.R | #' CNP analysis for parent-offspring trios
#'
#' what marimba does
#'
#' @docType package
#' @name marimba
#' @import methods
#' @import abind
#' @importFrom Hmisc rMultinom
#' @importFrom reshape2 dcast melt
#' @importFrom gtools rdirichlet
#' @importFrom ggplot2 ggplot geom_line aes facet_wrap geom_density xlab ylab ... |
4da819252e5eb7356a044fa947ddba4c00a78bfb | 296c938a755f774a5ac571c6a2ced0e9f55bcbce | /lec/ex4.1.R | 86e5e919914843a2f0842b4d23f61dc62dfeb866 | [] | no_license | peach07up/stat426 | d2ce04244252a08a1d2b433f478b9745b44c1d5e | 279c3247e0742311e7145e4c293b3750de0d309b | refs/heads/master | 2020-03-09T01:17:30.595311 | 2018-04-07T08:34:57 | 2018-04-07T08:34:57 | 128,510,342 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 762 | r | ex4.1.R | ### Example 4.1: Psych Data (Logistic Regression)
psych <- read.table("psych.txt", header=TRUE)
head(psych)
### Logistic Regression: Separate X variables for the 5 questions
psychfit1 <- glm(ill ~ x1 + x2 + x3 + x4 + x5, family=binomial, data=psych)
# canonical logit link used by default
summary(psychfit1)
... |
d5b8d0dd6406f1aebb3388bc62f19d2dac81ab68 | 40c65fff3847662ce46d2afd73acf8b68b785107 | /man/enw_formula_as_data_list.Rd | d565ee02f0107ba6a37368136e3d2f4e272da226 | [
"MIT"
] | permissive | epinowcast/epinowcast | b4d4562603938e9a184d3450d9387f92908cd6bc | 98ec6dbe3c84ecbe3d55ce988e30f8e7cc6b776d | refs/heads/main | 2023-09-05T18:19:10.985900 | 2023-09-05T12:13:49 | 2023-09-05T12:13:49 | 422,611,952 | 23 | 5 | NOASSERTION | 2023-09-14T09:57:09 | 2021-10-29T14:47:06 | R | UTF-8 | R | false | true | 1,988 | rd | enw_formula_as_data_list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model-tools.R
\name{enw_formula_as_data_list}
\alias{enw_formula_as_data_list}
\title{Format formula data for use with stan}
\usage{
enw_formula_as_data_list(formula, prefix, drop_intercept = FALSE)
}
\arguments{
\item{formula}{The output of ... |
883979549690da2a3c056da5200153a3bfc37d5e | 28c3fb6c82f93c5090a5c7b3b672fc4c4324853d | /R-EstudioSeVaAntes/R-Estudio/estudioSeVaAntes.R | 4dc6aea36fa87f5acef890c68d9e1b2a294007aa | [] | no_license | IgnacioGarrido/gitst_optimization_bscthesis | d0cef95dd7450d72a0e0ff25213c2cf7f5730965 | 2a0617a0076c414a823abc558ecaa58578dd66ef | refs/heads/master | 2020-09-09T18:22:51.258566 | 2019-11-25T00:22:30 | 2019-11-25T00:22:30 | 221,525,514 | 1 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 19,779 | r | estudioSeVaAntes.R | library(readr)
library("ggplot2")
precio_energia <- read.csv("~/Universidad/4/SegundoSemestre/TFG/___AuxiliarParaToquetearSinCagarla/R-EstudioSeVaAntes/precioEnergía4días.csv", header = T, sep = "\t")
coche_inv <- read.delim("~/Universidad/4/SegundoSemestre/TFG/___AuxiliarParaToquetearSinCagarla/R-EstudioSeVaA... |
4131c5c5cbba3cdc2ab43853937024f7cf0a2f1f | e84a6b95403e9c9aecd8870819a21d93b30498b7 | /man/getRoadWorks.Rd | 721d9e452bfdf5e00cc812d4d5996351a8ded1d5 | [] | no_license | 00mjk/ltaer | d5ecf83d18738ca0c50e5575ac063a636126ffd2 | 572fb1d9676b514de850e89ed984267ee7f5746f | refs/heads/master | 2022-12-10T01:04:38.781394 | 2020-08-31T13:12:46 | 2020-08-31T13:12:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 519 | rd | getRoadWorks.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getRoadWorks.R
\name{getRoadWorks}
\alias{getRoadWorks}
\title{Road Works}
\usage{
getRoadWorks(api_key)
}
\arguments{
\item{api_key}{API key for LTA's Datamall}
}
\value{
A dataframe containing the details for each current or planned road wo... |
178c11ad5867ccc0f757ccec2e5c3f5d905421ca | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.storage/man/backup_list_copy_jobs.Rd | 9ecd21ebdc1559e71c631b9747e75e087e4af8b8 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 3,109 | rd | backup_list_copy_jobs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/backup_operations.R
\name{backup_list_copy_jobs}
\alias{backup_list_copy_jobs}
\title{Returns metadata about your copy jobs}
\usage{
backup_list_copy_jobs(NextToken, MaxResults, ByResourceArn, ByState,
ByCreatedBefore, ByCreatedAfter, ByRes... |
9a049f7ca6c3729e2df984d17290834505b2d106 | 3bae8fce0fd6baddfb7c5d00f74ebb1cad0566d5 | /plot3.R | c9fec909d90978f51f01c90a6347269da6f54a44 | [] | no_license | withbiviz/datasciencecoursera | debd0eb71fc1c28ea1ba1d1a34bc392d7bc50bd7 | c9c3233c2fea11c14a27f2b69a7c84b39a63dd3b | refs/heads/master | 2021-01-21T22:05:25.106071 | 2017-09-30T21:48:50 | 2017-09-30T21:48:50 | 95,158,009 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 887 | r | plot3.R | f<-read.csv("household_power_consumption.txt",sep=";")
s<-f[(as.Date(f$Date,"%d/%m/%Y")>="2007-02-01" & as.Date(f$Date,"%d/%m/%Y")<="2007-02-02"),]
png("plot3.png",width=480,height=480)
plot(strptime(paste(s$Date,s$Time),"%d/%m/%Y %H:%M:%S"),as.integer(s$Sub_metering_1), ylab="Enerny sub metering",xlab="",type="l")
... |
a58bf6cb02d5f03bf336906528a7bb46471426ed | 7e2482a8dafe5968140797d1cc9d4cfd079f6d2e | /applicazione/readme.rd | 962b3a1ec7b6220d9a724faa4fce0d71f5be1ace | [] | no_license | redelmondo77/util | fca242cafc0c4f6eb72c9de53a107ac33461129c | 4d56c3f7429b7d9bcc2ab762b411dd9dfb00a508 | refs/heads/master | 2020-03-19T08:54:21.066845 | 2018-06-29T11:42:55 | 2018-06-29T11:42:55 | 136,220,449 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,777 | rd | readme.rd |
INSTALL
install
https://spring.io/tools/sts/all
open prospective git
clone repository git: redelmondo77/util
import maven project /applicazione
spring
maven>update project
HOME
md C:\dev\
md C:\dev\home\
md C:\dev\home\applicazione
md C:\dev\home\applicazione\config
md C:\dev\home\... |
54341803ad12381a26227595938e0e3fa216d31f | 885a1f38eb89a4d5ad3853c58ee6674a34d83f15 | /CEN180_in_t2t-col.20210610/quantiles/CEN180_quantile_frequency_chrProfilesPlot_circlize_v02.R | 6376e0513f30117b201609692c31e6880b36be46 | [] | no_license | ajtock/repeats | 62164d160ad553b0ad366e2269c1dea3953c8ea8 | e4c7b9d505bcaa7957f559ffd5c7f1db3e1002e4 | refs/heads/master | 2021-12-29T07:24:15.739614 | 2021-12-15T15:54:58 | 2021-12-15T15:54:58 | 162,921,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,884 | r | CEN180_quantile_frequency_chrProfilesPlot_circlize_v02.R | #!/applications/R/R-4.0.0/bin/Rscript
# author: Andy Tock
# contact: ajt200@cam.ac.uk
# date: 17.06.2021
# Plot windowed CEN180 frequencies for CEN180 sequences within orderingFactor quantiles
# Usage:
# /applications/R/R-4.0.0/bin/Rscript CEN180_quantile_frequency_chrProfilesPlot_circlize_v02.R 'Chr1,Chr2,Chr3,Chr4... |
d1e8d9c283151b5c86532b0c8df1f8255d5c97c3 | 6fac254783d83faeb0c20f2bf4f4ea4c39b93fe5 | /kick/kick_ordered_logistic_regression.R | 377aafe25b317e5b673e9bdc65ad5f576e389dbb | [] | no_license | KamonohashiPerry/stan100knocks | 29b7f8c9b5353300ef9ab9396629066f4dca68b8 | 0c606276484ac994e69323bf2affe75adf654eec | refs/heads/master | 2020-04-24T18:27:50.341869 | 2019-08-17T09:44:26 | 2019-08-17T09:44:26 | 172,180,297 | 0 | 1 | null | 2019-03-11T12:04:21 | 2019-02-23T06:31:01 | R | UTF-8 | R | false | false | 1,980 | r | kick_ordered_logistic_regression.R | library(tidyverse)
library(rstan)
library(GGally)
library(shinystan)
rstan_options(auto_write = TRUE)
options(mc.cores = parallel::detectCores())
wine_dataset <- read.csv("http://ieor.berkeley.edu/~ieor265/homeworks/winequality-red.csv", sep=";" )
y <- wine_dataset$quality - 2
x <- as.matrix(wine_dataset %>% select(... |
4329bc98a555b58af2521d7e1d770b9868225af8 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.management/man/organizations_describe_organizational_unit.Rd | 89ea23168a95345149a53e4dcb1560f614e4684e | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,141 | rd | organizations_describe_organizational_unit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/organizations_operations.R
\name{organizations_describe_organizational_unit}
\alias{organizations_describe_organizational_unit}
\title{Retrieves information about an organizational unit (OU)}
\usage{
organizations_describe_organizational_unit... |
abf78c5bab6710525644a5da6de16c0103f7ace9 | 6d0d99414cd9ff9cd2fd744372b4c88cd7975944 | /RScript_Cluster.R | 8a1931dd30b766888c33f6003c0377acd4a85882 | [] | no_license | snandi/Project_Stat760 | bbee2e76018eb6197afd4de409aeb18b182df5c6 | 4c0a3677640dadbb6f1dd4383da35815332f05c6 | refs/heads/master | 2021-01-17T14:07:16.894395 | 2016-06-14T23:55:35 | 2016-06-14T23:55:35 | 27,285,955 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 106 | r | RScript_Cluster.R | library(clusterSim)
data(data_ratio)
kmeans(data_ratio,data_ratio[initial.Centers(data_ratio, 10),])
|
8e30bc12cd80a3f506cb17a27865c39eae78801a | d73ed13605f35ff1b779e69eb394d41ca26f4a2b | /06_Corpus/chap6_poetryCorpus.R | 090c7cdd50ab6a04a802400174d2cddd5d8c0eef | [
"MIT"
] | permissive | piperandrew/enumerations | 41df8c15ee108da30defa0ef2e6b739949d9e247 | 9b6678f10fcc8d3ef18f115865be917c9fb56813 | refs/heads/master | 2021-01-25T14:32:39.031961 | 2018-09-07T16:11:59 | 2018-09-07T16:11:59 | 123,704,006 | 22 | 2 | MIT | 2018-12-02T02:09:38 | 2018-03-03T15:23:45 | R | UTF-8 | R | false | false | 137,111 | r | chap6_poetryCorpus.R | ### Chap 6 Corpus ###
#These scripts can be used to understand the shape of a poet's corpus and career
#Section 1 provides transformations necessary for the models used
#Section 2 concerns measures to understand "vulnerability".
#Section 3 concerns understanding "late style"
library("tm")
library("SnowballC")
library(... |
e15376c4fd46f18490202d97f32403582b123ff5 | d2f39a2258dbe6253bc28fd00717a67b131751f4 | /R/frequency_fns.R | 57636fb2925ae005aa21e67f136329c14c5f3293 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | andrewzm/MVST | 6e5d9d5c84ba0d28e38fdb69b12cfa8ba1bcc45f | 2bf0835e66e04e120f78fe8673afe3dd9d6f42c0 | refs/heads/master | 2022-09-29T23:40:39.048820 | 2022-09-15T21:37:50 | 2022-09-15T21:37:50 | 20,478,703 | 10 | 9 | null | 2018-10-18T14:50:36 | 2014-06-04T10:13:03 | R | UTF-8 | R | false | false | 12,256 | r | frequency_fns.R | #' @title RBF filter
#' @description Takes a 2-D set of disaggregated points and smooths them out by placing a radial basis function at each point and using
#' least-squares estimation for the ensuing weights. The constant trend is added on at the end.
#' @param data a data frame with fields \code{x}, \code{y} and a... |
0ae7edc569576e9a2eb253c18398b7be3985fd7f | 176c89d7658008231b2d5f9f87677da1bfe5aba9 | /xfl pilot plot.R | c77d51e771f8798bb6d596f7b082ae982d6eaf35 | [] | no_license | naymikm/XFL-public | fb0880e5e3068b9131091034867bce3b96a20dba | 6002fb24cb9562784f43ccbcd8d3057c515b8e36 | refs/heads/master | 2021-01-08T07:45:12.832011 | 2020-02-20T07:11:33 | 2020-02-20T07:11:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,922 | r | xfl pilot plot.R | library(ggplot2)
library(ggimage)
setwd('C:/Users/Owner/Documents/GitHub/XFL')
teams_df <- read.csv('teams.csv', stringsAsFactors=F)
PFF_df <- read.csv('epa/PFF grades.csv', stringsAsFactors=F)
pbp_df <- do.call(rbind, lapply(dir('epa/post-epa',full=T), function(i) read.csv(i, stringsAsFactors=F)))
off_epa <- aggre... |
656640a88cc30306725a0f0200cc4337fce5cc06 | 9d8061086e288b4a2ce5671301d67667351d44ff | /libraries.R | 16d059288910bff54dfad4ede395063a63ed4b84 | [] | no_license | maxsal/biostat629_project1 | f5944c1017dfb43a31624405917be7ea9efde5bc | 9b4c75bb353b73d3b8b9f7f7f07d5081544a1c47 | refs/heads/main | 2023-03-17T07:31:40.200831 | 2021-03-17T16:28:29 | 2021-03-17T16:28:29 | 348,234,789 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 410 | r | libraries.R | message("*beep boop* loading packages...")
suppressMessages(library(tidyverse))
suppressMessages(library(vroom))
suppressMessages(library(janitor))
suppressMessages(library(glue))
suppressMessages(library(RColorBrewer))
# suppressMessages(library(lme4))
suppressMessages(library(lmerTest))
suppressMessages(libra... |
92a136cd051599a2ba95a66f7dd30f3edd144787 | deb874f9d6934c81fe058f9b4edf7aba85065b52 | /Demo.R | 7e6e1221a2ba6abf8ee914a7f584f30b5d6ec714 | [] | no_license | melissadale/R-Demo-workshop | 69f65db05d63c436008c7e773c73f5909daaf699 | 0f7e3ef32752a9ae7a3d992afd09b6e921757828 | refs/heads/master | 2020-09-08T09:14:28.658072 | 2019-11-11T23:50:43 | 2019-11-11T23:50:43 | 221,090,667 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14 | r | Demo.R | sample(1, 10)
|
87e0a2777003b79b6fd1b4b9201dc22ffaf5c4f9 | 4b4a5da77bed2708f54b281c66c7ba0fd5deb036 | /RCT_WinRatio_Death_LVEF.R | 996b732026b76992b7e3c6cbf661bc88710d60f8 | [] | no_license | bizatheo/RCT-Simulation-v1 | f79351b330c4c9876fecec040afdae01db82f2ff | 39ea84491f10589391db3a961d39634bd4ecc022 | refs/heads/main | 2023-09-05T01:08:18.541334 | 2021-10-22T13:29:40 | 2021-10-22T13:29:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,130 | r | RCT_WinRatio_Death_LVEF.R | library(truncnorm)
library(survival)
library(BuyseTest)
options(scipen=10)
trial_simulation <- function(nSims, nPerGroup, maxtime, scale0, scale1, trt_lvef, seed) {
set.seed(seed)
trial<-numeric(nSims)
wr<-numeric(nSims)
wr_lcl<-numeric(nSims)
wr_ucl<-numeric(nSims)
wr_pvalue<-numeric(nSims)
wr_success<-numeric(nSim... |
b0514b5104427658a0928b23b22ce4ab96889770 | 477b91dacef6bd139e467a5e55c3fdc6586c7454 | /MTS.R | be4b9bd2c12619d63bd10c73a9222ecdba822f0c | [] | no_license | chanhyeoni/MTS_project | b83ef78b5d2138efb798e92cc2bf9080ac509333 | 18fd4eb270d8d698d320b3662d10c8ddd4204f44 | refs/heads/master | 2016-09-06T00:42:18.614679 | 2014-08-17T01:20:00 | 2014-08-17T01:20:00 | 21,401,060 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,754 | r | MTS.R | # the Mahalanobis-Taguchi System module
# Chang Hyun Lee
# created 2014.06.24
# This file contains the necessary modules in order to run
# the Mahalanobis-Taguchi System (MTS)
# necessary package should be installed
library(ggplot2)
library(data.table)
library(xlsx)
library(MASS)
mean_matrix <- function(dataFrame){
... |
c89c08ed27295a4605c6081c7d4d063159be69af | ae4b017ae346e94f62aeb5511c4b2bf624c0c7ed | /testy/GSO funkcje.R | f9036f9eea2606927e7a1ed0cf5a0f44c94139cb | [] | no_license | JKulpinski/Artificial-Intelligence | 08e579a30fbc7de15d073e71af56dd710922fc66 | a28c432ee3e6652937b8c923b010c6b712bbe1da | refs/heads/master | 2020-04-23T22:54:03.347285 | 2019-02-19T18:05:38 | 2019-02-19T18:05:38 | 171,517,076 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,060 | r | GSO funkcje.R | ackley.gso = function(x,y)
{
a =-(-20*exp(-0.2*sqrt(0.5*(x^2+y^2)))-exp(0.5*(cos(2*pi*x)+cos(2*pi*y))) + exp(1) + 20)
return(a)
}
rastrigin.gso <- function(x,y) # x[-5.12,5.12] min 0 at (0,0)
-(20 + x^2 + y^2 - 10*(cos(2*pi*x) + cos(2*pi*y)))
beale.gso = function(x,y) # [-4.5,4.5] min 0 at (3,0.5)
-((1.5-x+x*... |
bebd0bb0efffaa12670390214e1aad357206d971 | 44ffa5ec0467f425b2ce4f55e3795abd1b082ef5 | /R/conv.factor.2.char.R | 442ac9f25e8a1bd4b9ba24b3b08f352457025caa | [] | no_license | MikeMorris89/rmm | 147e2b8b08745a17c5075f7dd3786d1a2ba1fad1 | 03e6a8bfd5c3bf572c3cd3e6869368f6ab9ca5ac | refs/heads/master | 2021-01-12T06:37:26.595215 | 2017-02-11T14:19:08 | 2017-02-11T14:19:08 | 77,397,157 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 335 | r | conv.factor.2.char.R | #' conv.factor.2.char
#'
#' Convert factor columns to character columns.
#' @param df dataframe to run conversion on
#' @return dataframe with all factor columns converted to character.
#' @export
conv.factor.2.char<-function(df){
df[sapply(df, is.factor)] <- lapply(df[sapply(df, is.factor)], as.character, drop = F)
... |
6960a72fd607d96dcb1d074652722d095422eb92 | c42e4faa9a5a546fc8fbe7cc367383a14c2a7d8a | /그래프(미완성).R | 991a6d0b69e01d62ea40fba43bfc1e1878e216bb | [] | no_license | wisdom009/R | 4be82b65a9d1b79085cf40ced11173421f405548 | 202dce45c6faac6bd4563f96a40a09b09ae416ed | refs/heads/master | 2020-06-03T19:03:28.896231 | 2019-06-17T08:30:42 | 2019-06-17T08:30:42 | 189,162,812 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,419 | r | 그래프(미완성).R |
mtcars
str(mtcars) # 정보 간소화
ggplot(mtcars,aes(x=hp, y=mpg)) +
geom_point()
ggplot(mtcars,aes(x=hp, y=disp)) +
geom_point()
ggplot(mtcars,aes(x=hp, y=mpg)) +
geom_point(color="red") +
geom_line()
ggplot(kor,aes(x=이름,y=점수)) + geom_point()
sort=arrange(score,이름,과목)
sort
sort2 = sort %>%
group_by(이름)
mp... |
5071a5a3b71aec831060e5199b50bbab6d913d56 | 8c455002b17bced05e00ab992da04b4ed23baa07 | /05.1-Esti_UF-2000.R | 5f915677bffc89e0d45ae55a2140c7d674863533 | [] | no_license | Marcelquintela/Dissertacao | 7569b0b91017dd986de5c85264597064aac778d4 | 286d69cd9090091ed9041b0002413825b2589820 | refs/heads/master | 2022-11-05T23:53:18.626948 | 2020-06-22T15:32:53 | 2020-06-22T15:32:53 | 274,173,811 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,941 | r | 05.1-Esti_UF-2000.R | ## *************************************************************************##
# POBREZA NO NORDESTE BRASILEIRO #
# Aluno MARCEL DANTAS DE QUINTELA Mat. 2012303131-27 #
# Programa: ESTIMATIVAS #
... |
30d1ef7cfbacd57e8a03fb9b573ac4152c4cd563 | a3864f60b8dc3a3b9af5a42547c25470e38f7bf6 | /man/print.mvdalab.Rd | 3812e9171f0909198ba00708cc2e7684a8d9dc79 | [] | no_license | cwmiller21/mvdalab | c29ffb52a41a969a1c2701ccab77901afed2fbd9 | e9f1bea960cdf7dd2d0472581f9fe97c30bd6d4f | refs/heads/master | 2021-01-18T05:24:46.133643 | 2016-02-29T10:54:45 | 2016-02-29T10:54:45 | 52,802,389 | 1 | 0 | null | 2016-02-29T15:38:22 | 2016-02-29T15:38:22 | null | UTF-8 | R | false | false | 818 | rd | print.mvdalab.Rd | \name{print.mvdalab}
\alias{print.mvdareg}
\title{Print Methods for mvdalab Objects}
\description{Summary and print methods for mvdalab objects.}
\usage{
\method{print}{mvdareg}(x, ...)
}
\arguments{
\item{x}{ an mvdalab object }
\item{\dots}{ additional arguments. Currently ignored. }
}
\details{
\code{print.mvdalab}... |
ab7f4058bb7f43d977ae8001d37138c01a59b150 | 5ca4fee7458cf53b14b05f20c6908d7e1a2e947b | /Xt20.R | 0854cea8110e3056a3ff5171dc7ff68d7b32bdd6 | [] | no_license | zwangcode/R_at_UC | 5c259de5cb40a6902016dc1338be1b933ba35849 | c1ae937673e404e61999c3e8c6b47061c11827c7 | refs/heads/master | 2021-01-18T15:06:04.688011 | 2016-03-18T19:10:56 | 2016-03-18T19:10:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 59 | r | Xt20.R | 11.5
11.6
11.6
11.7
11.5
11.6
11.5
11.6
11.5
11.5
11.5
11.6 |
1f9f3aac9672d73b10ed32296fcf3480a6b4340c | 09176f958c9f3ac9a3273d6a16e426d379a0ae40 | /importing_held_data.R | 85cf5805fbdc13c80382152d7d8594a3c107433b | [] | no_license | jbakerr/CIS2017-18 | bb8d202bb06c0673610f3a78defd857631e957d1 | 0051ee2cf2284583bb80a9e9fb6664649ab59ed7 | refs/heads/master | 2020-03-09T12:31:15.687034 | 2018-07-24T18:44:39 | 2018-07-24T18:44:39 | 128,788,186 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,343 | r | importing_held_data.R | grades <- readWorksheetFromFile('Student_Metric_Import_Template_Final copy 2.xlsx', sheet=7, header = T, startRow = 1)
shepard_attendance <- readWorksheetFromFile('Student_Metric_Import_Template_Final copy 2.xlsx', sheet=1, header = T, startRow = 1)
grades[grades$Core.Course == "Eng/Lang Arts/Reading/Writing", 1] <- "... |
fb248e3c3c0542471b75f2c292a0b3e249cd0dda | 2ee4b1f2ac564f9bc894e4f5e36dc88360d7fe9a | /R/Visualization.R | 61b0923f3b5af36cda136e8cde673ee7692d4a40 | [
"MIT"
] | permissive | sjanssen2/MetaLonDA | 9db9a5315875c7f1b6e5afdc1b1eda6f539b40c5 | 2ad94285d2a4cc7ca6af749f3539db37b4f1d35e | refs/heads/master | 2020-07-14T00:18:52.912013 | 2019-04-13T09:07:44 | 2019-04-13T09:07:44 | 205,187,456 | 0 | 0 | NOASSERTION | 2019-08-29T14:54:17 | 2019-08-29T14:54:17 | null | UTF-8 | R | false | false | 15,553 | r | Visualization.R | #' Visualize Longitudinal Feature
#'
#' Visualize Longitudinal Feature
#'
#' @param df dataframe has the Count, Group, ID, Time
#' @param text feature name
#' @param group.levels The two level's name
#' @param unit time interval unit
#' @param col two color to be used for the two groups (eg., c("red", "blue")).
#' @par... |
73b4151e37627644c049ed0b4172306555ce0606 | 2c6bdee82bc3df0a9ddf65e55e2dc4019bd22521 | /SlowAssoc/ui.R | c6b638c44b09df2ff8a67b88f5896c095bfdad42 | [] | no_license | homerhanumat/shinyGC | 0eb1b55bcc8373385ea1091c36ccc1d577dc72fb | dc580961877af2459db8a69f09d539f37fd6e2ee | refs/heads/master | 2021-07-11T18:20:53.862578 | 2021-06-21T19:18:32 | 2021-06-21T19:18:32 | 37,830,825 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,101 | r | ui.R | library(shiny)
library(shinythemes)
library(rhandsontable)
# no more than this many sims at any one time
simLimit <- 10000
navbarPage(
title = "Chi-Square Test for Association",
theme = shinytheme("cerulean"),
tabPanel(
title = "The Test",
fluidPage(
sidebarPanel(
conditionalPanel(
condition = "... |
9cb5302d9877b0b9a602942b190c179f651a55b0 | e4ee3ea6955325370c2e95703483baa75009c8a5 | /functies.R | 4c7bb0732f8d72cf46754dd1b33221caef0bfe3a | [] | no_license | FrieseWoudloper/steekproefgrootte | 823cb825cb7a6db97d1d520c7a4de0f48766de64 | 30a30df6d19fe6d43450a06e4bd5268d6e838c40 | refs/heads/master | 2022-11-14T14:48:21.424489 | 2020-07-06T09:54:01 | 2020-07-06T09:54:01 | 277,503,930 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,494 | r | functies.R | bereken_resultaat <- function(p = 0.5,
conf_level = 0.95,
gewenste_nauwkeurigheid = 0.05,
populatie = 1000000){
z_laag <- qnorm((1 - conf_level) / 2, mean = 0, sd = 1)
z_hoog <- qnorm(conf_level + (1 - conf_level)/2, mea... |
06ecff1444fe33d4f166335bac018b9c1ed1e6a0 | cd85a75e0b179c4736a63bc1d870eced7fd3a53f | /02_figures.R | 2962327411120291bd79e821ddd663af85f75b73 | [] | no_license | jennybc/chicken-wings | ddaa9e2eef2c9bbf4bb32e6ba239198d81543511 | 63455a7c3626a8f1d0376e1ceebbaaa13022c20b | refs/heads/master | 2020-04-08T21:12:03.018199 | 2018-11-30T19:42:54 | 2018-11-30T19:42:54 | 159,734,172 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 657 | r | 02_figures.R | library(tidyverse)
conflicted::conflict_prefer("lag", "dplyr")
wings <- read_csv("chicken-wings.csv")
wings <- wings %>%
mutate(
wing_cost = price/count,
marginal_wing_cost =
(price - lag(price, default = 0)) / (count - lag(count, default = 0))
)
# sanity check
ggplot(wings, aes(x = count, y = pric... |
5f330df8103e12ce1785a783a04b97e7bccb46bd | 8dff28544e8dc1ba210cfdb22a4e82ce97a5d30b | /Course W3.R | 475b9fae6faf222823eb754dbd6ba7fee1d97b9a | [] | no_license | GaelleLouise/GettingCleaningData | f5f4e56b5c1e07c16ffba184f3afce66aca5b8fa | 954f27bacac24bede45e2b756ebfef4366b4d348 | refs/heads/master | 2023-01-29T07:36:53.811404 | 2020-12-10T14:56:19 | 2020-12-10T14:56:19 | 319,390,870 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,863 | r | Course W3.R | # data from the restaurants in Baltimore :
if(!file.exists("./data")) {dir.create("./data")}
fileURL <- "https://data.baltimorecity.gov/api/views/k5ry-ef3g/rows.csv?accessType=DOWNLOAD"
download.file(fileURL, destfile = "./data/Restaurants.csv")
dateDownload <- date()
# stockage des données dans un df :
restData <- re... |
50e2ee98fe536a493da8cb9c370ceb1cdcfbf75e | 284503d62ba7ead77260f2e119861d0a8359262c | /R_Programming/Assignment_3/best.R | f031ed634bf7c2f10af70f0cb564a2b8b217b9d3 | [] | no_license | kunjzk/datasciencecoursera | 846098ff61dba0536e300de4bed9da8ef036351c | 787169c25312b92524234b31bcdefcaa6bdd1015 | refs/heads/master | 2022-12-02T19:54:34.735777 | 2020-08-11T16:08:05 | 2020-08-11T16:08:05 | 263,391,605 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,116 | r | best.R | best <- function(state, outcome){
# useful variables
state_column <- 7
hosp_name_column <- 2
# read data, if the specified column name is valid
if (outcome == "heart attack"){
outcome_column <- 11
}
else if (outcome == "heart failure"){
outcome_column <- 17
}
else if (outcome == "pneumonia"){... |
f4b28a2e45d34eb2ca42d63efbcb877f198a2445 | 0f5c873832940a95e25026801109ada880049c91 | /cachematrix.R | bb561176b57b77fb7ef957b3fe368d622d6609c3 | [] | no_license | t-young/ProgrammingAssignment2 | ef57ef17d4b3d6d3946699048bc7ec66e43b7bf2 | 3379c822df7fbcccfb1b11d95285b4e92aa1756c | refs/heads/master | 2020-12-03T05:13:55.988835 | 2016-05-28T07:05:55 | 2016-05-28T07:05:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,348 | r | cachematrix.R | ## cachematrix.R
##
## File contains two functions that are used for computing the
## inverse of a given matrix and caching its results.
## Function creates a list that contains accessor/mutator functions
## for the given matrix and its inverse.
##
## Parameters:
## x - Matrix to have its inverse cached.
##
## Return... |
2b24cd811dc840eb48c013d618cf95062df2978d | bef05db616ba8d3825e2fcd2835fce0b56e355c1 | /man/hw08.Rd | f220fc274c6f437f89dc60a0124d9f6e065207d3 | [] | no_license | namanpaul/hw08 | 6962be9f31f0d560b39fe16a3206c812a72821c4 | 2b080713a09813f3e37d7670e920cbe0f63b2754 | refs/heads/master | 2021-01-10T06:56:07.913538 | 2015-11-23T00:19:33 | 2015-11-23T00:19:33 | 46,464,475 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 202 | rd | hw08.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/hw08-package.r
\docType{package}
\name{hw08}
\alias{hw08}
\alias{hw08-package}
\title{hw08.}
\description{
hw08.
}
|
e8aafce747b3ff38da0791fec57b9632716c309b | f76222d220a09d2141914c95ece50a7c6f707089 | /10th_act/0718/Logistic Classification/Code.R | 29b7b38c4797c5bc74d981fae881cebd01439e3e | [] | no_license | kynk94/Tobigs | a06629b138c04230548626ab2c1e3a682641b791 | ebe60431bb9db6bf3cf369f371fc7f372427c1df | refs/heads/master | 2020-05-16T19:41:39.426349 | 2019-06-04T06:39:03 | 2019-06-04T06:39:03 | 177,414,620 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,205 | r | Code.R | setwd("C:/Users/Owner/Dropbox/tobigs10/1주차 수업")
rm(list=ls())
#1
library(boot)
data(nodal)
str(nodal)
?nodal
table(nodal$m)
rd = nodal[,-1] #m이 전부 1이니까 지움
str(rd)
table(rd$r)
model = glm(r~., data = rd, family = binomial)
summary(model)
predict(model) #output은 logit
sigmoid = function(x) {
return(exp(x)/(1+exp(x)... |
4da94687dceaaf17713fc77eb45185309d50789e | fb21cc60eb492ecf70c6a74f63eeaf8be96c6239 | /man/ons_download.Rd | 5cc025e66bd7e1c6985d54cd24c29f54b6448409 | [
"MIT"
] | permissive | Lextuga007/monstR | 5740bd78d64074e8807a73b5df4e728e09edae05 | 3444c73711c79be1ae04eb1c03b005d1f444813b | refs/heads/master | 2023-05-26T23:18:39.778873 | 2020-11-16T22:07:13 | 2020-11-16T22:07:13 | 284,761,064 | 1 | 0 | MIT | 2020-08-03T17:15:59 | 2020-08-03T17:15:59 | null | UTF-8 | R | false | true | 380 | rd | ons_download.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ons.R
\name{ons_download}
\alias{ons_download}
\title{Download}
\usage{
ons_download(metadata, format = "csv")
}
\arguments{
\item{metadata}{data describing the download}
\item{format}{a valid format for the download}
}
\description{
\code{o... |
102b0aaa9b6b3c0670aba069dbe9e0918c90be2c | d23f973a6d637a3778eca36788a1c257d6501479 | /utility_simulation_app/app.R | 0d2108b2e6bf47a2cdb3efe49f48568f5ef52933 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | bbest/consmap-prep | 41a2b04ccc9ed208a835cbf83166a819a3e0bcb9 | 6de80d8c40f6075de26e1f2186d0495b36510815 | refs/heads/master | 2021-01-01T17:43:16.402391 | 2019-03-08T04:38:23 | 2019-03-08T04:38:23 | 42,673,812 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,709 | r | app.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
# setwd('~/github/consmap-prep/utility_simulation_app')
suppressPackageStartupMessages({
library(shiny)
library... |
bf443c7d1b75c58c9fd5bf2dac25778e143d2961 | fdab0c18eab28477d0980723c5ac5b4ba10c506f | /pictures/COPIES1HQ/test.r | 8f72f499a3f6b7fe039e226f6170d77a96be3016 | [
"MIT"
] | permissive | MIT-Informatics/PreservationSimulation | 58b53595841c39e1fe00a05241be43ed0bcf6430 | 38c6641a25108022ce8f225a352f566ad007b0f3 | refs/heads/master | 2021-08-25T10:35:46.066554 | 2021-08-24T20:17:13 | 2021-08-24T20:17:13 | 17,369,426 | 9 | 0 | NOASSERTION | 2021-03-20T02:55:37 | 2014-03-03T15:03:30 | R | UTF-8 | R | false | false | 304 | r | test.r | # Get the data into the right form for these plots.
alldat <- fndfGetGiantDataRaw("")
newdat <- alldat %>%
group_by(copies, lifem, auditfrequency, audittype, auditsegments
, glitchfreq, glitchimpact) %>%
summarize(mdmlosspct=round(midmean(lost/docstotal)*100.0, 2), n=n()) %>%
filter(copies==5)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.