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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ec6640ef492ea31d32b7a23d95621ca2bb149de2 | 98599accc936a1e3327d011603a5eea4bbc28258 | /hw2 b03801053.R | 1d895a50ff562f452ffe86d38c1053cd2c81d24e | [] | no_license | janeru/b03801053 | 1a059f87314ce5533e348108eb6cac8806dac239 | 93c19d5989436dea7a1e98a5e54c710185f3adb7 | refs/heads/master | 2020-03-21T16:24:40.323327 | 2018-05-10T03:35:33 | 2018-05-10T03:35:33 | 103,477,980 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,884 | r | hw2 b03801053.R | Titanic <- read.csv(file.choose())
library(dplyr)
dd <- Titanic
#刪除na資料
dd <- dd[!is.na(dd$age),]
dd <- dd[!is.na(dd$fare),] #剔除資料中fare=9999的擔保人
#資料類型整理
#gender,survival <- 轉換成factor fare<- 比例 age <- 區間資料
#統計敘述
gender <- factor(dd$gender)
table(dd$fare)
dd$fare <- cut(dd$fare, c(0,150,600))
#Q1.活著且class階級最高的人從事商... |
fcbeb62b8949199e831a014f19a0701fe60c9f30 | f69bcd76b3308c3847135442719c49688b03fed3 | /man/compareGCMMfit.Rd | 8dc760cb82de31ad2786b645d1e430fc3352cb75 | [] | no_license | cran/activityGCMM | 8922e39b4542cedcbe0a1d117d7cf8291e76dc82 | db777426190dd415c6ddd485844189d183395ab6 | refs/heads/master | 2023-06-02T21:47:56.691319 | 2021-06-14T18:20:02 | 2021-06-14T18:20:02 | 348,029,285 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,410 | rd | compareGCMMfit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ModelFitFunctions.R
\name{compareGCMMfit}
\alias{compareGCMMfit}
\title{Compare fit of GCMM models based on circular residuals}
\usage{
compareGCMMfit(model1, model2, sample = 10000)
}
\arguments{
\item{model1}{Object of class \code{GCMM} wit... |
3fb362252152a0b470b1244f3ab68944cd6b3b5d | 447b1e30413599ff5306408b9383937f5c1bef36 | /man/Wald.Rd | c731922f18cfdf10e3f72db6a9491f495eb4e394 | [] | no_license | twolodzko/extraDistr | 874768df1d0c1af75924be8f2cc872e222c3bb6d | 6cdbe85a98c3a34d8360b8c0ffe6eb78517e0fc3 | refs/heads/master | 2022-11-11T03:35:25.808964 | 2022-11-08T10:41:21 | 2022-11-08T10:41:21 | 55,365,786 | 41 | 10 | null | 2022-06-25T20:24:44 | 2016-04-03T19:51:19 | C++ | UTF-8 | R | false | true | 1,998 | rd | Wald.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wald-distribution.R
\name{Wald}
\alias{Wald}
\alias{dwald}
\alias{pwald}
\alias{rwald}
\title{Wald (inverse Gaussian) distribution}
\usage{
dwald(x, mu, lambda, log = FALSE)
pwald(q, mu, lambda, lower.tail = TRUE, log.p = FALSE)
rwald(n, mu... |
cdb161a4cd82a8b67602c2448bc86d69841ed477 | 55a755507faa59696cce65542a62a9a90ce2b472 | /man/simulateSpectra-class.Rd | 03f0c026efca61f91cedffe412d5a4daafcfc754 | [] | no_license | asmitapoddar/BayesSentinel | ac9cf60d1276e41ad595217908488d25dc5ae925 | f823d184d82c1d8eb6323f81eea0d873ebb69085 | refs/heads/master | 2020-03-22T17:42:45.140743 | 2019-04-01T08:10:14 | 2019-04-01T08:10:14 | 140,410,874 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,066 | rd | simulateSpectra-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulateSpectra.R
\docType{class}
\name{simulateSpectra}
\alias{simulateSpectra}
\alias{simulateSpectra-class}
\title{Create a list with a simulated data set of spectra}
\usage{
simulateSpectra(...)
}
\arguments{
\item{...}{any paramaters to ... |
64687872557638197c9d55eda8a32ef221df4067 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Amendola-Ricca-Truszczynski/selection-hard/ctrl.e#1.a#3.E#138.A#48.c#.w#7.s#44.asp/ctrl.e#1.a#3.E#138.A#48.c#.w#7.s#44.asp.R | de9c44b91a53c3edf83561f2cc2d25d64a705fe2 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 91 | r | ctrl.e#1.a#3.E#138.A#48.c#.w#7.s#44.asp.R | 7d5c47952c33a2e0f5cab863954a4195 ctrl.e#1.a#3.E#138.A#48.c#.w#7.s#44.asp.qdimacs 7913 23182 |
4bacd425fd7c1b46eb65dc8f40689796fdfb5c2b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MarginalMediation/examples/mma.Rd.R | 246e22a25248cb66eb678673875607958f002219 | [] | 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 | 611 | r | mma.Rd.R | library(MarginalMediation)
### Name: mma
### Title: Marginal Mediation
### Aliases: mma
### ** Examples
## A minimal example:
library(furniture)
data(nhanes_2010)
bcpath = glm(marijuana ~ home_meals + gender + age + asthma,
data = nhanes_2010,
family = "binomial")
apath = glm(home_meals ~ ... |
1e9496eb999d51e64f41713e2ee67c594742e714 | 43e1c5ff7d04c3e048bb8b29ad3a4af86a519f91 | /MCEM_Stopping.R | 8c5a7a74b38a0fc5a395e0b7f2baa166ab3df8bb | [] | no_license | hometownjlu/mcem-drug-safety | 84f27f1597e4076813e202e3c64bfe37c7a2920a | 53f373c260450d1e5aea50503ab0069aed969a1c | refs/heads/master | 2022-01-05T00:59:06.638811 | 2019-05-10T23:23:40 | 2019-05-10T23:23:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,367 | r | MCEM_Stopping.R | setwd("~/data/off_label/assignDrug2012")
rm(list = ls())
# function as.PhViD
as.PhViD = function (DATA.FRAME, MARGIN.THRES = 1)
{
data <- DATA.FRAME
data[, 1] <- as.factor(DATA.FRAME[, 1])
data[, 2] <- as.factor(DATA.FRAME[, 2])
data[, 3] <- as.double(DATA.FRAME[, 3])
coln <- names(data)
names(data)[3] <-... |
95f86aa1fa3a1834559c2908d9435a6e007ce5f7 | cd34c9b4a9e7e0994d177013c204f46d63445ba4 | /time_series_analysis_r/Time Series Analysis.R | e16ef3b10928144a838f89a1bc1d8e81344c6337 | [] | no_license | Muthukumarantce/datacamp_python | 3d84859932a37d624a1eeda2fdb2c0f7cffc2582 | a8c53296b07e3fcb0e713fa8313e2c947095825b | refs/heads/master | 2020-09-17T05:14:26.401118 | 2020-03-28T01:24:47 | 2020-03-28T01:24:47 | 224,001,458 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,501 | r | Time Series Analysis.R | # TIME SERIES - SEQUENCE OF DATA IN CHRONOLOGICAL ORDER
# IT IS AN OBJECT WHICH HAS TIME AS INDEX AND REPRESENTED IN X AXIS
"""
Basic Models
White noise
Random walk
Auto Regression
Simple Moving Average
"""
#EXPLORING RAW TIME SERIES
# Print the Nile dataset
print(Nile)
# List the number of observati... |
11b34aceacc33752a8ea4d1d17b935ea59f95aee | 43a4e09bce1dd2da2c9f79db4096109a85e0731b | /tests/testthat/test-services.R | 016630f1e45604da73d756b8bccba777c72130ab | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | fabianazioti/rwlts | 5668dfaa15465e6f2abb14d608ff189b0d567d9d | fc39cd579ddb17214dc8ecc61d4e9790ecf75ddc | refs/heads/main | 2023-07-16T02:44:00.755220 | 2021-09-03T12:05:12 | 2021-09-03T12:05:12 | 319,329,913 | 0 | 0 | MIT | 2020-12-07T13:33:58 | 2020-12-07T13:33:58 | null | UTF-8 | R | false | false | 3,105 | r | test-services.R | context("test_services")
testthat::test_that("services api", {
vcr::use_cassette("services_api", {
# skip cran check test
testthat::skip_on_cran()
wlts_bdc <- "https://brazildatacube.dpi.inpe.br/wlts/"
#---- list collections test
# /list_collections - OK
testthat::expect_equal(
objec... |
345114718691612c4d3907992ca87edb810e2d74 | 8b66fb29a36f182f2907f3d87967f41854d576bb | /analysis_norm.R | 246c43fe82015426c635b90bae625684afe35fb0 | [] | no_license | kischacht/doping-olympia | 3697655fe1005ef8abb1fb7a045b2af7646dfdf0 | fe622e6966d08f3939fce8a7bbf822a230d3a70b | refs/heads/master | 2020-12-07T00:31:41.792177 | 2016-08-17T12:53:31 | 2016-08-17T12:53:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,162 | r | analysis_norm.R | setwd("/home/kira/ownCloud/BR Data/doping olympische spiele")
setwd("/Users/administrator/Desktop/doping olympische spiele")
library(dplyr)
library(ggplot2)
cases <- read.csv("IAAF-doping-cases-clean-deutsch.csv", stringsAsFactors = F, encoding="utf-8")
#athl <- read.csv("participants-by-event.csv", quote="", encoding=... |
48e4f365eec64ce28bf44404ba9c782213c578ef | 38088096f84050aece0bc1d73b33b7d845286bba | /man/wrapTTest.Rd | bd17fbdd5b4b770c6bcd57fc12fc3415c7b51723 | [] | no_license | Sandy4321/sigr | 2ea94d62e82cd89eaeed3bf570546a07d03b27cf | 2129bede56acf7673710893eaf400d4a6dc891ec | refs/heads/master | 2021-01-14T02:35:47.657148 | 2017-02-10T01:21:54 | 2017-02-10T01:21:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 427 | rd | wrapTTest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TTest.R
\name{wrapTTest}
\alias{wrapTTest}
\title{Wrap t.test (difference in means by group).}
\usage{
wrapTTest(x, ...)
}
\arguments{
\item{x}{numeric, data.frame or test.}
\item{...}{extra arguments}
}
\description{
Wrap t.test (difference... |
3adc5e5e1facbdd2fd2e12ea9381821cba466181 | eb4e032c9e4e6f281cc58efbe2f12cd9f6242b70 | /MyFirstRscript.R | 2b928b1ec42f3bad7a55c3863e00231f5bf8080e | [
"MIT"
] | permissive | oliverphillpott/INSEADAnalytics | a5e70d9a90e77748c07f6bd0e7788c7c68325c79 | 339ebe8205a3bf4374fdcb1b556dd34e5f500a8c | refs/heads/master | 2023-02-28T14:15:44.786830 | 2021-02-05T07:05:06 | 2021-02-05T07:05:06 | 327,044,181 | 0 | 0 | MIT | 2021-02-02T20:47:53 | 2021-01-05T15:44:00 | HTML | UTF-8 | R | false | false | 35 | r | MyFirstRscript.R | # My R script
print("Hello World")
|
0c56d4c7aab50bbdf4939559d59fa68c9d6987ef | 6ff1395ddeedf486f7af75c21cbf546e0622b6c1 | /man/select_race_first.Rd | 65f6211c60817f294dd7f98433ff11c1f0fbda88 | [] | no_license | demographer/censocdev | 3add321053ba8b4de2595a34ddb8c51519962234 | 6387f4b8f63d047835929cb59c03144f463db90e | refs/heads/master | 2022-07-18T11:03:06.062343 | 2020-05-13T22:37:12 | 2020-05-13T22:37:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 386 | rd | select_race_first.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/select_race_first.R
\name{select_race_first}
\alias{select_race_first}
\title{Select race}
\usage{
select_race_first(data = numapp)
}
\arguments{
\item{numapp}{path to the NUMAPP files}
}
\value{
data.frame with first race for persons with mo... |
1495b2c3ed808705a0ac2f5ee57ea720606d9cd7 | 65328e35d3153a3b139c4be85f3881bfa5960002 | /stepFilter/lasso_plot.R | cb2381028af52714a52a84308eee8adca1368d43 | [] | no_license | qingyao/CNV_evaluation | 685fb62ee5409daa7fc1a9eff1dec627c573e21b | 136d83e15f58a1af3a80df7b6e01e0e1c36a146f | refs/heads/master | 2021-09-04T03:57:14.465576 | 2018-01-15T15:45:01 | 2018-01-15T15:45:01 | 108,848,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,623 | r | lasso_plot.R | setwd('/Users/pgweb/arraydata/aroma/EvaluationPack/')
library(R.utils)
library(reshape2)
library(ggplot2)
lmds <- c(0.3,0.5,1)
gps <- c('1e4','5e4','1e5')
conds <- length(cid)*length(lmds)*length(gps)
segCompare <- data.frame()
for (cid in cids){
for (lmd in lmds){
for (gp in gps){
before_lasso <- 0
b... |
d131b8c6605e91931fb5a7f01a78ce901223aa81 | af0185f7ca10731e24ef5979f996059ff6018ed6 | /man/vartrack_samplesize_detect.Rd | 6cf9bc4dac60eda44d161c2385fcf42d7467d300 | [] | no_license | HopkinsIDD/phylosamp | d5d81a4e6df0615c82bccf2a9ac8ddd278ddf77f | d43c73bfa108ed03cb5e6330518fd5b3fc1d74c2 | refs/heads/master | 2023-05-25T05:04:12.240279 | 2023-05-23T22:02:12 | 2023-05-23T22:02:12 | 266,897,409 | 12 | 2 | null | 2023-05-23T14:23:44 | 2020-05-25T23:07:33 | R | UTF-8 | R | false | true | 2,642 | rd | vartrack_samplesize_detect.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vartrack_samplesize_detect.R
\name{vartrack_samplesize_detect}
\alias{vartrack_samplesize_detect}
\title{Calculate sample size needed for variant detection given a desired probability of detection}
\usage{
vartrack_samplesize_detect(
prob,
... |
bf0646bfc3e8711f9da9463922c31f7459f9a688 | 7606bf764d87cad9e50287dafbb87dbf7b8e99fe | /R/bemanian_beyer.R | 727b6984ac588accd538bb6d62def76c2a67ef02 | [
"Apache-2.0"
] | permissive | idblr/ndi | 50958411b3d767b2991ef50ac4cf1dd4ceace097 | 39cd672c79c674bea3a113649299af69da614685 | refs/heads/main | 2023-04-18T07:27:54.630066 | 2023-02-01T15:57:23 | 2023-02-01T15:57:23 | 521,439,746 | 15 | 1 | NOASSERTION | 2022-12-15T21:06:20 | 2022-08-04T23:07:13 | HTML | UTF-8 | R | false | false | 14,811 | r | bemanian_beyer.R | #' Local Exposure and Isolation metric based on Bemanian & Beyer (2017)
#'
#' Compute the aspatial Local Exposure and Isolation (Bemanian & Beyer) metric of a selected racial/ethnic subgroup(s) and U.S. geographies.
#'
#' @param geo_large Character string specifying the larger geographical unit of the data. The defaul... |
1bbde0a850c315ed971d28178f59f6118bee9f53 | d96e1db65f62acb0a82aa2a51d4b06ead9d3f75f | /vdrs_sudors_2019.R | dfdc3a1503071f4555296fcedf725b2118510b3a | [] | no_license | injuryepi/vdrs_misc | a7485ba2ac184720765b1e8150d7dd7495cf94d3 | 686a435ba890c9220fa98519ce7091eb7ccc893e | refs/heads/master | 2020-05-21T00:25:20.599320 | 2019-06-17T23:42:06 | 2019-06-17T23:42:06 | 185,826,227 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 14,980 | r | vdrs_sudors_2019.R |
# R packages to load ------------------------------------------------------
# Store(objects())
# SOAR::Attach()
library(SOAR)
suppressMessages(library(tidyverse))
suppressMessages(library(Hmisc))
suppressMessages(library(lubridate))
library(injuryepi)
library(overdoser)
library(rvdrs)
# Reading the data -------------... |
5bd3da3ee1eb5c513f27135463ee65269ea5209a | 9c9522758187c1df573b50f974f63657d982b9b3 | /Scripts/Processing/Testing out tidycensus.R | 045acabbe4a4e796fa8043c6e6b6c64af1a00ac1 | [] | no_license | ajkirkpatrick/Low-income-energy | 97040000f9ce47500c45b111d81df2939136e691 | 205f92c30b6796a5ececc3ea8268dc22e59ac2f6 | refs/heads/master | 2023-05-02T16:56:17.209269 | 2021-06-03T12:36:54 | 2021-06-03T12:36:54 | 156,229,194 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,657 | r | Testing out tidycensus.R | ###### Explore tidycensus #####
## At the moment, must install from gitHub
library(devtools)
dev_mode(TRUE)
# install_github("hadley/ggplot2")
library("ggplot2", lib.loc="~/R-dev")
# dev_mode(FALSE)
require(tidyverse)
require(sf)
library(viridis)
library(rvest)
require(tidycensus)
options(tigris_use_cache = TRUE)
... |
2233d71de71a630ac96c571241d58a4fe50d1129 | 1b3cfee1a5f45617b075e590e6facac87dc489ce | /man/land.surface.Rd | d57ace097a7c969a8f6693a5d488bc517c35c624 | [
"CC0-1.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | jfisher-usgs/wrv | 30b5de6a1ac22dafff21eb762b7d4a5f894e2e7a | 32249a78f5dd9ad978da08f8b4bd2e28c53cd0d5 | refs/heads/main | 2022-03-09T20:02:46.180583 | 2020-06-30T17:48:16 | 2020-06-30T17:48:16 | 18,356,349 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,349 | rd | land.surface.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{land.surface}
\alias{land.surface}
\title{Topography of Land Surface}
\format{
An object of SpatialGridDataFrame class.
Each cell on the surface grid represents an elevation in meters above the
North American V... |
030574a1d7f152a5fa1cbb837c39f7f1f5306dbf | 7d036925bfec97d40e0763440fcb44bb30d068ae | /preprocessing_functions.R | b8b7e040dfa083c3001678cdd90d855a87218822 | [] | no_license | dpjmullins/CourseraDataScienceCapstone | 8466651cf34611efb403e32840aa57dcbc404385 | e0541dcc110c1ad63199c555ec69280cb90a8730 | refs/heads/master | 2022-02-12T07:08:51.245704 | 2022-01-27T10:14:00 | 2022-01-27T10:14:00 | 205,106,305 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,063 | r | preprocessing_functions.R | ## Functions
library(readr)
library(tm)
badwords <- read_lines(file = 'unsavoury_language.txt')
word_contractions <- read_csv(file = 'word_contractions.txt')
### Functions to chance specific patterns to blanks or spaces
toSpace <- content_transformer(function (x, pattern) gsub(pattern, " ", x))
toNothing <- content_... |
bda666f42d334c01c28f097c46ce65e9d3cbf132 | 422821c4d4c0d89c9ea90ac66ae7750699dcec2c | /R/compute_field_sun_angle.R | be6ab471d749a66bbc5f3a811b32ea1dfb1420b0 | [] | no_license | han-tun/fvcom.tbx | 64cb71f2f92b5e86df469f4e87162d9c9f306870 | e371b060f1438b56b56b4bfa46a5080fd9672d98 | refs/heads/master | 2022-12-25T05:46:39.322115 | 2020-10-14T14:31:08 | 2020-10-14T14:31:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,147 | r | compute_field_sun_angle.R | #' @title Compute sun angle across an FVCOM mesh
#' @description This function computes the sun angle across a spatial mesh on the dates/times specified. To calculate sun angle, the user must specify a dataframe containing node IDs and associated coordinates across which sun angle is evaluated. (Sun angle, a scalar var... |
bfc6391d83ef9b0d4343a62007661e15de6b9a09 | 3a7dc9233fbf64759b5234a18f45a66f8e1cfd96 | /man/add_census_slot.Rd | 2c3d239ac48f5169887cbec4f07904cd26e4a34f | [
"MIT"
] | permissive | whtns/seuratTools | 2b3328ce9cf7f3dcdddd03786a8baf87d8e2d646 | 39b6cf4e73f9fa8a3f1a85330cc0bcbf9c302297 | refs/heads/master | 2023-06-23T04:33:46.584459 | 2023-06-22T22:50:58 | 2023-06-22T22:50:58 | 179,151,711 | 9 | 0 | NOASSERTION | 2021-08-17T20:20:43 | 2019-04-02T20:14:56 | R | UTF-8 | R | false | true | 324 | rd | add_census_slot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/monocle2.R
\name{add_census_slot}
\alias{add_census_slot}
\title{add census assay to a seurat object}
\usage{
add_census_slot(seu, assay = "gene", slot = "counts")
}
\arguments{
\item{slot}{}
}
\description{
add census assay to a seurat objec... |
bef94af656f3d665b9ca2363920324fa02f492c7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/oro.nifti/examples/audit_trail.Rd.R | e69166b76d3aeab8785b99b763577907fd5a2f64 | [] | 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,685 | r | audit_trail.Rd.R | library(oro.nifti)
### Name: Audit Trails
### Title: Facilitate the Creation and Modification of Audit Trails
### Aliases: 'Audit Trails' oro.nifti.info enableAuditTrail newAuditTrail
### niftiExtensionToAuditTrail niftiAuditTrailToExtension
### niftiAuditTrailSystemNode niftiAuditTrailSystemNodeEvent
### nifti... |
9f5afd583f1290881ba589ae5d126359506106c7 | e0a2289118030bf9600d5684bdf648442cc5f208 | /2X/2.14/ReactomePA/R/viewPathway.R | fe55822d781c0525f22153f56278f1b83a4c5f51 | [] | no_license | GuangchuangYu/bioc-release | af05d6d7fa9c05ab98006cd06ea8df39455e8bae | 886c0ccb1cd2d3911c3d363f7a0cd790e72329b7 | refs/heads/master | 2021-01-11T04:21:25.872653 | 2017-08-03T05:11:41 | 2017-08-03T05:11:41 | 71,201,332 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,541 | r | viewPathway.R | ##' view reactome pathway
##'
##' plotting reactome pathway
##' @title viewPathway
##' @param pathName pathway Name
##' @param organism supported organism
##' @param readable logical
##' @param foldChange fold change
##' @param ... additional parameter
##' @importFrom graphite convertIdentifiers
##' @importFrom graphit... |
e813e32f5640e7fa78b1abd4b45754ed95de75fb | c94550c3d9a84c7073c51db924db909181498100 | /ui.R | ad364796d8148422ff9e9311251b7f3bdcf2e4b0 | [] | no_license | aleruete/thisislp | 682c5d61f48145a6cc9b65bfb226e601b22879bc | 3ac51df56106bc8fa7061d53d73d202ea58f5fbe | refs/heads/master | 2021-02-17T16:00:00.155031 | 2020-03-05T00:57:34 | 2020-03-05T00:57:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,648 | r | ui.R | shinyUI(
birdPage("This is LP", color = "#ff963b",
tabPanel("Home",
frontPage(
title = "This is LP",
subtitle = "LP (born 1981) is an American artist. In her words: \"When I get on the mic and start doing melodies, I can feel that direct line ... |
7a7e1f4f7403f5455a77d22bee9d467e315e44f3 | e3259d8f489b093b246fe2fd0c4fb6999d6466bf | /CampR-master/man/binom.Rd | 8fde107d110a9b78d5aa95c6a2c66ca45a1384b5 | [] | no_license | Franvgls/CampR | 7baf0e8213993db85004b95d009bec33570c0407 | 48987b9f49ea492c043a5c5ec3b85eb76605b137 | refs/heads/master | 2023-09-04T00:13:54.220440 | 2023-08-22T14:20:40 | 2023-08-22T14:20:40 | 93,841,088 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 896 | rd | binom.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/binom.R
\name{binom}
\alias{binom}
\title{Distribucion binomial: exitos necesarios para ser significativo}
\usage{
binom(n, p.teorica = 0.5)
}
\arguments{
\item{n}{Número de eventos a tener en cuenta}
\item{p.teorica}{probabilidad teórica de... |
2d374bf89ec495ff7460d3fd348376ae35318a25 | 4b55d05caca0e379c862ca7ae242d9d112c160d0 | /PFCscript.R | 24595dae83aeaeedfbdd317f477bb7b34c13b651 | [] | no_license | prooplal/PFC_CIND820 | 995c8b104d0df69ef344d72130c6d8ff5d10c2eb | 1ae6489071e901adf1425a9cd2eadf18055bab8a | refs/heads/main | 2023-06-29T23:34:06.392930 | 2021-07-31T04:44:52 | 2021-07-31T04:44:52 | 391,256,219 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,168 | r | PFCscript.R | #merge Global Crises data set with Global Debt database
MergedD <- merge(GDB, Gcrisis, by= c("Country", by= "Year"))
str(MergedD)
summary(MergedD)
# Data frame with columns to be used
Model1 <- MergedD[, c(-3,-4,-5,-12,-13,-17,-18)]
# Move dependent variables to end columns
Model1$BC <- Model1$`Banking Crisi... |
3c566689da98b961fbe73138285c2137fa4afca6 | df1722213bed9cf7e95f5bd48b4251b551577100 | /bcd_emp_3_a_forecast_MINLP.r | a3f7fa44a80be3957cc287a0334a56588d577388 | [] | no_license | stefanrameseder/BiddingCurves | eac27cf0075ad2edcfb27600a97796e615e6abf5 | 4ef423d20b3a51b671d64436244490f19699a46c | refs/heads/master | 2020-07-02T19:40:56.637369 | 2019-11-01T10:08:17 | 2019-11-01T10:08:17 | 201,641,250 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,999 | r | bcd_emp_3_a_forecast_MINLP.r |
# Version for Saving the .RData
print(version <- paste0(ver,"_H", H, "_Bootstrap", Bootstrap, "_K", K, "_Mod_", model))
# make the cluster
cl <- makeCluster(8)
# load required libraries
clusterEvalQ(cl, {
library(forecast)
library(parallel)
library(GenSA)
library(timeSeries)
})
## export required... |
3bc36c1faf2d107b727ec7b3c502d211fe482b49 | 6c7783c0da4511ea88f1d334849a41f288d157b7 | /03_scripts/07_create_categorical_variables.R | 2665ea26acfb808b2fdf2942254fb6449fec53e6 | [] | no_license | skraftarcher/LA_FW_Sponges | fd59296b245edbd92a1aedfe326692e5ce41e30e | 39c6d325144bf9af40152fe6a41b7f291559e1fd | refs/heads/main | 2023-07-11T13:39:14.195450 | 2021-08-17T18:31:23 | 2021-08-17T18:31:23 | 311,411,292 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 942 | r | 07_create_categorical_variables.R | if(!require(tidyverse))install.packages("tidyverse");library(tidyverse)
sp1<-read.csv("01_odata/Miller_sponge data.csv")
sp2<-sp1 %>%
mutate(pH=as.numeric(pH),
ph.cat = case_when(
pH < 6 ~"acidic",
pH > 6 & pH < 7 ~ "slightly.acidic",
pH > 7 & pH < 8 ~"slightly alkaline",
pH >... |
18d2a5b098114ef1df5457eaba74bfc2465f0a46 | 192b80fff0c455f97402a6f5eaf303a0313ec192 | /ui.R | bc19117f9374f7c32db93ef81ed59c453a20216f | [] | no_license | pradnyaalc/Visualization_with_Rshiny | 2c85b9c0019a1ce5d7b32a42806c662ad18fbdc8 | cc9db03b5f2335b54b5020a0686cf2855ac0b79c | refs/heads/master | 2022-03-01T00:36:07.164580 | 2019-11-16T07:59:36 | 2019-11-16T07:59:36 | 222,057,902 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,405 | r | ui.R | #Name: Pradnya Alchetti
#Student Id - 29595916
#Visualization Project
#ui.R
library(shiny)
library(leaflet)
library(plotly)
library(chorddiag)
library(shinythemes)
#Main Page Panel
fluidPage(theme=shinytheme("cosmo"),
navbarPage("Taxi Statistics", id="nav",
# Tab 1 for airport insights
tabPanel... |
4f6b18f7f18ee6e843206ef1391f44c9cbb3c11e | fb9f62088b0df02e1f86b779011fd445e27f7e5a | /tcga.edit.load.R | 516ffd28ab25416552392d552aa37025c927b808 | [
"MIT"
] | permissive | michaelsharpnack/RNA_edits | d6f17b0379ad245a14c17c7b2221c0b76274abf6 | fabb6c509ffed97d3ebe94a9e8e6ebc274a143dc | refs/heads/master | 2021-05-15T12:43:41.284400 | 2017-10-27T00:30:49 | 2017-10-27T00:30:49 | 108,479,984 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,590 | r | tcga.edit.load.R |
tcga.loader <- function(cancer){
cancers <- c('BLCA','BRCA','CESC','CRCC','GBM','HNSC','KICH','KIRC','KIRP','LGG','LIHC','LUAD','LUSC','PRAD','STAD','THCA','UCEC')
setwd('/Users/michaelsharpnack/Desktop/David/Metastasis/editing_query/tcga_edits/')
files.edit <- dir()
setwd('/Users/michaelsharpnack/Desktop/... |
25d008de82858cefa399d528170dddfabd850e3e | 9728006767999c2554b86bc41e8183d3465010aa | /codes/data_retrieval.R | 476e43ad08f73910519e913a3136e68aae5fa35e | [] | no_license | Salfo/econ_blogs | 46a7824db8c412c77847407a95b38a50676a08fa | 7492d6d4a2a0f963daf86076d46167e888aa51cd | refs/heads/master | 2020-03-14T08:24:10.523813 | 2018-04-30T16:38:09 | 2018-04-30T16:38:09 | 131,523,231 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 387 | r | data_retrieval.R | # Get the list of blogs
library(rvest)
library(dplyr)
blog_urls <- "http://www.onalytica.com/blog/posts/top-200-most-influential-economics-blogs/"
blogs_webpage <- read_html(blog_urls)
blogs_tabl <- blogs_webpage %>%
html_nodes("table") %>%
.[[1]] %>%
html_table(header = 1)
blogs_tabl = blogs_tabl[, -1]
#write.cs... |
0ce5de1d77401064b90a157dc54b74cc90fc6db9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/h2o/examples/h2o.table.Rd.R | de11934aed4c71a3200031028f339d34cf2fa609 | [] | 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 | 567 | r | h2o.table.Rd.R | library(h2o)
### Name: h2o.table
### Title: Cross Tabulation and Table Creation in H2O
### Aliases: h2o.table table.H2OFrame
### ** Examples
## No test:
library(h2o)
h2o.init()
prostate_path <- system.file("extdata", "prostate.csv", package = "h2o")
prostate <- h2o.uploadFile(path = prostate_path)
summary(prostate... |
696dadc25eaeb206c350110e959f9ce12e4a9c2b | 21b539d13bc89cd86792d5c4f74d595dc2ef8605 | /005.PreLab.R | fedefb60546625b777e22a9c19fb6fad6ff63535 | [] | no_license | ozkuran/UTA_FoundDataAnalysis | b3b1ff51df08910f4a7cac893575c54a7228dd40 | e32912bf4010ac3243926fe1015c35462333ca3a | refs/heads/master | 2021-01-20T02:16:24.111753 | 2015-02-09T13:54:41 | 2015-02-09T13:54:41 | 28,847,396 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 782 | r | 005.PreLab.R | library(SDSFoundations)
WR <- WorldRecords
UniqueEvents <- c(unique(WR$Event))
UsainsFirst100mRecord <- WR[which(WR$Event =="Mens 100m" & WR$Athlete == "Usain Bolt"),]
WomensMileUnder260s <- WR[which(WR$Event == "Womens Mile" & WR$Record < 260),]
#Invoke the SDSFoundataions package
library(SDSFoundations)
#Subset t... |
944d8cba963a1b3ccdcb843d06d5f0858cab3385 | c85471f60e9d5c462de6c60c880d05898ec81411 | /cache/jasonmstevensphd|TidyTuesday_JMS|Tidy_Tuesday_2018_08_21.R | 9c414f4c1c0a7f243b82228ff45c557c63f7297b | [
"CC-BY-4.0",
"MIT"
] | permissive | a-rosenberg/github-content-scraper | 2416d644ea58403beacba33349ee127e4eb42afe | ed3340610a20bb3bd569f5e19db56008365e7ffa | refs/heads/master | 2020-09-06T08:34:58.186945 | 2019-11-15T05:14:37 | 2019-11-15T05:14:37 | 220,376,154 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,807 | r | jasonmstevensphd|TidyTuesday_JMS|Tidy_Tuesday_2018_08_21.R | ## ----setup, include=FALSE------------------------------------------------
knitr::opts_chunk$set(echo = TRUE)
## ----Libraries, message=FALSE, warning=FALSE, EVAL=FALSE, include=FALSE----
# This is where we import our libraries and files. We'll also add some information to be included on our plots
library(knitr)
l... |
f86d676da1b5597af6b18b47f7efa4286c4a892b | e9341aa34f2d07a636ae8e600cd881712d2bee9d | /R/ex.R | 4374dece50f5252434e05ee1e9eb3a49b0f4c30c | [] | no_license | jihwanK/data_science | 816f0b1c7d6a833520d79eb36136c8d4dd394795 | 26c344864e924f81f4754170729bfb7a7d6df203 | refs/heads/master | 2022-07-27T02:18:50.220994 | 2022-07-15T13:33:24 | 2022-07-15T13:33:24 | 201,589,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 143 | r | ex.R | home = '~/git_repository/practical-statistics-for-data-scientists/data'
setwd(home)
state <- read.csv('state.csv')
hist(state[['Murder.Rate']]) |
250d191dc48a04bde811e9e1ce15a0b34df4dcd5 | 799ee4573b1244cced7102ed2a942e52579c03b9 | /R/CapExModel.R | 23f6f781ae3d9bc61c24f4d7c39cd6df8c099d62 | [
"MIT"
] | permissive | UrbanMatrixOne/rumo | 88476ec79a66b0248570386a8b1c6c81a347e4a3 | 5554a4088723c717dc97847edb56c4c682ec31fa | refs/heads/master | 2021-09-28T21:17:18.033028 | 2018-11-20T18:08:57 | 2018-11-20T18:08:57 | 154,221,360 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,777 | r | CapExModel.R | #cap ex projection
fitTreeModel <- function(){
test_set <- clean_IGES_data%>% sample_frac(.1)
train_set <- clean_IGES_data %>% setdiff(test_set)
fit<- tree.model <- rpart::rpart(data = train_set %>% filter(NPVperkw <.5 ), NPVperkw ~ (start_date) + fuel_type + capacity , method = 'anova')
printcp(fit) # dis... |
9be4824fdcd67698c5404689767a21812d33134c | 5cb06f96db4a22fcd245880c5435e7c37a7a7d18 | /mapasComparados/loc/code/tmp.r | df9ac43ffd579ae4b5aa5d0508f407d2d0ae7aa7 | [
"MIT"
] | permissive | emagar/mxDistritos | c063484aef576d0f1ea79f44e78cb1c18859c6e5 | f1f163f7e834c53338e9a5525ae829ab48179c1b | refs/heads/master | 2023-09-01T22:19:05.448103 | 2023-08-29T04:51:38 | 2023-08-29T04:51:38 | 106,619,312 | 5 | 14 | MIT | 2018-01-05T14:32:44 | 2017-10-11T23:17:30 | R | UTF-8 | R | false | false | 4,825 | r | tmp.r | ############
# 20 oax #
############
# 2010 map eric re-did
d <- read.csv(file = "fuenteAlumnos/oaxLoc2010.csv", stringsAsFactors = FALSE)
sel <- which(d$lisnom==""|d$lisnom=="-")
d$lisnom[sel] <- 0; rm(sel)
d$lisnom <- as.numeric(d$lisnom)
# así se hace en R un by yr mo: egen tmp=sum(invested) de stata
d$lisnom <- a... |
576c0b1040659ef57221d4aec97fbfe79645d504 | 79457aaae83a0b3914a38874c10907440e0dfc61 | /man/raster_cube.Rd | 326dc12c8fed6bf68b7c05ad6fea558ae97b9c49 | [] | permissive | appelmar/gdalcubes | be9786b36fbe4e25a5c0245968634f57a40752ad | 2134f769454e147660e7a73c61afa14219de20b4 | refs/heads/master | 2023-08-07T20:56:02.442579 | 2023-07-25T06:36:46 | 2023-07-25T06:36:46 | 148,130,790 | 74 | 7 | MIT | 2023-03-23T19:56:08 | 2018-09-10T09:25:01 | C++ | UTF-8 | R | false | true | 2,577 | rd | raster_cube.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cube.R
\name{raster_cube}
\alias{raster_cube}
\title{Create a data cube from an image collection}
\usage{
raster_cube(
image_collection,
view,
mask = NULL,
chunking = .pkgenv$default_chunksize
)
}
\arguments{
\item{image_collection}{S... |
ffa2d0ddb5e45b02e8739f393e9bb4e48109a6d8 | cd0612d2e4149d22f8a208caacbd69b88afc5869 | /R/plot_repressor.R | 2bcc310d918828bffda646cc5891fec0af1d5b5b | [] | no_license | josschavezf/erba | d69c7a78f4f4cc43af5e4d09afa7d902f070cf11 | 0c653c477e3799f82c860ce303d17eee8ad966c7 | refs/heads/master | 2021-07-08T19:49:34.146575 | 2021-04-27T20:13:01 | 2021-04-27T20:13:01 | 172,123,138 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,109 | r | plot_repressor.R | #' plot_repressor
#'
#' @description plot repressor and non_repressor transcription factors versus ORFs per genome
#'
#' @param data A data.frame object, needs to have the columns repressor and non_repressor for transcription factors
#' @param filename file name with .tiff extension
#' @param title plot name inside " "... |
8d4bd5f1f17449c50a2ae73f5de1d9464363b7ea | 6a90438fff56a060f2ea7794fd242fd3de825d05 | /DataCleanSubject/project/run_Analysis.R | 5dc631f3497962092ab46304f5826f73168b49b7 | [] | no_license | RujutaJ1/RepData_PeerAssessment1 | 01db3ee17de85a5d6ba38534613a3cf5f588002b | 8ef4459f8ffa44cc1adbc4cf6a4cb72f5e6e7457 | refs/heads/master | 2021-01-17T07:56:20.140865 | 2016-01-30T21:53:32 | 2016-01-30T21:53:32 | 34,197,591 | 0 | 0 | null | 2015-04-19T07:35:52 | 2015-04-19T07:35:52 | null | UTF-8 | R | false | false | 3,160 | r | run_Analysis.R | ## Step 1 : First Download the Data, and Unzip it.
#first download the data- its a heavy download,
fileurl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
getwd()
setwd("F:/Rujuta/Coursera/DataCleanSubject")
download.file(fileurl, destfile="./Data.zip")
unzip("./Data.zip")... |
ed29ccc5bf39ca8b271c99b9797792035897be1d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/epr/examples/epr-package.Rd.R | bc54fc2354c602f7a4a97cd6491448525ab4afa7 | [] | 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 | 457 | r | epr-package.Rd.R | library(epr)
### Name: epr-package
### Title: Easy Polynomial Regression
### Aliases: epr-package epr
### ** Examples
# analysis in completely randomized design
data(data1)
r1=pr2(data1)
names(r1)
r1
r1[1]
pr1(data1)
# analysis in randomized block design
data(data2)
r2=pr2(data2, design=2)
r2
# analysis in lati... |
ffdd47941c90339c2d0748844d01cc5e06f5932d | 755c9d8af86f33c64bb0532f46a6d875e9728e13 | /scripts/STEP04_PCA.R | 2433a3e53d7669229e6303f42794f6ce0c69b035 | [] | no_license | jmzhang1911/CRC_lncRNA_backup5.0 | f2a08eb81b9806115a1053c690433706ef066845 | 56a48cac477461b5f236afe35bf5a8f79f68c6f6 | refs/heads/main | 2023-04-02T01:53:14.521092 | 2020-12-18T01:07:44 | 2020-12-18T01:07:44 | 320,638,764 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,453 | r | STEP04_PCA.R | rm(list = ls())
source('Utils.R')
mkdir('outcomes/pca_heatmap')
load('outcomes/inputdata/input.RData')
mRNA_count <- input_matrix_count$mRNA_count
lncRNA_count <- input_matrix_count$lncRNA_count
all_count <- input_matrix_count$mRNA_lncRNA_count
###########=====> do it in jobs >>>>>>###########
#===> saved as kenda... |
82cb13f12356dde383d5330c9a97952beab97e18 | e95bc21ea6b681c5f4a6b1864f12ca6f7c811d45 | /cachematrix.R | d91b375b6049cfa18cd5446cbb46f232d47ff5c4 | [] | no_license | fabiolucasmsb/ProgrammingAssignment2 | 15cc0873002fedf5e7be4ca8e5f947ced53155cd | 95ac5ad455b1db2b6e25b335a9833ba3861e2d2e | refs/heads/master | 2020-12-03T04:00:58.282386 | 2015-05-23T14:46:17 | 2015-05-23T14:46:17 | 36,103,938 | 0 | 0 | null | 2015-05-23T02:27:08 | 2015-05-23T02:27:07 | null | UTF-8 | R | false | false | 1,012 | r | cachematrix.R | ## This functions calculate de inversed of a non square matrix
## THis function create a list that manipulate a matrix using gets and sets of the data and
## the inversed matrix
makeCacheMatrix <- function(x = matrix()) {
inversedMatrix <- NULL
set <- function(y)
{
x <<- y
... |
b340a83f3e2d43bb69fc0430e0a1287a1dcb9513 | bae0af3bec95ee9123dd74a3cd42a3792f65e25d | /Chapter02/02__04__anovamechanics.R | 52de07a9c92522d098ecb975bbb558e73d8225df | [
"MIT"
] | permissive | PacktPublishing/R-Statistics-Cookbook | f521ead1a05104b68663521374861dfced4c1bab | 74eb6057e47df5d43a981c44a52148bd3930c7e1 | refs/heads/master | 2023-02-04T14:18:10.374693 | 2023-01-30T09:26:43 | 2023-01-30T09:26:43 | 179,272,388 | 9 | 18 | null | null | null | null | UTF-8 | R | false | false | 707 | r | 02__04__anovamechanics.R | data = read.csv("./anova__lot_type.csv")
result = lm(Result ~ Lot,data=data)
SS_LOT = sum((predict(result)-mean(data$Result))**2)
result = lm(Result ~ Lot + Food.Type,data=data)
SS_FOODTYPE = sum((predict(result)-mean(data$Result))**2) - SS_LOT
SS_ERROR = sum((predict(result)-data$Result)**2)
FF_LOT ... |
ca754b30cd1b19d8877715f87f970e60060cd581 | 257ffc3438528729b62bc3e7abc24eea2be6193e | /man/readgeol.Rd | cbf8c923a013cbdaf008b55d450b75bebf82637f | [
"MIT"
] | permissive | SHUD-System/rSHUD | 91e1ae7f077cf5efa52575a32ed4e692ed8034b9 | 1915a9cf2b241a1368b9768251b2f140454bd94e | refs/heads/master | 2023-07-06T11:07:18.335307 | 2023-07-01T15:08:11 | 2023-07-01T15:08:11 | 224,737,854 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 332 | rd | readgeol.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/readinput.R
\name{readgeol}
\alias{readgeol}
\title{Read the .geol file
\code{readgeol}}
\usage{
readgeol(file = shud.filein()["md.geol"])
}
\arguments{
\item{file}{full path of file}
}
\value{
.geol
}
\description{
Read the .geol file
\code{... |
c08d6be29b542af53b9575b3615c4916816dcf17 | ad87af36b4919b941ac2bca11e201557f77be145 | /man/PredictDriversSpecifications.Rd | 502d1bf3d1749ef9e87ec643b4b2d6a9d8ffe179 | [
"Apache-2.0"
] | permissive | cities/VETravelDemand | da7dd61aa183c0d9741a3a733d91227237873145 | 7c10bb3e5e9c28ee5ddccdbf0c98da1831a38897 | refs/heads/master | 2020-04-06T12:52:52.601231 | 2019-01-22T20:33:35 | 2019-01-22T20:55:42 | 157,474,604 | 1 | 0 | NOASSERTION | 2019-01-22T21:08:24 | 2018-11-14T01:56:59 | R | UTF-8 | R | false | true | 609 | rd | PredictDriversSpecifications.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PredictDrivers.R
\docType{data}
\name{PredictDriversSpecifications}
\alias{PredictDriversSpecifications}
\title{Specifications list for PredictDrivers module}
\format{A list containing 3 components:
\describe{
\item{RunBy}{the level of geogr... |
489538d66841eaff75a66478cb0bd9c69d1904fa | 02021efd3d955cae251f89d3b1688bc419174788 | /Functions/FSO_functions.R | 529468c71c32ad6d6da2d6a2cdddbb05e438332b | [
"Apache-2.0"
] | permissive | MoritzFeigl/FSO_paper | 52c2e1c0901361cf24781c3916c4a8e8d95eb426 | cfe0c5c878391cf0142e259d2b441b946389d74b | refs/heads/master | 2022-12-25T17:09:15.018568 | 2020-09-18T09:33:50 | 2020-09-18T09:33:50 | 235,850,171 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 82,989 | r | FSO_functions.R | # Functions for d-GR4J Function Space optimization case study
# Moritz Feigl, 2019
#
# Function to load spatial predictors
load_sp_mur <- function(scale = TRUE,
na.approx = FALSE, only_training_basins = TRUE,
full_dataset = FALSE, training_basins = NULL){
path <- "Dat... |
3477570e0ab4cb51ebeccf3e973bdb6be3d713dd | 34f3fd536b2f9a5be12d13e3aaedef7631f45e98 | /plot4.R | af6559d0f71caa190a762f9c0776fc20a16b8525 | [] | no_license | ChetanaTarakhala/ExData_Plotting1 | 5aaf1de225757f29cabd7a912ef711487986912a | a16b22c63401970963894d3d86fcd736f9865663 | refs/heads/master | 2021-01-21T13:25:27.289146 | 2017-09-01T14:28:28 | 2017-09-01T14:28:28 | 101,838,538 | 0 | 0 | null | 2017-08-30T04:42:05 | 2017-08-30T04:42:05 | null | UTF-8 | R | false | false | 1,504 | r | plot4.R | library(datasets)
electric_data <- read.table("household_power_consumption.txt", sep = ";", header = TRUE, colClasses = "character")
electric_data$Date <- as.Date(electric_data$Date, "%d/%m/%Y")
subset_data <- subset(electric_data, Date == "2007-02-01" | Date == "2007-02-02")
datetime <- paste(subset_data$Date, subset_... |
a977687df0aa8dcbf9569dba2b06f5ad49d7383a | 9a5e7f18f0b0146471de36113fba3128741c6245 | /churn1.R | 0c4b7b6ecf9caa4b3f42ab5e944e40acf8f87859 | [] | no_license | radhikaluvani/churn-redunction | 54fdd506d9cc8569bb6e29e799fe64607e1dad43 | 7931531789252de62c68933b3855a37196d5090b | refs/heads/master | 2020-04-15T16:02:33.244011 | 2019-01-09T08:24:20 | 2019-01-09T08:24:20 | 164,816,618 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,190 | r | churn1.R | rm(list=ls(all=T))
setwd("C:/Users/Neelam/Desktop/Workradhika/project")
getwd()
#loading libararies
library(caret)
library(rpart)
library(C50)
library(rattle)
library(partykit)
library(randomForest)
library(ROCR)
library(ggplot2)
library(reshape2)
library(car)
library(corrplot)
library(e1071)
library(... |
c65ecf89aa27fb8408ac33f793b6d29241fc3e5c | 4ba3aaae72316a6c81c65c3eebe6fc87eae51427 | /ambtest/amb_exp_rhipe.R | 807df8f4a774e4c448030073c3fc3ea18fef1858 | [] | no_license | minasel/Seismic_Interferometry | bcc01c9920932367d664000e8746461c81b911e3 | 98c7761b8498520f08fe53dd3c30d2a6121eaebf | refs/heads/master | 2020-05-16T17:05:13.711950 | 2018-05-07T17:50:31 | 2018-05-07T17:50:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,812 | r | amb_exp_rhipe.R | # con <- file("hadoop_output_log.txt")
# sink(con, append=TRUE)
# sink(con, append=TRUE, type="message")
#
# # This will echo all input and not truncate 150+ character lines...
# source("amb_exp_rhipe.R", echo=TRUE, max.deparse.length=10000)
#
# # Restore output to console
# sink()
# sink(type="message")
library(R... |
798ea98a266a80a0689f72bcff73297d0e9efeae | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/hetong007/CCCP/data.R | 2e318f047b62379da5f78c1f9ef1c3237a5a9633 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,811 | r | data.R | source('lassoshooting.R')
### helper function to generate data matrices X and Y
get.ARX<-function(n, p)
{
X = matrix(0, nrow = n, ncol = p)
for (j in 1:p)
{
if (j==1)
X[,j] = rnorm(n)
else{
X[,j] = X[,j-1]*0.6 + 0.8*rnorm(n)
}
}
return(X)
}
get.linea... |
4b7af984b5aeac31dff97f118ad34abb56a19495 | ef99e639789c259a1f36bc5a399c7eede5498f1b | /gapminder_analysis.R | 55b6c55d6f81992f612f0fdd185bb0439fe1bc4b | [] | no_license | ejsher/swc_workshop | 277e84cd3f8cefca1e443411ff447b33455a1ac1 | 7a7937dba6e786e1d6cdc86d1aa0234479337ef1 | refs/heads/master | 2021-01-11T19:25:26.950997 | 2017-01-18T17:01:20 | 2017-01-18T17:01:20 | 79,361,656 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 944 | r | gapminder_analysis.R | download.file("https://raw.githubusercontent.com/swcarpentry/r-novice-gapminder/gh-pages/_episodes_rmd/data/gapminder-FiveYearData.csv", destfile = "gapminder-FiveYearData.csv")
gapminder <- read.csv("gapminder-FiveYearData.csv")
ggplot(data=gapminder, aes(x= gdpPercap, y=lifeExp, color= continent)) + geom_point(aes(s... |
f66c0f072973c82966d7a32e2ac23ca24edfa39c | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.security.identity/man/fms_put_policy.Rd | e8bc4dd45c4e211f0c21d4ab84a39e9fc60d867d | [
"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,223 | rd | fms_put_policy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fms_operations.R
\name{fms_put_policy}
\alias{fms_put_policy}
\title{Creates an AWS Firewall Manager policy}
\usage{
fms_put_policy(Policy, TagList)
}
\arguments{
\item{Policy}{[required] The details of the AWS Firewall Manager policy to be c... |
05e47ddff0c1b6e6818a69c2b6e9ef83be484762 | f599f81f5fb0351d7f496b43cd6dc07df04d6ced | /man/pow.Rd | 61d1a828935d6350f9af0880fd1fae215c7c91ab | [] | no_license | santiagodr/powers | a054086cfcae41fbd82e30077ff6331302b4edbf | 50b87f65e74dbcf3d884b5143de254dc49afb4ba | refs/heads/master | 2021-08-22T04:57:11.237005 | 2017-11-29T10:41:08 | 2017-11-29T10:41:08 | 112,156,892 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 491 | rd | pow.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pow.R
\name{pow}
\alias{pow}
\title{Generic Power Function}
\usage{
pow(x, a, na.rm = FALSE)
}
\arguments{
\item{x}{Vector to raise to some power.}
\item{a}{Power to raise \code{x} by.}
\item{na.rm}{ask if NA's should be removed for the com... |
844d9c7c0c63cdd0025f290134eadcbad9711c79 | 20a9435ef4586a43a4e55502d0f0ac40aa185821 | /man/hmi_pool.Rd | 8b51d2c192226a127114a27b9451e255eb0c5118 | [] | no_license | cran/hmi | a9df9353e459bfe45d9952370a962fa879c8f5a1 | 6d1edb0d025c182cedb325fa9826f4ba00e988d1 | refs/heads/master | 2021-01-23T06:20:51.264453 | 2020-10-01T22:20:02 | 2020-10-01T22:20:02 | 86,358,162 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,450 | rd | hmi_pool.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hmi_smallfunctions.R
\name{hmi_pool}
\alias{hmi_pool}
\title{Averages the results of the imputation function \code{hmi}.}
\usage{
hmi_pool(mids, analysis_function)
}
\arguments{
\item{mids}{A \code{mids} (multiply imputed data set) object.
Ei... |
07808a37b95754732c4718f2ed45f3f20d4841ee | b1446cdd1b8344bea94237bce8ab08178247fb6b | /Code for chapter5.R | 6437ac7cb2fba3e55c83339263aa928229fdfb7a | [] | no_license | abhisaw/R-Deep-Learning-Essentials | f36e23d8a67f734d9a507ec0de74725ff14b9ac8 | 29d58db97f6fb7088fcada21b7ccb8013fac5f9e | refs/heads/master | 2022-05-01T20:09:53.882473 | 2016-10-11T18:06:21 | 2016-10-11T18:06:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,321 | r | Code for chapter5.R | # picking hyperparameters
library(ggplot2)
library(h2o)
local_h2o <- h2o.init(max_mem_size = "12G", nthreads = 3)
# load mnist data directly via h2o. h2o.importFile imports in parallel ----
h2o_digits <- h2o.importFile("Data/train.csv", destination_frame = "h2odigits")
h2o_digits$label <- as.factor(h2o_digits$label)
... |
a415b8b9b659a58b97cc2ff2b5dcef457ec83e81 | e2332ea78bced2ddd65ab7b2ae19a24346c26267 | /solarD.R | a516d4cc2a9498c8a2fcb9e83d8577eb49ffec52 | [] | no_license | shammun/aquaculture_code | cd23cdc4fc5c8d2559fddd4d9473f0b33bb5f59e | afde27e6031807b0529601dee2407c1098d9e444 | refs/heads/main | 2023-01-21T04:48:11.197184 | 2020-11-25T20:41:14 | 2020-11-25T20:41:14 | 316,047,120 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,166 | r | solarD.R |
# install.packages("solrad")
library(solrad)
#Calculating solar altitude angle for two consecutive days
DOY <- seq(0, 2, .05)
alpha <- Altitude(DOY, Lat = 24.303856, Lon=91.678491, SLon=90, DS=0)
#Note: only the difference between Lon and SLon matters not each value
plot(DOY, alpha)
### This function retur... |
73e5f7e032802fc373d1d50d4109168c8c6df886 | 9a5b97cfbeb454c3cb4da897c6b37abada6839fb | /man/hiv.mortmod.Rd | fa66066b77dfa99a183747a182c3d0a66952222f | [] | no_license | cran/HIV.LifeTables | f0278c0c336ca12ed4fd16ff4ce05070ae3278a5 | 134582513820e99750c35bd10aa989cd4d837887 | refs/heads/master | 2016-09-06T08:54:38.764901 | 2012-12-04T00:00:00 | 2012-12-04T00:00:00 | 17,679,715 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,484 | rd | hiv.mortmod.Rd | \name{hiv.mortmod}
\alias{hiv.mortmod}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
HIV calibrated model life tables for countries with generalized HIV epidemics
}
\description{
This function produces a complete set of mortality rates for ages 0, 1-4, 5-9, 10-14, ...,100+ and life table given ... |
d5e68162935a48f5e85ab0203f3585a45047240e | f4fe4e5b855f9715f0dee2ab2016c6a48e35ad64 | /ros_analysis/bak_ros_12_10_19_outliers/bak_ploting_final_figures.R | d569e1add22a02518a75969c43dae6dc3de3d01e | [] | no_license | zhangshaiolo/NatVar_proj | eca9ee6d161053a0f5da5eaa9c6a409262f0e89e | f29b39e61b0ea44f1316c5eaa1defde08f430169 | refs/heads/master | 2023-03-13T10:47:41.139995 | 2021-03-03T15:22:24 | 2021-03-03T15:22:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,657 | r | bak_ploting_final_figures.R | #this script will be to analyze the antagonist ROS data
library(ggplot2)
library(tidyr)
library(patchwork)
data_1471 <- read.csv("/Users/nicholascolaianni/Documents/dangl_lab/nat_variants_proj/ros_analysis/bak_ros_12_10_19_outliers/150756.summary_info.csv",stringsAsFactors = F)
data_1391 <- read.csv("/Users/nicholas... |
822bfe31ac4f2678db153a794643470eb39078b1 | 0fb0fc3a1807687109254aca77b063374fe18194 | /R/package.R | 34a5b61570795a4f88c6c55cd87911d6b02d8e92 | [] | no_license | KopfLab/dpos | bcb5b378f7b0773b3e6a94d81458906d79bc50d5 | 0eff08e090211cb20493291a5d45f33ee5e61294 | refs/heads/master | 2021-01-17T16:47:54.499281 | 2016-08-09T03:18:21 | 2016-08-09T03:18:21 | 63,631,909 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 779 | r | package.R | #' @title MAT253 testing
#' @description This is a test
#' @name dpos
#' @docType package
#' @author Sebastian Kopf
#' @import dplyr ggplot2
#' @importFrom tidyr gather
#' @importFrom isoread isoread
#' @importFrom methods is
#' @importFrom stats setNames
#' @importFrom stringr str_match_all
#'
#' @include loading.R
#'... |
a1a27eb81de41862c4ea4d366fc74dcd9ad2dddb | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/xpose4/examples/compute.cwres.Rd.R | 4c09d27ef6d04f49eb4e55fddb239092cae4817f | [] | 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 | 960 | r | compute.cwres.Rd.R | library(xpose4)
### Name: compute.cwres
### Title: Compute the Conditional Weighted Residuals
### Aliases: compute.cwres ind.cwres read.cwres.data is.cwres.readable.file
### sqrtm xpose.calculate.cwres xpose.calculate.cwres
### Keywords: methods
### ** Examples
## Not run:
##D ## Capture CWRES from cwtab5.est a... |
ef39f5f1cb15e172abf4b9d57b26f88f324fc151 | 68f28f7f8dba9751386623ec47a691f7bc48400b | /TwitterAPI.R | 87ae7e842f6206ba1fc6e6949a040d3c97a81ba3 | [] | no_license | alychow/nbahackathon2017 | aa4c9f97cb346e0e80364134c3bb70574d5e6f67 | 8e87a6f8bdf34c8ffba8d6f37efbf39d4891a282 | refs/heads/master | 2021-07-02T13:26:36.277056 | 2017-09-24T12:09:07 | 2017-09-24T12:09:07 | 104,576,316 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,368 | r | TwitterAPI.R | library(twitteR)
library(RCurl)
library(RJSONIO)
library(stringr)
library(streamR)
library(dplyr)
# Declare Twitter API Credentials
api_key <- "bNcpnkZVRB8fXRqb7XVWdVMOA" # From dev.twitter.com
api_secret <- "OgIqQwfIExmDZm76nxlbffN2UYH2iDTopPbbTvBLdXI948j9F8" # From dev.twitter.com
token <- "1444647248-8fnJMQ8yEwvWj... |
a5b7d964a8879a499acebeea999d32e8eca649b1 | 6f499ce5aaf92b44b7331f19e9224a7d672bfd57 | /R/functions.R | 472ab3d9d8f5b2dc98b723331e752349d483b15e | [] | no_license | vpellissier/packing | 14c04f6925ce51c71d5faf9a311b4b1979855bd8 | 3ecdcee54f1ad8a0ce7237932a1d1c0103fe763e | refs/heads/master | 2021-07-04T13:37:21.022139 | 2017-09-27T11:31:25 | 2017-09-27T11:31:25 | 104,924,141 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 6,025 | r | functions.R | packing<-function(site.min, site.max, traits, mat, ncores=NULL) #here, site is the number/id of the cell
{
convhulln(traits[site.min,], "FA")$vol->vol.min
convhulln(traits[site.max,], "FA")$vol->vol.max
setdiff(site.max, site.min)->esp.unique.max
length(esp.unique.max)->nbsp.unique.max
intersect... |
73acc0e3712f0ec27b5cbf9d271ddbaee01f298c | e1f3ba49206c456e39b87d5c0635fbaaa16e4715 | /tests/testthat/test_multcomp.R | 572dec0521c6d548be797ce3b0ea49e73802744c | [] | no_license | chjackson/voi | 3a1c8c5832a7713005b48c9056369e7d28a20169 | bc80f3b63e3b5ca60595866b0aede65246296c01 | refs/heads/master | 2023-06-08T00:08:22.251359 | 2023-06-07T09:43:03 | 2023-06-07T09:43:03 | 227,181,181 | 7 | 5 | null | 2022-09-27T08:49:19 | 2019-12-10T17:44:17 | R | UTF-8 | R | false | false | 3,557 | r | test_multcomp.R | ## Create a fake decision model output with three interventions
pi2 <- "p_side_effects_t2"
set.seed(1)
nsim <- nrow(chemo_cea$e)
rr3_sim <- rgamma(nsim, 100, 100)
multcomp_cea <- chemo_cea
multcomp_cea$c <- as.data.frame(multcomp_cea$c)
multcomp_cea$e <- as.data.frame(multcomp_cea$e)
multcomp_cea$c$trt3 <- multcomp_... |
0c30482b0d45f47d8f258fd01f30bec256094b8e | d940ef653cc4bba510c541344422bd56e7561845 | /R/mantel_pertables.R | e66d71b7d6bd7ea65bb1f2dcf0d586725f9c040e | [] | no_license | cran/betaper | 522bef31bc04e7c825fed92280e01c1f8f39a166 | 9a12466326caf27f7e54af35ac20ba8498255c3f | refs/heads/master | 2021-06-24T14:38:45.339965 | 2020-11-24T16:00:11 | 2020-11-24T16:00:11 | 17,694,699 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,675 | r | mantel_pertables.R | `mantel_pertables` <-
function (pertab, env, dist.method = "bray", binary = FALSE,
cor.method = "pearson", permutations = 100)
{
#require(vegan)
mantel.test <- function(z, env) {
mantel.st <- mantel(vegdist(z, method = dist.method,
binary = binary), dist(env), method = cor.method,
... |
4dc6601b9c6b0d48354c35d475ea9e80bd26c6c9 | 6dde5e79e31f29db901c81e4286fea4fa6adbc48 | /R/argcheck.R | 02a7580189333ec0b17072110c4c1314b4df2b92 | [] | no_license | cran/fda | 21b10e67f4edd97731a37848d103ccc0ef015f5a | 68dfa29e2575fb45f84eb34497bb0e2bb795540f | refs/heads/master | 2023-06-08T07:08:07.321404 | 2023-05-23T22:32:07 | 2023-05-23T22:32:07 | 17,696,014 | 23 | 19 | null | 2022-03-13T17:58:28 | 2014-03-13T04:40:29 | R | UTF-8 | R | false | false | 262 | r | argcheck.R | argcheck = function(argvals) {
# check ARGVALS
if (!is.numeric(argvals)) stop("ARGVALS is not numeric.")
argvals <- as.vector(argvals)
if (length(argvals) < 2) stop("ARGVALS does not contain at least two values.")
return(argvals)
}
|
f1e91157ab18326d8d64d112ab91b65ccfcfdb40 | b12113098b08f72cab9c8fac505921fa6f3b5bb1 | /R/read_control_files.R | 68e142aeca1da8dce5f7fd3959a63d8716a1d1ee | [] | no_license | dquang/sobekioNHWSP | ff6d7406b12c31673ae2dd33b680bf906c731363 | f9fa651e820c61109fccb72bb1172387bd5e3bc4 | refs/heads/master | 2023-01-12T11:03:48.448961 | 2020-07-01T10:13:42 | 2020-07-01T10:13:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,629 | r | read_control_files.R | #----reading Trigger file, generating trig_def----
# trigger_tbl should be one table with V1 is the ogriginal file
# orig_line_nr is original line number, this serves any changing later
# this function get definition table of triggers (trigger.def)
.get_trigger_def <- function(trigger.def.f = NULL){
trig_def <-... |
d7558ccaadb8a8c73a4e3dbcdd8d7a622189f673 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/lmeNB/examples/rNBME_R.Rd.R | 502092bf29fa6839c4ede98b8a4ac4cf030a1286 | [] | 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 | 336 | r | rNBME_R.Rd.R | library(lmeNB)
### Name: rNBME.R
### Title: Simulate a dataset from the negative binomial mixed-effect
### independent/AR(1) model
### Aliases: rNBME.R
### Keywords: ~kwd1 ~kwd2
### ** Examples
## Not run:
##D ## See the examples in help files of fitParaIND, fitParaAR1, fitSemiIND, fitSemiAR1 and lmeNB
##D
## ... |
6fa69e694eff2247a9ffe4afaef6a36ac82709a6 | 809d5d299026e52cebcc301860717194b191ab1f | /R/read_image.R | a003f7375f99ae80abb8991860eddd7703d0f5b7 | [] | no_license | drighelli/spatialLIBD | 5145b6ad07a01319b798c2de6857b27aea414b46 | 8900f1f41e28ef6bdc604cedc15c184cff08f80a | refs/heads/master | 2023-01-02T09:48:28.224346 | 2020-10-26T22:33:31 | 2020-10-26T22:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,249 | r | read_image.R | #' Read image
#'
#' Helper function for `geom_plot()` that was needed in order to complete
#' `sce_to_ve()`. It generates the `grid::rasterGrob()` data needed by
#' `geom_plot()` that was previously included in the output from
#' `fetch_data("sce")`.
#'
#' @param ve A
#' [VisiumExperiment-class][SpatialExperiment::Visi... |
e0c95803b0f8d1a5fb1d294bcae4129a00c2bbc8 | dc83f2c0b574499c3bc7116d90d5dcc5694d0665 | /ALY6020_Arvind_Pawar_HW03.R | 52bf0c318a43ff67f80a364ac0eb31d370769b2e | [] | no_license | ArvindPawar08/Machine-Learning-Projects | 7d8933424eaddaea0d44f115ad9640e50a7e6b03 | 48686f9d0a95b2da7672a44a64cf68ba5ae54fad | refs/heads/master | 2022-01-17T20:42:23.492846 | 2019-07-17T13:52:38 | 2019-07-17T13:52:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,324 | r | ALY6020_Arvind_Pawar_HW03.R | library(caret) # an aggregator package for performing many machine learning models
library(rpart)
#sequence generation
x <- seq(-10, 10, 0.01)
y <- sin(x) + 5*cos(2*x) - 3*sin(3*x) + (1-exp(-x/3) + 25)
df <- as.data.frame(x)
df[,2] <- as.data.frame(y)
head(df)
#let us check the generated values
df
... |
a5cc301c9f7fdeb91e653ca299aa1e055387c43a | 94e33777e055bf71f867bd158d25f76d75e01bcc | /R/read_DetectorPositionData.R | a0a2d4d170530dc4698908298f3413aeaa0e3f11 | [] | no_license | norgardp/psd4 | 305bd8094815dca6cf55f276e5b6d37f29ecb82c | 5b8a291c6b4e072d463876b4e88d771256e98783 | refs/heads/master | 2022-09-24T15:13:36.762092 | 2020-06-03T20:25:59 | 2020-06-03T20:25:59 | 269,189,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 199 | r | read_DetectorPositionData.R | read_DetectorPositionData = function(dvalue)
{
local_data = read.table(dvalue, header=FALSE, skip=9);
retval = list();
retval[['data']]= cbind(local_data[,1], local_data[,5]);
return(retval);
} |
07ec57ca604cad1ea5a770d5fdb90920cd86f374 | af60ff0521de2e108fb12d7a236b22c3d9d500bb | /kormaps.R | a620ee8156c6652ffa7d1725013bc0e9802588aa | [
"MIT"
] | permissive | gusdyd98/parm_crawl | 3c856e90cd85b45ef2e38f1ac36fbd96ea61351d | a76a8e14a35353bb780acd193adb1688e21c6a02 | refs/heads/master | 2020-09-04T22:26:32.736262 | 2019-11-06T14:01:09 | 2019-11-06T14:01:09 | 219,908,851 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 276 | r | kormaps.R | #install.packages("devtools")
#devtools::install_github("cardiomoon/kormaps2014")
#devtools::install_github("cardiomoon/moonBook2")
library(kormaps2014)
library(moonBook2)
tt<-kormap1
head(tt)
gg<-kormap2
head(gg)
dd<-kormap3
head(dd)
str(dd)
write.csv(dd,"kormap3.csv")
|
c188419f7c733b8aabc8bd03cfd8da8f78f9656e | 7e817804f78f35c6fb72a43f22a012b84b6077a5 | /data/Wk1_Quiz1_Codes.R | 72b9eaf28d7a9fe26c1058a1dfd70f7ac7558a5f | [] | no_license | sebollin/GettingAndCleaningData2015 | 27c09144a596bb6c2e9786fd8c0feefc7a029763 | 2c66ac3015d642ac8b4fac898fb45d5e1025e47f | refs/heads/master | 2021-05-14T13:47:37.382888 | 2015-01-15T18:21:52 | 2015-01-15T18:21:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,003 | r | Wk1_Quiz1_Codes.R |
WK1DT=read.table("getdata-data-ss06hid.csv", sep=",", header=T)
VALVECTOR=WK1DT$VAL
names(VALVECTOR)
head(VALVECTOR)
table(VALVECTOR)
library(xlsx)
DT=read.xlsx("getdata-data-DATA.gov_NGAP.xlsx", sheetIndex=1, header=T)
head(DT)
colIndex=7:15
rowIndex=18:23
dat=read.xlsx("getdata-data-DATA.gov_NGAP.xlsx", sheetInd... |
09a5406c323e394ea77e888d7a83ac23a0852905 | a399eaebe915b3c0b024bdaa3beb7404c50d39ff | /plot5.R | 058533d01fdaa0c30ff16a216f55e467bfd32c32 | [] | no_license | VoytechM/ExData_Plotting1 | 1f302cd34de996329d8c2bc1290713b9f3d9a68d | 05882d4fb38ee7ee7a267418e1676e6c63eaa190 | refs/heads/master | 2021-05-29T00:59:47.249707 | 2014-07-22T21:45:40 | 2014-07-22T21:45:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 702 | r | plot5.R | plot5 <- function() {
if(!file.exists("summarySCC_PM25.rds")) {
url <- 'https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip'
filename <- 'exdata%2Fdata%2FNEI_data.zip'
download.file(url, filename, mode ='wb')
# extract files
unzip(filename)
}
NEI <- readRDS("summarySCC_PM25.... |
9d2009a6abbb9fb1a048a42d06d9438b4bd88c0e | 158461b7ef6b7bf09132aa8e438a314a976d00af | /man/plot.CAvariants.Rd | f8a0a969cf59916453b20a0401a537ea126818a4 | [] | no_license | jennycombariza/CAvariants | f14cb7fb9004a31704fd726ce2a453884b5362a7 | b9127086aba03b33ffda39cfb99217ab9f5343ae | refs/heads/master | 2020-03-27T20:53:25.817067 | 2017-02-27T08:58:06 | 2017-02-27T08:58:06 | 147,100,440 | 0 | 1 | null | 2018-09-02T16:01:10 | 2018-09-02T16:01:10 | null | UTF-8 | R | false | false | 6,972 | rd | plot.CAvariants.Rd | \name{plot.CAvariants}
\alias{plot.CAvariants}
\title{
Main plot function
}
\description{
This function allows the analyst to produce the suitable graphical displays with respect to the six variants of correspondence analysis.
In particular when \code{plottype = "classic"}, it produces classical graphical disp... |
24ebb0f73e5405037f1ca0e61d90e101f5c5f028 | ed150ec4c87748ef3bbbf995e325cfdb900ec2e6 | /server.R | d30bb2897b280a55f09f686cdad1da338f283660 | [] | no_license | jaiganeshp/GARPFRMFixedIncome | 07684baafde612b8c56b16e01a52b61e5a219289 | a8e7e6c5721edd3e6fef815f31ac4d58a7353184 | refs/heads/master | 2021-01-01T19:16:32.706915 | 2014-11-09T01:59:01 | 2014-11-09T01:59:01 | 23,296,178 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 14,692 | r | server.R | # This is the server logic for a Shiny web application.
#server.R for fixedIncome part of GARPFRM package
#Loading the required library files
library(xlsx)
library(shiny)
library(xts)
source("discountFactorArbitrage.R")
source("riskMetricsAndHedges.R")
#Modified the function bondFullPrice already present in bondFull... |
064a0230c4ae2d40e3133ad114f45d4c1937c1e4 | 7cfc0077f680bfaf3f059dea77b8318c84404d22 | /R/helpFunctions.R | 60fee48d5e6a7b3b5ffaf4db105e8d3151842202 | [] | no_license | fischuu/hoardeR | 0bd32b223aa9187e0eacae67eb894f51cf15865b | 5f2f57edb871f4f69de0ae780a274079b23fe22d | refs/heads/master | 2023-04-28T17:55:40.880308 | 2023-04-14T05:55:47 | 2023-04-14T05:55:47 | 23,508,670 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 871 | r | helpFunctions.R | timeToSec <- function(x){
temp <- strsplit(x,":")
hours <- as.numeric(temp[[1]][1])
minutes <- as.numeric(temp[[1]][2])
seconds <- as.numeric(temp[[1]][3])
totalSec <- seconds + minutes * 60 + hours * 3600
totalSec
}
secToTime <- function(x){
hours <- x%/%3600
x <- x-hours*3600
minutes <- x%/%60
... |
d8cfe591d48601923a271abe78da4078befadc9b | cfb14029f442727b0e94e773a4262dfd1966da61 | /v7_mers_model_stoch_exp.R | 5908f46bc08066ea5af2ea00914739fa35c079b6 | [] | no_license | karissawhiting/mers_model | 4465c6606d92d2af4280d01673fe54051097a993 | e69b980bad4b036d7517499db2992a64b6c4b18c | refs/heads/master | 2021-05-03T12:08:32.601631 | 2018-06-20T18:05:53 | 2018-06-20T18:05:53 | 120,495,377 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,259 | r | v7_mers_model_stoch_exp.R | library(tidyverse)
library('fitR')
library(reshape2)
library('coda')
library(lattice)
library(MCMCvis)
library(wesanderson)
library(deSolve)
library(adaptivetau)
#Data Clean -----------------------------
load("./data-raw/mers_times.RData")
mers_times2<- melt(mers_times[,2:4])
epi <- dcast(mers_times2, value ~ vari... |
c45560e4eca04eb8f83ac95c88e33e8269cbd874 | 519e300a10436ea199ca199dfb91c844e2432ede | /man/genomatrix.Rd | 2208e4c2363464d48c26a6be2f321e6f98afa435 | [] | no_license | pappewaio/AllelicImbalance | 6c558fce11f0cb041d8f0402260fb21b51e7cab4 | bbf1df1c789b46894b92181c434e8320bd10e2b1 | refs/heads/master | 2020-04-10T21:12:47.139342 | 2020-04-06T20:24:23 | 2020-04-06T20:24:23 | 16,422,421 | 3 | 2 | null | 2015-03-10T21:58:16 | 2014-01-31T22:18:27 | R | UTF-8 | R | false | true | 393 | rd | genomatrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllelicImbalance-package.R
\docType{data}
\name{genomatrix}
\alias{genomatrix}
\title{genomatrix object}
\description{
genomatrix is an example of a matrix with genotypes
}
\examples{
##load eample data (Not Run)
#data(genomatrix)
}
\auth... |
d1e804919bf9293b905ed4e5b800db73b426720f | 2f8b37ecd5dfefd44304002bde4c9aa996a35442 | /magisterskie/5_rok/2_semestr/warsztaty_jaroszewicz/weterani/kody/ostatecznie.R | 5358adb84cf95651a4b8e1bb388e9bc19a6d7771 | [] | no_license | sommermarta/studia | 7def3caec6badab276a400022eb332e1d81d195e | 6bf26b27d4130a672a9413a6aab0f1b3631f1ac3 | refs/heads/master | 2020-12-31T03:42:00.440497 | 2016-02-27T13:06:37 | 2016-02-27T13:06:37 | 33,592,757 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,482 | r | ostatecznie.R | # ostatecznie
ostat <- read.csv("dane\\cup98test_noclass.txt")
ostat2 <- cbind(ostat[,1:470], cos1=NA, cos2=NA, ostat[471:ncol(ostat)])
modyfikacja5 <- function(dane){
dane <- dane[,-c(2,4,232,233,234,236,237,241,242,244,245,246,247,248:252)]
dane
}
ostat3 <- modyfikacja(ostat2)
ostat4 <- modyfikacja3(ostat3)
os... |
e9917da43be01afb4bbd7ffa5c1dbdbd826022cd | f8e13f883b565f1e7c0ec35dca6d5fd7e2753b19 | /code/sexual_debut_survival_model.R | 4dcd6f377161a642534a28f6104c3a3f76b0a1db | [] | no_license | kklot/KPsize | 27d6963b21eeb8ff0d5696d5fd4ac30534c9a0e2 | a9759c3b2cc059553fa0f428d6a19064e0b84fea | refs/heads/master | 2023-04-23T06:24:40.124999 | 2021-05-10T10:43:16 | 2021-05-10T10:43:16 | 276,559,871 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,718 | r | sexual_debut_survival_model.R | rm(list=ls())
require(INLA)
require(R.utils)
require(data.table)
# data
# -------------------------------------------------------------------------
mydat <- fread('data/AFS_full.csv.bz2')
nbmat <- readRDS('data/nbmat.rds')
# included missing data countries to predict
mydat[, .N, ISO_A2]
# survey weight scaled by sa... |
011c88aee10ece7c76ddbae45c028040fc57f2f2 | a8c0a97feee7951a66ddc206c9d40a2b05e24e90 | /quiz1.R | 62fac4cb981570f3489abd49a74803d17781cbed | [] | no_license | vedantmane/SwiftKey-PredictiveTextAnalyis | f90d6ed6ae46f0901fd5350dbf82c176b7366753 | f6963eb2adb55daf4dcca7cec17d45622a322001 | refs/heads/master | 2022-11-24T22:16:15.913161 | 2020-07-27T05:11:32 | 2020-07-27T05:11:32 | 279,011,779 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,931 | r | quiz1.R | #Data Science Capstone - Week 1 Quiz
#Q1 File Size of en_US.blogs.txt
print(file.size("./final/en_US/en_US.blogs.txt") / (1024 * 1024))
#Q2 Number of Lines in en_US.twitter.txt
read <- readLines("./final/en_US/en_US.twitter.txt", skipNul = TRUE, encoding = "UTF-8")
length(read)
#Q3 Length of longest line in any of t... |
18573f32438e5042018d67027bf9f01618492ff0 | 5b345b8a1c60a40853dc67543b4b23635ca52af8 | /vignettes/Generowanie_danych.R | 5a76a562d063b347a9221600ceb5b5d96636423a | [] | no_license | tzoltak/MLAKdane | 9dd280e628a1434ef3e0433a7adab8ee6653e258 | 3ff0567b98729648cd54cbb118d55d6bcd5d7bd3 | refs/heads/master | 2021-01-12T08:24:27.554590 | 2016-11-14T15:39:47 | 2016-11-14T15:39:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,667 | r | Generowanie_danych.R | ##########
# Ładujemy pakiety i ustawiamy stałe
# Zmienne "okienkaMin", "okienkaMax" i "okienkaSufiksy" określają możliwe okienka czasowe,
# np. kombinacja wartości -11 z okienkaMin, 0 z okienkaMax i "_m1" z okienkaSufiksy
# oznacza okienko czasowe od 11 miesięcy przed dyplomem do miesiąca dyplomu (włącznie)
# or... |
72086fc145865a6838c02c535338eab606d944b3 | dc197f99632f5d12b1fdb4e9770436eab21f4c00 | /diff.vs.fatalities.R | 5a51a6de979a33cb1c48f1f473eb82206a3325ef | [] | no_license | caluchko/hurricane-baby-names | 443d349407ec5eec51e5559f0bcbce3971c4a8d5 | 574c248505cac4b47461e5585e5639193b93a159 | refs/heads/master | 2020-05-27T17:50:01.546947 | 2014-06-10T14:08:46 | 2014-06-10T14:08:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,052 | r | diff.vs.fatalities.R | # plot hurricane name diff vs fatalities
# excludes hurricane katrina
# to include katrina use 'hurricanes' in place of 'hurricanes2'
# need to source 'babycanes.R' before running this script
library(ggplot2)
hurricanes2 <- filter(hurricanes, Name != "Katrina")
p1 <- ggplot(hurricanes2, aes(x = alldeaths, y = dif))+
... |
904f31b3a20e3ff30eee1ebca2184c6bed669814 | b6dfcb8110de60ba4f48e35c97b0e21ac11f43b9 | /build/0059_build_goyal_data.R | 9e856896cd13408b220868e483e9199eadec4cbe | [] | no_license | wlsnhng/of-dollars-and-data | 715c10af032f668daadbd604106f43d920357637 | 6a8b052dc54348b868429f8767baef5d36073966 | refs/heads/master | 2020-06-13T20:28:56.632529 | 2019-07-01T12:37:58 | 2019-07-01T12:37:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,258 | r | 0059_build_goyal_data.R | cat("\014") # Clear your console
rm(list = ls()) #clear your environment
########################## Load in header file ######################## #
setwd("~/git/of_dollars_and_data")
source(file.path(paste0(getwd(),"/header.R")))
########################## Load in Libraries ########################## #
library(dplyr)... |
0e994d00f837f22f7d3f31a5c6c3069a4b95ff46 | c9654746619bee160987af3fb537c15918c3cf14 | /volume of the sphere.R | 0e5483575feeeb190e7edda510003752bb318dea | [] | no_license | lakhyaraj/DA_LAB_ASSIGNMENT | 197f033584b3cd5b05ce802448233facf7a9b4cb | 7897a9948d4465bc65ed5116f0cd0ee18e281413 | refs/heads/main | 2023-07-02T19:49:35.425187 | 2021-08-02T05:25:59 | 2021-08-02T05:25:59 | 391,824,961 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 138 | r | volume of the sphere.R | Radius<-readline(prompt = "Enter any radius : ");
Radius<-as.double(Radius);
volume<-4/3*3.14*Radius*Radius*Radius
print(paste(volume)) |
964856625bdb837cddca2b023c0a71d0598171cb | 9e3969324cab013b3e6d6f3b91d592de58c30196 | /scripts/bmediatR_moderated_mediation.R | 24d3f2edc37a0ef8aa34bd811301dc6f5cb31464 | [] | no_license | MadeleineGastonguay/svenson_hf_DO | 157b04716ebc94d3a8fb8c7da2cba7dad3d1778b | 6308e51558e3aaf4a651806962e66b921e255bc5 | refs/heads/main | 2023-08-22T17:35:05.552279 | 2021-10-18T18:12:45 | 2021-10-18T18:12:45 | 418,558,443 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 68,260 | r | bmediatR_moderated_mediation.R | #' Definions and encodings for models included in the moderated mediation analysis through Bayesian model selection
#'
#' This function prints out a table describing the models considered in the moderated mediation analysis.
#'
#' @export
#' @examples moderation_model_info()
moderation_model_info <- function(){
write... |
b4dccb2937489e77f467e2852595edf2d4bcd426 | 0dad68bd3a28894180f18ea147026c8438912a73 | /man/dna2codons.Rd | 5d9820496f672661ebdad14e4a6e4e02d6c4ff8a | [] | no_license | sherrillmix/dnar | 1bcc2fac63d8af059215dea6fd3e5cdc7200e81f | dead343faebda27057a1e7a5789e853b5b73316d | refs/heads/master | 2022-08-12T14:04:05.052121 | 2022-07-13T18:59:18 | 2022-07-13T18:59:18 | 54,718,599 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 620 | rd | dna2codons.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dna.R
\name{dna2codons}
\alias{dna2codons}
\title{Convert DNA string into seperate codons}
\usage{
dna2codons(dna, frame = 0)
}
\arguments{
\item{dna}{Vector of DNA strings}
\item{frame}{Starting frame for codons (0=start on first base, 1=on... |
cef325d7df962034e931b53e654aec190c746ddd | db77509d0a6c1763e19dd514db90124d1fe6a71d | /visual.R | 2299d854468b6e25cb21d8971e9e76d8965d3096 | [] | no_license | yangdaqiang/guizhou-real-assets-scraping | b1b341534f01b21bfd632197da18c48b3bd8c356 | ac56c96e70c77c3c355c11b31795b7393d873fce | refs/heads/main | 2023-01-01T04:54:49.957374 | 2020-10-14T10:02:37 | 2020-10-14T10:02:37 | 302,786,231 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 601 | r | visual.R |
text <- read.csv("D:\\CloudStation-ZS\\R\\guizhou-real-assets-scraping\\anshun_asset2020-10-10.csv",
header = T, encoding = 'UTF-8')
ggplot(text, aes(x = presale, y = average_price, color = developer)) + geom_point()
text_small <- text %>% filter(average_price > 0, presale < 500)
ggplot(text_s... |
15de9db732ddc076d23ee2c421c664698c3829dc | 3e59a908d8bb7b461696f01ad318eee75e316a43 | /Pollutantmean.R | f86c94119cd13bda46592eb8fa7ca941eccd2118 | [] | no_license | anishraj1123/R-Programming | 864aa983bbd0acefe73b30b32bea3de647375bea | 3825ea264ab368b0276cc288662f3e45c2ec03f8 | refs/heads/master | 2020-04-09T09:32:25.966324 | 2018-12-10T18:37:26 | 2018-12-10T18:37:26 | 160,237,327 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 339 | r | Pollutantmean.R | pollutantmean <- function(directory, pollutant, id=1:332){
filelist <- list.files("specdata", pattern=".csv", full.names=TRUE)
means <- numeric()
for (i in id){
data <- read.csv(filelist[i])
means <- c(means, data[[pollutant]])
}
finalmean <- mean(means, na.rm=TRUE... |
1e47d1fb41653f453784556dcfd8ee99f6b8caeb | 72d2e1952b4273bb3d3352c2242fe3cae2efa9d9 | /man/interpolsvd_em.Rd | 6b2ea7d18043ce72fe611966220ad129fb0e6fea | [] | no_license | proto4426/ValUSunSSN | 94a39508848d11d719b45fae9ea2a4d616a19749 | 932bc247467d154aa419f8f709c0dd00fe7fcde6 | refs/heads/master | 2020-12-24T20:09:47.701982 | 2017-10-01T14:32:16 | 2017-10-01T14:32:16 | 86,236,891 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,905 | rd | interpolsvd_em.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/interpolsvd_em.R
\name{interpolsvd_em}
\alias{interpolsvd_em}
\title{interpolated SVD EM algorithm to fill missing values}
\usage{
interpolsvd_em(y, nembed = 1, nsmo = 0, ncomp = 0, threshold1 = 1e-05,
niter = 30, displ = F)
}
\arguments{
\... |
70ed3aa5cbcfe444c1cf323ce1c2c661ee3fe95b | c55296385a0c05dbc27eaf3e2395c95c9a8649f8 | /read HLA.R | 964eb27a0b5a33f4303b2f11e675e50f8c4e1c51 | [] | no_license | Dmdickson/TEST-repo | eacd1ef482b53627b1643ac38dbce7f4dbabe67a | 56245e82a058b7ad88c4b15b97a15b98bb04af10 | refs/heads/master | 2021-01-24T09:57:21.047571 | 2018-02-26T23:05:09 | 2018-02-26T23:05:09 | 123,032,175 | 0 | 0 | null | 2018-02-26T23:05:10 | 2018-02-26T21:21:50 | R | UTF-8 | R | false | false | 5,354 | r | read HLA.R |
# Purpose: to read into R the data files for the IDEA correlates project: HLA data
###############################################
# Original Author :Dorothy Dickson #
# Edited by #
# Last updated: 19 January 2018 #
# ... |
275141da4985995ee453e99c378143d481fe342a | 3563022b6230e672b97e7cfdbfab8a8ec75b76fe | /hart_island_analysis.R | 5761f0250faf71ed850c683d131d390c2f120205 | [] | no_license | NewYorkCityCouncil/hart_island_geocoder | dd0e1a182f0b91c5b9f588c23efd0d08608651a0 | 93883e71381549b7bb174a6306c4789838aa3f6f | refs/heads/master | 2021-06-10T14:08:57.074354 | 2021-05-03T17:43:58 | 2021-05-03T17:43:58 | 182,321,439 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,756 | r | hart_island_analysis.R | library(tidyverse)
library(janitor)
library(ggmap)
library(leaflet)
library(sf)
library(plotly)
#pull in csvs again
df2 <- read_csv('hart_island_burial_records_geocoded.csv')
df2 <- df2[!is.na(df2$lon),] %>%
st_as_sf(coords = c("lon", "lat")) %>% st_set_crs(4326)
#pull in nyc shapefile
nyc_shape <- read_sf('Bo... |
8fe357c2e78f6e8bec5cd3aef3e391a1c43ba1ea | c6a9f08425ce0bb8220559b2633718fc1d515480 | /man/dot-segments2df.Rd | 388c765ce5d1d092b72e7dcceffe31e2c096f82d | [
"MIT"
] | permissive | Pentchaff/auritus | bdd2d55f5c292e27b631e252d094865191551fb5 | b743f27c09f59987cd15b83d619bec5ea462e4c5 | refs/heads/master | 2023-01-28T11:58:17.251265 | 2020-03-09T12:37:02 | 2020-03-09T12:37:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 321 | rd | dot-segments2df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{.segments2df}
\alias{.segments2df}
\title{Convertes segements list into a data.frame}
\usage{
.segments2df(settings)
}
\arguments{
\item{settings}{raw \code{yml} list}
}
\description{
Convertes segements list into a data.frame
}... |
7d64dd68033fbf0ed98c48310340b34542778f6b | a98dda9f3fa5b60200d4b07d985753b737c38ed8 | /plot1.R | f84cb9352afa90f6c7bb8726584a3f0a8556e8de | [] | no_license | mccajr2/ExData_Plotting1 | 1329560cdf923c8a3bc67830f9c7412c4dda9971 | 4ab30fbc3f3534d5b1224d3748c7042c6e558340 | refs/heads/master | 2021-01-12T21:37:31.453155 | 2015-10-07T20:33:22 | 2015-10-07T20:33:22 | 43,839,420 | 0 | 0 | null | 2015-10-07T19:19:53 | 2015-10-07T19:19:52 | null | UTF-8 | R | false | false | 785 | r | plot1.R | # Exploratory Data Analysis (exdata-033) Course Project 1
# Histogram of Global_active_power values
plot1 <- function() {
# Load in data subset
source("subsetdata.R")
dataSubset <- subsetdata()
# Define png device
png(filename = "plot1.png", height=480, width=4... |
73996da160676bd4de090502555f1524e050bb59 | 1a737bd57821c38604c320f9bae5939944e9e312 | /analysis.R | 5aa40ea886aa20e37354a353eca9774a3c9d32ae | [] | no_license | mdingemanse/huh | 98fd7675a12c34b7970f0ab39d7347a9b4fad319 | 5d3d016c3473389082e13cbc2b2b4797d4422978 | refs/heads/master | 2021-01-18T12:56:37.638296 | 2017-08-16T13:49:40 | 2017-08-16T13:49:40 | 100,368,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,187 | r | analysis.R | # Huh project analysis and plots
# Mark Dingemanse 2012-13
# ------------------------------
# Preliminaries -----------------------------------------------------------
# check for /in/ and /out/ directories (create them if needed)
add_working_dir <- function(x) { if(file.exists(x)) { cat(x,"dir:",paste0(getwd(),"/",... |
9b20226c7411f0323a33616a865a42a420ae68b3 | 10867272feb49d6de65b0ff8ee29c07994268e2a | /Q15.R | ecaa37fce4b7864cf0f508b6cd06e527d87f80f1 | [] | no_license | umairhanif00/R-Assignment-2 | 8d47e93176c5187c43857741bb3ed3ec793efd5a | 36d78223433f50c57fb2724270144e4ee307c3d5 | refs/heads/master | 2021-01-23T04:39:44.261903 | 2017-03-27T11:33:47 | 2017-03-27T11:33:47 | 86,233,545 | 0 | 0 | null | 2017-03-26T13:12:26 | 2017-03-26T13:12:26 | null | UTF-8 | R | false | false | 276 | r | Q15.R | #Question 15
dataf$TotalCharges<-as.numeric(as.character(dataf$TotalCharges))
consult_amount <- dataf%>%
select(Procedure,TotalCharges) %>%
group_by(Procedure) %>%
filter(Procedure == 'Consultation') %>%
summarise(sum(TotalCharges,na.rm=TRUE)) %>%
print
|
061a30a30b25fa52073efd8fbacb4fa6c4f24d81 | 1475700f8fe61cb8b8ebaad5788e67ad75a15ce5 | /man/e_mapa_3D.Rd | 020a7af4c7e62dd7c79d8143a9266a5778fc28e9 | [] | no_license | PROMiDAT/discoveR | ffc0607935867b124a7c4d724e18513353f3a9e2 | 7689cee7fa2f5425171c8c9e5e714462b17c810f | refs/heads/master | 2023-03-21T01:49:33.226457 | 2023-02-28T20:50:13 | 2023-02-28T20:50:13 | 160,723,382 | 3 | 1 | null | 2021-01-12T19:50:46 | 2018-12-06T19:42:38 | R | UTF-8 | R | false | true | 934 | rd | e_mapa_3D.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mod_cluster_utils.R
\name{e_mapa_3D}
\alias{e_mapa_3D}
\title{PCA plot of individuals colored by clusters}
\usage{
e_mapa_3D(pca.model, clusters, colores = NULL, ejes = c(1, 2, 3), etq = F)
}
\arguments{
\item{pca.model}{an object of class PC... |
30160f4a6259db9c51118d7b0bfa6829c621b046 | 0b4c74473a3e93685f1edd5616fb656755e6ad51 | /R/Analysis/revLetterExtra.R | 35524ceb656a2fa19edfc3b9061dcb5bb5689abc | [] | no_license | s7minhas/Rhodium | f6dd805ce99d7af50dd10c2d7f6a0eeae51f3239 | 0627acabab9e5302e13844de2c117325cdf0f7ea | refs/heads/master | 2020-04-10T03:59:46.069362 | 2016-11-02T20:21:57 | 2016-11-02T20:21:57 | 8,080,455 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,920 | r | revLetterExtra.R | if(Sys.info()["user"]=="janus829" | Sys.info()["user"]=="s7m"){
source('~/Research/Rhodium/R/setup.R')}
if(Sys.info()["user"]=="Ben"){source('/Users/Ben/Github/Rhodium/R/setup.R')}
# Load conflict country year data
setwd(pathData)
# load('fullData.rda')
# modData = fullData # For full panel extensions
load('combined... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.